Added section on omitting headers and footers

This commit is contained in:
Kenneth John Odle 2023-07-10 09:34:45 -04:00
parent b9f2916e4c
commit 3614720477

View File

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