Подтвердить что ты не робот

Как отключить отступ в конкретном разделе в LaTeX?

Мне нужно отключить отступы только в одном разделе моего документа (подраздел, чтобы быть конкретным). Как я могу это сделать?

Отступ по умолчанию предоставляется пакетом indentfirst.

4b9b3361

Ответ 1

Это зависит от того, насколько повсеместно вы хотите искоренить отступ. Но сначала попробую установить \parindent на 0pt:

Some text with normal indentation...

{\parindent0pt % disables indentation for all the text between { and }

Text with no indentation.

Still no indentation.

}% restore indentation

Indented again.

Ответ 2

\noindent Я думаю, что вы хотите.

Ответ 3

Может быть возможным решение среды, которая устанавливает отступ? Вы определяете его в преамбуле, например:

\newlength\mystoreparindent
\newenvironment{myparindent}[1]{%
\setlength{\mystoreparindent}{\the\parindent}
\setlength{\parindent}{#1}
}{%
\setlength{\parindent}{\mystoreparindent}
}

В вашем документе вы должны написать что-то вроде:

\begin{myparindent}{0pt}
This paragraph is not indented, ehm well, actually it is indented by 0pt
which is the same as not indented.

And this paragraph neither\ldots
\end{myparindent}

Или, если вам нужен большой абзац абзаца

\begin{myparindent}{5cm}
The first line of this paragraph is indented by 5 cm.

And so is the first line of the next paragraph.
\end{myparindent}