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} \usepackage[nottoc]{tocbibind}
% Let's set this as a half-letter sized sheet % Let's set this as a half-letter sized sheet
\usepackage{geometry} \usepackage[
\geometry{
paperheight=8.5in, paperheight=8.5in,
paperwidth=5.5in, paperwidth=5.5in,
% heightrounded,
margin=0.5in margin=0.5in
]{geometry}
\geometry{
% paperheight=8.5in,
% paperwidth=5.5in,
% heightrounded,
% margin=0.5in
} }
% Adjust the top and bottom margins % 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}} \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} \section{Customizing Pages}
\subsection{Omitting Headers and Footers on a Page} \subsection{Omitting Headers and Footers on a Page}