Added section on indents

This commit is contained in:
Kenneth John Odle 2023-11-01 19:20:09 -04:00
parent ba7be9d24b
commit 4ff357a805

View File

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