papaja icon indicating copy to clipboard operation
papaja copied to clipboard

Try supertabular instead of longtable in TeX-Template

Open crsh opened this issue 9 years ago • 3 comments

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.

crsh avatar Nov 21 '14 16:11 crsh

http://tex.stackexchange.com/questions/161431/how-to-solve-longtable-is-not-in-1-column-mode-error

crsh avatar Mar 29 '15 21:03 crsh

https://tex.stackexchange.com/questions/12672/which-tabular-packages-do-which-tasks-and-which-packages-conflict

crsh avatar Apr 23 '17 20:04 crsh

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

crsh avatar Feb 06 '18 10:02 crsh