\begin{longtable}{|p{\textwidth}|} \hlineBut of course the enumeration could not be split so it just went off the bottom. What to do? After some thinking I came up with this bodge. If you know a nicer way of doing this please tell me.
\begin{enumerate}
\item ....
\repeat 500 times
...
I defined a new command \breaktable
\newcommand{\breaktable}{%which I now enter every time I see a sort of logic end to the enumeration. This saves the current counter stops the enumeration adds a new cell and starts the enumeration with the correct value again. You have to define
\setcounter{enumi_saved}{\value{enumi}}
\end{enumerate}\\
\begin{enumerate}
\setcounter{enumi}{\value{enumi_saved}}
}
\newcounter{enumi_saved}somewhere. Works quite nicely.
No comments:
Post a Comment