From 3614720477723ca28900439c33b8f73dbc09ff8e Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Mon, 10 Jul 2023 09:34:45 -0400 Subject: [PATCH] Added section on omitting headers and footers --- lbol.tex | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/lbol.tex b/lbol.tex index 5ca9b47..c060e5a 100644 --- a/lbol.tex +++ b/lbol.tex @@ -361,6 +361,14 @@ Your widely spaced text goes here. \section{Customizing Pages} +\subsection{Omitting headers and footers on a Page} + +To \textit{omit} the headers and footers on a given page, include the \texttt{titlesec} and package in the preamble, and add this somewhere \textit{after} the start of the page. + +\begin{verbatim} +\thispagestyle{empty} +\end{verbatim} + \subsection{Removing Page Numbers from ``Part'' Pages} Chapters that are grouped into parts will have a ``Part'' page at the front of them. Surprisingly, these pages still have page numbers. You can remove them by adding the \texttt{nonumonpart} package. @@ -700,22 +708,13 @@ Mischief managed! \section{What I learned About \LaTeX{} While Creating Something Else} -For what it's worth, if you want to \textit{omit} the headers and footers on a given page, just add - -\begin{verbatim} -\thispagestyle{empty} -\end{verbatim} - -somewhere \textit{after} the start of the page. \subsection{A Few Little Things} \begin{itemize}[noitemsep] -\item Want \textsc{Small Caps}? Wrap them in \verb|textsc{ }|. \item Need to control the gap between the header and the rest of the text? Pass the \verb|headsep| argument to the \texttt{geometry} package and set it equal to the amount of space you need (i.e., \texttt{headsep=12pt}). \item If you want to add a degree symbol to inline text, the simplest way I've found (so far) is to just pop in and out of math mode with this: \verb|$^{\circ}$| which gives you this: $^{\circ}$ \end{itemize} -\paragraph{I almost forgot to add:} If you are interested in seeing this project, you can view it at and download it from \href{https://git.kjodle.net/kjodle/Flatland}{\texttt{https://git.kjodle.net/kjodle/Flatland}}. \chapter{Troubleshooting}