
Eu tenho o seguinte código de látex:
% Preamble
% ---
\documentclass{article}
% Packages
% ---
\usepackage{amsmath}
\usepackage{graphicx}
\begin{document}
\title{Electronics Equations}
\author{Tyler Hilbert}
\date{}
\maketitle
\subsection*{Electronic Formula Wheel}
\includegraphics[width=50mm]{FormulaWheel.png}
\subsection*{Equations from "Fundamentals of Electric Circuits"}
% TODO - double check for all equations in chapter 1&2
Current: $I = dQ/dt$ \smallbreak
Note: This can also be written like this: $I = \Delta Q / \Delta t$
%TODO - add Kirchoffs law
\bigskip
Charge: $Q = \int_{to}^{t} i dt$
\bigskip
Voltage: $V = dw/dQ$
\bigskip
Power: $p = dw/dt$
%TODO - check if I should add "Note that: $\sum{p} = 0$"
\bigskip
\end{document}
Quando eu construo meu arquivo ele fica assim:
Estou me perguntando o que causa o recuo após a linha Atual (a linha começa com "Nota: Isso pode ....." e assim por diante. Como posso corrigir isso para que os recuos sejam consistentes?
Responder1
Você não quer nenhum dos dois \smallbreak
(isso diz ao LaTeX que uma quebra de página é boa no local) nem \bigskip
:
% Preamble
% ---
\documentclass{article}
% Packages
% ---
\usepackage{amsmath}
\usepackage{graphicx}
\begin{document}
\title{Electronics Equations}
\author{Tyler Hilbert}
\date{}
\maketitle
\subsection*{Electronic Formula Wheel}
\includegraphics[width=50mm]{example-image}
\subsection*{Equations from ``Fundamentals of Electric Circuits''}
% TODO - double check for all equations in chapter 1&2
Current: $I = dQ/dt$\\*[\smallskipamount]
Note: This can also be written like this: $I = \Delta Q / \Delta t$\\*[\bigskipamount]
%TODO - add Kirchoffs law
Charge: $Q = \int_{to}^{t} i\,dt$\\*[\bigskipamount]
Voltage: $V = dw/dQ$\\*[\bigskipamount]
Power: $p = dw/dt$
%TODO - check if I should add "Note that: $\sum{p} = 0$"
\bigskip
\end{document}
Observe que aspas de abertura devem ser digitadas ``
e aspas de fechamento ''
. Também adicionei o habitual \,
na frente do diferencial.
Responder2
Por padrão, o látex recua novos parágrafos. Adicione \parindent0pt
ao seu preâmbulo para remover isso.