라텍스: 들여쓰기의 원인

라텍스: 들여쓰기의 원인

다음과 같은 라텍스 코드가 있습니다.

% 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}

파일을 빌드하면 다음과 같습니다.여기에 이미지 설명을 입력하세요

Current 줄("Note: This can....."으로 시작하는 줄 등) 뒤에 들여쓰기가 발생하는 원인이 무엇인지 궁금합니다. 들여쓰기가 일관되도록 이 문제를 해결하려면 어떻게 해야 합니까?

답변1

\smallbreak당신은 (LaTeX에 페이지 나누기가 그 자리에서 좋다는 것을 알려주는 것) 다음도 원하지 않습니다 \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}

여기에 이미지 설명을 입력하세요

여는 따옴표는 입력 ``하고 닫는 따옴표는 입력해야 합니다 ''. \,차동 장치 앞에 관례도 추가했습니다 .

답변2

기본적으로 라텍스는 새 단락을 들여씁니다. \parindent0pt이를 제거하려면 서문에 추가하세요 .

관련 정보