Cloudy & Associates

Commit 2da6788c authored by Robin Williams's avatar Robin Williams
Browse files

Improve formatting of test suite tables

parent 2a764dfc
......@@ -84,19 +84,25 @@ announce it.
Table \ref{tab:AutoSimulationList} lists the simulations in the
\cdFilename{auto} test directory.
\begin{table}
\centering
\caption{
The simulations in the auto test suite.}
\begin{tabular}{ c c }
%\begin{longtable}{>{\centering}p{0.2\textwidth}>{\centering}p{0.7\textwidth}}
\begin{longtable}{cp{0.7\textwidth}}
\caption{The simulations in the auto test suite.}\\
\hline
Class & Function \\
Class & Function\\
\hline
\input{../../../tsuite/auto/doc_tsuite.txt}
\endfirsthead
\caption{(continued)}\\
\hline
Class & Function\\
\hline
\endhead
\hline\multicolumn{2}{r}{\textit{Continued on next page}}
\endfoot
\hline
\endlastfoot
\input{../../../tsuite/auto/doc_tsuite.txt}
\label{tab:AutoSimulationList}
\end{tabular}
\end{table}
\end{longtable}
\includepdf[pages=-]{../../../tsuite/auto/doc_tsuite.pdf}
......@@ -105,19 +111,24 @@ Class & Function \\
Table \ref{tab:SlowSimulationList} lists the simulations in the
\cdFilename{slow} test directory.
\begin{table}
\centering
\caption{
The simulations in the slow test suite.}
\begin{tabular}{ c c }
\begin{longtable}{cp{0.7\textwidth}}
\caption{The simulations in the slow test suite.}\\
\hline
Class & Function \\
Class & Function\\
\hline
\input{../../../tsuite/slow/doc_tsuite.txt}
\endfirsthead
\caption{(continued)}\\
\hline
Class & Function\\
\hline
\endhead
\hline\multicolumn{2}{r}{\textit{Continued on next page}}
\endfoot
\hline
\endlastfoot
\input{../../../tsuite/slow/doc_tsuite.txt}
\label{tab:SlowSimulationList}
\end{tabular}
\end{table}
\end{longtable}
\includepdf[pages=-]{../../../tsuite/slow/doc_tsuite.pdf}
......
......@@ -54,6 +54,11 @@ top=2.5cm,bottom=2.5cm]{geometry}
% allow external files to be included verbatim
\usepackage{moreverb}
% allow tables to wrap over pages
\usepackage{longtable}
% set the default tabsize
\def\verbatimtabsize{4\relax}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment