<div dir="ltr"><div><div>Hi folks<br><br>I just spent a head-scratching day figuring out what this message means<br><br>! LaTeX Error: Not in outer par mode.<br><br></div>Here is an example of the correct usage:<br><br>\documentclass{refart}<br>
\title{\jobname}\author{R.J. Fehd}\date{draft of \today}<br>\usepackage{fancyvrb,hyperref}<br>\begin{document}\maketitle<br>\section*{Abstract}This document is a demonstration of the<br>\href{<a href="http://www.ctan.org/pkg/refman}{Reference">http://www.ctan.org/pkg/refman}{Reference</a> Manual}<br>
\texttt{refart} class with illustrations of the correct usage of:<br>\begin{itemize}<br>\item table maxipage tabular<br>\item fullpage table tabular<br>\end{itemize}<br><br>Note: Placing a table with a maxipage generates an error:<br>
<br>\begin{verbatim}<br>\begin{maxipage}<br>\begin{table}[h]\caption{This does not work!}<br>\begin{tabular}{lllllllllllllll}<br>This&is&a&very&wide&table&with&many&columns&used&as&a&demonstration<br>
\end{tabular}<br>\end{table}<br>\end{maxipage}<br>\end{verbatim}<br><br>The error is:<br>\begin{verbatim}<br>! LaTeX Error: Not in outer par mode.<br><br>l.10 \begin{table}[h]<br>                     \caption{Whoa! fullpage worked like this!}<br>
\end{verbatim}<br><br><br>\hrulefill<br><br>\tableofcontents\listoftables<br><br>\section{Table contains maxipage}<br>This section has a table containing a tabular inside a maxipage.<br><br>%\maxipagerulefalse %turns off hrulefill before and after maxipage<br>
<br>\begin{table}[h]\caption{Maxipage containing tabular}<br>\begin{maxipage}<br>\begin{tabular}{lllllllllllllll}<br>This&is&a&very&wide&table&with&many&columns&used&as&a&demonstration<br>
\end{tabular}<br>\end{maxipage}<br>\end{table}<br><br>The next section is on the next page.<br><br>\hrulefill<br><br>\begin{fullpage}%generates \newpage<br>\section{Fullpage contains Table}<br>\begin{table}[h]\caption{Fullpage containing table and tabular}<br>
\begin{tabular}{lllllllllllllll}<br>This&is&a&very&wide&table&with&many&columns&used&as&a&demonstration\\<br>\end{tabular}<br>\end{table}<br><br>Note the \texttt{hrulefill} extends across the whole page.<br>
<br>\hrulefill<br><br>\end{fullpage}%continued on next page: normal layout<br><br>\section{Last Page}<br>This page intentionally left blank to show \texttt{newpage} is unneeded.<br><br>\hrulefill<br><br>\end{document}<br>
<br></div>Ron Fehd  {SAS} macro maven<br></div>