Replaced tabular with longtable in table 9.2

This commit is contained in:
Kenneth John Odle 2023-07-31 16:40:52 -04:00
parent 98c52b7678
commit 683e2ee0e0

View File

@ -2,12 +2,11 @@
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{makeidx}
%\makeindex
\usepackage{graphicx}
\usepackage{kpfonts}
\usepackage{float}
\usepackage{longtable}
\usepackage{booktabs}
\raggedbottom
\usepackage{nicefrac}
@ -41,6 +40,11 @@
% \cfoot{Page \thepage}
%\renewcommand{\footrulewidth}{0.5pt}
% Adjust cell spacing in tables
\usepackage{cellspace}
\cellspacetoplimit 6pt
\cellspacebottomlimit 6pt
% Make a nice border and box for the tops of our examples
\newcommand\klab[3]{\vspace{#1}\noindent{}\hrulefill~~\fbox{\texttt{~#2~}}~~\hrulefill\vspace{#3}}
@ -766,41 +770,37 @@ 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}{14pt}
\renewcommand{\arraystretch}{1.6}
\setlength{\tabcolsep}{10pt}
\renewcommand{\arraystretch}{1}
\begin{table}[H]
\centering
\caption{Explicit Size Commands\label{brackparexp}}
\medskip
\noindent{}\begin{tabular}{| m{7cm} m{2cm} |}
\begin{longtable}{| p{7cm} | p{2cm} |}
\caption{Explicit Size Commands\label{brackparexp}}\\
\hline
\textbf{Markup} & \textbf{Renders as} \\
\hline
\verb+\bigl( \Bigl( \biggl( \Biggl(+ & $\bigl( \Bigl( \biggl( \Biggl($ \\
\rule{0pt}{22pt} \verb+\bigl( \Bigl( \biggl( \Biggl(+ & \rule{0pt}{22pt}$\bigl( ~\Bigl( ~\biggl( ~\Biggl($ \\[15pt]
\hline
\verb+\bigr] \Bigr] \biggr] \Biggr]+ & $\bigr] \Bigr] \biggr] \Biggr]$ \\
\rule{0pt}{22pt} \verb+\bigr] \Bigr] \biggr] \Biggr]+ & \rule{0pt}{22pt} $\bigr] ~\Bigr] ~\biggr] ~\Biggr]$ \\[15pt]
\hline
\verb+\bigl\{ \Bigl\{ \biggl\{ \Biggl\{+ & $\bigl\{ \Bigl\{ \biggl\{ \Biggl\{$ \\
\rule{1pt}{22pt} \verb+\bigl\{ \Bigl\{ \biggl\{ \Biggl\{+ & \rule{0pt}{22pt} $\bigl\{ ~\Bigl\{ ~\biggl\{ ~\Biggl\{$ \\[15pt]
\hline
\verb+\bigl \langle \Bigl \langle \biggl+ \verb+\langle \Biggl \langle+ & $\bigl \langle \Bigl \langle \biggl \langle \Biggl \langle$ \\
\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 \biggr+ \verb+\rangle \Biggr \rangle+ & $\bigr \rangle \Bigr \rangle \biggr \rangle \Biggr \rangle$ \\
\verb+\bigr \rangle \Bigr \rangle+ \verb+\biggr \rangle \Biggr \rangle+ & \rule{0pt}{22pt} $\bigr \rangle ~\Bigr \rangle ~\biggr \rangle ~\Biggr \rangle$ \\[15pt]
\hline
\verb+\big| \Big| \bigg| \Bigg|+ & $\big| \Big| \bigg| \Bigg|$ \\
\rule{0pt}{22pt} \verb+\big| \Big| \bigg| \Bigg|+ & \rule{0pt}{22pt} $\big| ~\Big| ~\bigg| ~\Bigg|$ \\[15pt]
\hline
\verb+\big\| \Big\| \bigg\| \Bigg\|+ & $\big\| \Big\| \bigg\| \Bigg\|$ \\
\rule{0pt}{22pt} \verb+\big\| \Big\| \bigg\| \Bigg\|+ & \rule{0pt}{22pt} $\big\| ~\Big\| ~\bigg\| ~\Bigg\|$ \\[15pt]
\hline
\verb+\bigl \lceil \Bigl \lceil \biggl+ \verb+\lceil \Biggl \lceil+ & $\bigl \lceil \Bigl \lceil \biggl \lceil \Biggl \lceil$ \\
\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 \biggr+ \verb+\rceil \Biggr \rceil+ & $\bigr \rceil \Bigr \rceil \biggr \rceil \Biggr \rceil$ \\
\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 \biggl+ \verb+\lfloor \Biggl \lfloor+ & $\bigl \lfloor \Bigl \lfloor \biggl \lfloor \Biggl \lfloor$ \\
\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 \biggr+ \verb+\rfloor \Biggr \rfloor+ & $\bigr \rfloor \Bigr \rfloor \biggr \rfloor \Biggr \rfloor$ \\
\verb+\bigr \rfloor \Bigr \rfloor+ \verb+\biggr \rfloor \Biggr \rfloor+ & \rule{0pt}{22pt} $\bigr \rfloor ~\Bigr \rfloor ~\biggr \rfloor ~\Biggr \rfloor$ \\[15pt]
\hline
\end{tabular}
\end{table}
\end{longtable}
\section{The \texttt{align} Environment}