From a7f7714d5db47d7415bf62c69a42ad65903c6487 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Sun, 29 Oct 2023 14:26:51 -0400 Subject: [PATCH] =?UTF-8?q?Converted=20default=20paper=20sizes=20table=20t?= =?UTF-8?q?o=20=C2=ABtabularray=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lbol.tex | 38 ++++++++++++++------------------------ 1 file changed, 14 insertions(+), 24 deletions(-) diff --git a/lbol.tex b/lbol.tex index 7fe3cd6..1b71704 100644 --- a/lbol.tex +++ b/lbol.tex @@ -566,38 +566,28 @@ The usual way to define a page size is to pass it as an option to the document c \documentclass[letterpaper]{article} \end{verbatim} -\noindent{}The widths and heights of the predefined page sizes in \LaTeX{} are: +\noindent{}The widths and heights of the predefined page sizes in \LaTeX{} are:\footnote{I have included the ratio, because you can see how metric sizes are related. The United States really needs to get its shit together and adopt the metric system. There is not a printer or a filing cabinet available that cannot handle metric sized paper.} -% 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{1.5cm} m{1.5cm} m{1.5cm} } -\hline - \textbf{Option} & \textbf{Width} & \textbf{Height} & \textbf{Ratio\footnotemark} \\ -\hline +\begin{longtblr} +[ + caption = {Default Paper Sizes in \LaTeX{} }, + label = {tbl:defpapersizes} +]{ + width = {114.3mm}, + colspec = { X[1.4,l] X[1,l] X[1,l] X[0.8,l] }, + hlines = {0.75pt,solid}, + vline{1,5} = {0.75pt,solid}, + rows = {5mm, m, rowsep=1.5pt} +} + \textbf{Option} & \textbf{Width} & \textbf{Height} & \textbf{Ratio} \\ a4paper & 210 mm & 297 mm & 1.4\\ -\hline a5paper & 148 mm & 210 mm & 1.4\\ -\hline b5paper & 176 mm & 250 mm & 1.4 \\ -\hline letterpaper & 8.5 in & 11 in & 1.30\\ -\hline legalpaper & 8.5 in & 14 in & 1.64 \\ -\hline executivepaper & 7.25 in & 10.5 in & 1.45 \\ -\hline -\end{tabular} -\end{table} +\end{longtblr} -\footnotetext{I have included the ratio, because you can see how metric sizes are related. The United States really needs to get its shit together and adopt the metric system. There is not a printer or a filing cabinet available that cannot handle metric sized paper.} - -\bigskip \section{Customizing Page Sizes Using \texttt{geometry}}