From 4ff357a805dc9f1572c8ba72e222b502582d8445 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Wed, 1 Nov 2023 19:20:09 -0400 Subject: [PATCH] Added section on indents --- lbol.tex | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/lbol.tex b/lbol.tex index 2b407e2..f307f6e 100644 --- a/lbol.tex +++ b/lbol.tex @@ -694,6 +694,32 @@ Your widely spaced text goes here. \section{Indents} +\LaTeX{} will automatically indent every paragraph that doesn't come immediately after a section heading. If you do not want to indent a paragraph, use the \texttt{noindent} command: + +\begin{Verbatim}[] +\noindent{}This paragraph will not be indented. +\end{Verbatim} + +\noindent{}This paragraph will not be indented. + +The amount that each paragraph will be indented is controlled by a variable called \texttt{parindent}, who default value depends on the document calss. You can print that value by adding this to your document: + +\noindent{}\begin{Verbatim}[] +\the\parindent +\end{Verbatim} + +For this document, using the \texttt{extreport} class, the value is \the\parindent. If you want to change that amount, add this to your preamble: + +\begin{Verbatim}[] +\setlength{\parindent}{4em} +\end{Verbatim} + +To insert a space that is the same width as your paragraph indentation, you can use: + +\begin{Verbatim}[] +\hspace{\parindent} +\end{Verbatim} + \chapter{Formatting Pages}