Converted default paper sizes table to «tabularray»

This commit is contained in:
Kenneth John Odle 2023-10-29 14:26:51 -04:00
parent 36005d6895
commit a7f7714d5d

View File

@ -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} \documentclass[letterpaper]{article}
\end{verbatim} \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 \begin{longtblr}
\setlength{\tabcolsep}{18pt} [
\renewcommand{\arraystretch}{1.4} caption = {Default Paper Sizes in \LaTeX{} },
label = {tbl:defpapersizes}
\begin{table}[H] ]{
\centering width = {114.3mm},
\caption{Default Paper Sizes\label{defpapsiz}} colspec = { X[1.4,l] X[1,l] X[1,l] X[0.8,l] },
\medskip hlines = {0.75pt,solid},
\noindent{}\begin{tabular}{ m{2cm} m{1.5cm} m{1.5cm} m{1.5cm} } vline{1,5} = {0.75pt,solid},
\hline rows = {5mm, m, rowsep=1.5pt}
\textbf{Option} & \textbf{Width} & \textbf{Height} & \textbf{Ratio\footnotemark} \\ }
\hline \textbf{Option} & \textbf{Width} & \textbf{Height} & \textbf{Ratio} \\
a4paper & 210 mm & 297 mm & 1.4\\ a4paper & 210 mm & 297 mm & 1.4\\
\hline
a5paper & 148 mm & 210 mm & 1.4\\ a5paper & 148 mm & 210 mm & 1.4\\
\hline
b5paper & 176 mm & 250 mm & 1.4 \\ b5paper & 176 mm & 250 mm & 1.4 \\
\hline
letterpaper & 8.5 in & 11 in & 1.30\\ letterpaper & 8.5 in & 11 in & 1.30\\
\hline
legalpaper & 8.5 in & 14 in & 1.64 \\ legalpaper & 8.5 in & 14 in & 1.64 \\
\hline
executivepaper & 7.25 in & 10.5 in & 1.45 \\ executivepaper & 7.25 in & 10.5 in & 1.45 \\
\hline \end{longtblr}
\end{tabular}
\end{table}
\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}} \section{Customizing Page Sizes Using \texttt{geometry}}