Added section about «geometry» package

This commit is contained in:
Kenneth John Odle 2023-10-26 09:30:25 -04:00
parent 51e36f51ee
commit 3de137d287

View File

@ -19,12 +19,16 @@
\usepackage[nottoc]{tocbibind}
% Let's set this as a half-letter sized sheet
\usepackage{geometry}
\geometry{
\usepackage[
paperheight=8.5in,
paperwidth=5.5in,
% heightrounded,
margin=0.5in
]{geometry}
\geometry{
% paperheight=8.5in,
% paperwidth=5.5in,
% heightrounded,
% margin=0.5in
}
% Adjust the top and bottom margins
@ -512,6 +516,29 @@ The usual way to define a page size is to pass it as an option to the document c
\section{Customizing Page Sizes Using \texttt{geometry}}
The \texttt{geometry} package provides highly granular detail over your page layout. Its use is not highly intuitive, however. I use it on almost every single document I create, but I am still unsure that I am using it properly. Experimentation is always a good thing, and I suggest changing one parameter at a time when experimenting.
You can add options in the usual way:
\begin{verbatim}
\usepackage[
paperheight=8.5in,
paperwidth=5.5in,
margin=0.5in
]{geometry}
\end{verbatim}
\noindent{}but you can also add options using the \verb|\geometry| option:
\begin{verbatim}
\usepackage{geometry}
\geometry{
paperheight=8.5in,
paperwidth=5.5in,
margin=0.5in
}
\end{verbatim}
\section{Customizing Pages}
\subsection{Omitting Headers and Footers on a Page}