papaja
papaja copied to clipboard
Try supertabular instead of longtable in TeX-Template
longtable
doesn't work in two-column layouts, which are produced by apa6
when the class is set to jou
. We should try if we can use supertabular
instead.
http://tex.stackexchange.com/questions/161431/how-to-solve-longtable-is-not-in-1-column-mode-error
https://tex.stackexchange.com/questions/12672/which-tabular-packages-do-which-tasks-and-which-packages-conflict
A partial solution:
\newenvironment{lltable}
{\begin{center}\begin{ThreePartTable}}
{\end{ThreePartTable}\end{center}}
\makeatletter
\let\oldlt\lltable
\let\endoldlt\endlltable
\def\lltable{\@ifnextchar[\lltable@i \lltable@ii}
\def\lltable@i[#1]{\begin{landscape}
\begin{figure}[tbp]
\onecolumn
\begin{minipage}{0.45\textwidth}
\oldlt[#1]
}
\def\lltable@ii{\begin{landscape}\begin{figure}[tbp]
\onecolumn
\begin{minipage}{0.45\textwidth}
\oldlt
}
\def\endlltable{\endoldlt
\end{minipage}
\twocolumn
\end{figure}
\end{landscape}}
\makeatother