From ce241c3c25f44f7e049aa244ff48e364eb13394a Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Sun, 29 Oct 2023 12:34:53 -0400 Subject: [PATCH] =?UTF-8?q?Converted=20=C2=ABexplicit=20size=20commands?= =?UTF-8?q?=C2=BB=20table=20to=20=C2=ABtabularry=C2=BB=20=C2=ABlongtblr?= =?UTF-8?q?=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lbol.tex | 71 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 31 deletions(-) diff --git a/lbol.tex b/lbol.tex index 6f57f93..fceebac 100644 --- a/lbol.tex +++ b/lbol.tex @@ -9,6 +9,7 @@ \usepackage{float} \usepackage{longtable} \usepackage{booktabs} +\usepackage{tabularray} \raggedbottom \usepackage{nicefrac} @@ -874,38 +875,46 @@ If you are writing a multi-line equations in an \texttt{align}, \texttt{align*}, You can also control the size of brackets and parentheses explicitly: -% Provide some additional spacing in this table; may move this to preamble later -\setlength{\tabcolsep}{10pt} -\renewcommand{\arraystretch}{1} +\medskip -\begin{longtable}{| p{7cm} | p{2cm} |} -\caption{Explicit Size Commands\label{brackparexp}}\\ -\hline - \textbf{Markup} & \textbf{Renders as} \\ -\hline - \rule{0pt}{22pt} \verb+\bigl( \Bigl( \biggl( \Biggl(+ & \rule{0pt}{22pt}$\bigl( ~\Bigl( ~\biggl( ~\Biggl($ \\[15pt] -\hline - \rule{0pt}{22pt} \verb+\bigr] \Bigr] \biggr] \Biggr]+ & \rule{0pt}{22pt} $\bigr] ~\Bigr] ~\biggr] ~\Biggr]$ \\[15pt] -\hline - \rule{0pt}{22pt} \verb+\bigl\{ \Bigl\{ \biggl\{ \Biggl\{+ & \rule{0pt}{22pt} $\bigl\{ ~\Bigl\{ ~\biggl\{ ~\Biggl\{$ \\[15pt] -\hline - \verb+\bigl \langle \Bigl \langle+ \verb+\biggl \langle \Biggl \langle+ & \rule{0pt}{22pt} $\bigl \langle ~\Bigl \langle ~\biggl \langle ~\Biggl \langle$ \\[15pt] -\hline - \verb+\bigr \rangle \Bigr \rangle+ \verb+\biggr \rangle \Biggr \rangle+ & \rule{0pt}{22pt} $\bigr \rangle ~\Bigr \rangle ~\biggr \rangle ~\Biggr \rangle$ \\[15pt] -\hline - \rule{0pt}{22pt} \verb+\big| \Big| \bigg| \Bigg|+ & \rule{0pt}{22pt} $\big| ~\Big| ~\bigg| ~\Bigg|$ \\[15pt] -\hline - \rule{0pt}{22pt} \verb+\big\| \Big\| \bigg\| \Bigg\|+ & \rule{0pt}{22pt} $\big\| ~\Big\| ~\bigg\| ~\Bigg\|$ \\[15pt] -\hline - \verb+\bigl \lceil \Bigl \lceil+ \verb+\biggl \lceil \Biggl \lceil+ & \rule{0pt}{22pt} $\bigl \lceil ~\Bigl \lceil ~\biggl \lceil ~\Biggl \lceil$ \\[15pt] -\hline - \verb+\bigr \rceil \Bigr \rceil+ \verb+\biggr \rceil \Biggr \rceil+ & \rule{0pt}{22pt} $\bigr \rceil ~\Bigr \rceil ~\biggr \rceil ~\Biggr \rceil$ \\[15pt] -\hline - \verb+\bigl \lfloor \Bigl \lfloor+ \verb+\biggl \lfloor \Biggl \lfloor+ & \rule{0pt}{22pt} $\bigl \lfloor ~\Bigl \lfloor ~\biggl \lfloor ~\Biggl \lfloor$ \\[15pt] -\hline - \verb+\bigr \rfloor \Bigr \rfloor+ \verb+\biggr \rfloor \Biggr \rfloor+ & \rule{0pt}{22pt} $\bigr \rfloor ~\Bigr \rfloor ~\biggr \rfloor ~\Biggr \rfloor$ \\[15pt] -\hline -\end{longtable} +% Provide some additional spacing in this table; may move this to preamble later +%\setlength{\tabcolsep}{10pt} +%\renewcommand{\arraystretch}{1} + +\noindent{} +\begin{longtblr} +[ + caption = {Explicit Size Commands} +]{ + colspec = { X[7,l] X[2,c] }, + hlines = {0.75pt,solid}, + vlines = {0.75pt,solid}, + rows = {5mm, m, rowsep=1.5pt} +} +\textbf{Markup} & \textbf{Renders as} \\ + +\Verb+\bigl( \Bigl( \biggl( \Biggl(+ & $\bigl( ~\Bigl( ~\biggl( ~\Biggl($ \\ + +\Verb+\bigr] \Bigr] \biggr] \Biggr]+ & $\bigr] ~\Bigr] ~\biggr] ~\Biggr]$ \\ + +\Verb+\bigl\{ \Bigl\{ \biggl\{ \Biggl\{+ & $\bigl\{ ~\Bigl\{ ~\biggl\{ ~\Biggl\{$ \\ + +\Verb+\bigl \langle \Bigl \langle+ \Verb+\biggl \langle \Biggl \langle+ & $\bigl \langle ~\Bigl \langle ~\biggl \langle ~\Biggl \langle$ \\ + +\Verb+\bigr \rangle \Bigr \rangle+ \Verb+\biggr \rangle \Biggr \rangle+ & $\bigr \rangle ~\Bigr \rangle ~\biggr \rangle ~\Biggr \rangle$ \\ + +\Verb+\big| \Big| \bigg| \Bigg|+ & $\big| ~\Big| ~\bigg| ~\Bigg|$ \\ + +\Verb+\big\| \Big\| \bigg\| \Bigg\|+ & $\big\| ~\Big\| ~\bigg\| ~\Bigg\|$ \\ + +\Verb+\bigl \lceil \Bigl \lceil+ \Verb+\biggl \lceil \Biggl \lceil+ & $\bigl \lceil ~\Bigl \lceil ~\biggl \lceil ~\Biggl \lceil$ \\ + +\Verb+\bigr \rceil \Bigr \rceil+ \Verb+\biggr \rceil \Biggr \rceil+ & $\bigr \rceil ~\Bigr \rceil ~\biggr \rceil ~\Biggr \rceil$ \\ + +\Verb+\bigl \lfloor \Bigl \lfloor+ \Verb+\biggl \lfloor \Biggl \lfloor+ & $\bigl \lfloor ~\Bigl \lfloor ~\biggl \lfloor ~\Biggl \lfloor$ \\ + +\Verb+\bigr \rfloor \Bigr \rfloor+ \Verb+\biggr \rfloor \Biggr \rfloor+ & $\bigr \rfloor ~\Bigr \rfloor ~\biggr \rfloor ~\Biggr \rfloor$ \\ +\end{longtblr} \section{The \texttt{align} Environment}