Added section on page sizes

This commit is contained in:
Kenneth John Odle 2023-07-11 15:46:56 -04:00
parent b77a14ae07
commit c119aa719a

View File

@ -334,13 +334,15 @@ Many packages introduce additional environments. For other useful environments t
\LaTeX{} has various ways of formatting type:
\bigskip
% Provide some additional spacing in this table; may move this to preamble later
\setlength{\tabcolsep}{14pt}
\renewcommand{\arraystretch}{1.8}
\renewcommand{\arraystretch}{1.4}
\noindent{}\begin{tabular}{| m{2cm} | m{4cm} | m{2cm} |}
\begin{table}[H]
\centering
\caption{Font Variations\label{fontvar}}
\medskip
\noindent{}\begin{tabular}{| m{2cm} m{4cm} m{2cm} |}
\hline
\textbf{Effect} & \textbf{Code} & \textbf{Example} \\
\hline
@ -359,6 +361,7 @@ Many packages introduce additional environments. For other useful environments t
Sans Serif & \verb+textsf{Sans Serif}+ & \textsf{Sans Serif} \\
\hline
\end{tabular}
\end{table}
\bigskip
@ -446,8 +449,52 @@ Your widely spaced text goes here.
\end{verbatim}
\chapter{Tables}
\chapter{Formatting Pages}
\section{Page Size}
The usual way to define a page size is to pass it as an option to the document class:
\begin{verbatim}
\documentclass[letterpaper]{article}
\end{verbatim}
\noindent{}The widths and heights of the predefined page sizes in \LaTeX{} are:
% Provide some additional spacing in this table; may move this to preamble later
\setlength{\tabcolsep}{18pt}
\renewcommand{\arraystretch}{1.4}
\begin{table}[H]
\centering
\caption{Default Paper Sizes\label{defpapsiz}}
\medskip
\noindent{}\begin{tabular}{ m{2cm} m{2cm} m{2cm} }
\hline
\textbf{Option} & \textbf{width} & \textbf{height} \\
\hline
a4paper & 210 mm & 297 mm \\
\hline
a5paper & 148 mm & 210 mm \\
\hline
b5paper & 176 mm & 250 mm \\
\hline
letterpaper & 8.5 in & 11 in \\
\hline
legalpaper & 8.5 in & 14 in \\
\hline
executivepaper & 7.25 in & 10.5 in \\
\hline
\end{tabular}
\end{table}
\bigskip
\section{Customizing Page Sizes Using \texttt{geometry}}
\section{Customizing Pages}
\subsection{Omitting Headers and Footers on a Page}