Converted document classes table to «tabularray»

This commit is contained in:
Kenneth John Odle 2023-10-29 14:13:39 -04:00
parent 5791b466ed
commit 64319e8230

View File

@ -168,6 +168,7 @@ I may do a second volume of this, or I may simply do a second edition. If I do,
\tableofcontents \tableofcontents
\listoftables
\chapter{Beginnings} \chapter{Beginnings}
@ -285,27 +286,27 @@ The different types of document classes help you build a specific type of docume
\setlength{\tabcolsep}{14pt} \setlength{\tabcolsep}{14pt}
\renewcommand{\arraystretch}{1.4} \renewcommand{\arraystretch}{1.4}
\noindent{}\begin{tabular}{| m{12mm} | m{80mm} |} \begin{longtblr}
\hline [
caption = {Document Classes in \LaTeX{} },
label = {tbl:docclasses}
]{
% width = {10cm},
colspec = { X[1,l] X[4,l] },
hlines = {0.75pt,solid},
vlines = {0.75pt,solid},
rows = {5mm, m, rowsep=1.5pt}
}
\textbf{Class} & \textbf{Usage} \\ \textbf{Class} & \textbf{Usage} \\
\hline
\textbf{article} & Articles for scientific or mathematical journals, short reports, and any kind of short document which does not require separate chapters or parts. \\ \textbf{article} & Articles for scientific or mathematical journals, short reports, and any kind of short document which does not require separate chapters or parts. \\
\hline
\textbf{report} & A long article form that contains chapters. It is often used for small books and theses. \\ \textbf{report} & A long article form that contains chapters. It is often used for small books and theses. \\
\hline
\textbf{book} & Used to typeset actual books. It can contain chapters and parts, left and right pages, frontmatter, etc. \\ \textbf{book} & Used to typeset actual books. It can contain chapters and parts, left and right pages, frontmatter, etc. \\
\hline
\textbf{beamer} & Slide decks (It has supplanted the \texttt{slides} class.) \\ \textbf{beamer} & Slide decks (It has supplanted the \texttt{slides} class.) \\
\hline
\textbf{letter} & For writing letters \\ \textbf{letter} & For writing letters \\
\hline
\textbf{exam} & For producing exams and quizzes \\ \textbf{exam} & For producing exams and quizzes \\
\hline
\textbf{proc} & For writing meeting proceedings \\ \textbf{proc} & For writing meeting proceedings \\
\hline \end{longtblr}
\end{tabular}
\bigskip
\section{Paragraphs and White Space} \section{Paragraphs and White Space}