[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#920621: first workaround



On 02.02.19 08:26, Paolo Greppi wrote:

Hi Paolo,

> -\begin{DoxyItemize}
> -\item Item 1 
> -\item Item 2 
> -\end{DoxyItemize}\\\cline{1-3}
> 
> but this is not viable because similar code occurs in a lot of
> places in doxygen-generated tex files.
> 
> Any help is appreciated so that we can work around these latex issues
> for the doxygen 1.8.15 release while upstream fixes tabu.
> 
I could reduce it to this minimal example:

\documentclass{minimal}
\usepackage{tabu}
\usepackage{longtable}

\begin{document}

\begin{longtabu}spread 0pt [c]{*{3}{|c}|}
%\begin{longtabu}spread 0pt [c]{*{3}{|p{1cm}}|}
\hline
\begin{itemize}
%\begin{enumerate}
\item Item 1
\item Item 2
%\end{enumerate}\\
\end{itemize}\\
\hline
%\cline{1-3}
\end{longtabu}

\end{document}

I did further the some googling and found the following solution from
egreg (see [1]): "You can't use itemize in an l column, you need a p
column.". This basically means the document is broken and needs to be
fixed. After commenting out the first "\begin{longtabu}" line above and
the using the second one compilation works fine. This works also for
your ddd document.

Hilmar

[1]
https://tex.stackexchange.com/questions/154570/itemize-environment-within-a-tabular-environment
-- 
sigfault
#206401 http://counter.li.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: