I am trying to use a supertabular in twocolumn mode.
The \twocolumn
command creates a page break just after the section. How do I prevent that?
\documentclass[10pt]{article}%
\usepackage[T1]{fontenc}%
\usepackage[utf8]{inputenc}%
\usepackage{lmodern}%
\usepackage{textcomp}%
\usepackage[T1]{fontenc}%
\usepackage[utf8]{inputenc}%
\usepackage[swedish]{babel}%
\usepackage{fancyhdr}%
\usepackage{graphicx}%
\usepackage{siunitx}%
\usepackage{gensymb}%
\usepackage[scaled]{helvet}%
\usepackage[margin=30mm,headsep=20mm]{geometry}%
\usepackage{siunitx}%
\usepackage{tabu}%
\usepackage{supertabular}
\pagestyle{fancy}%
\lhead{\includegraphics[width=50mm,keepaspectratio=true]{logo}}%
\rhead{Körinstruktion: 1001}%
\cfoot{\today}%
\DeclareSIUnit\rpm{rpm}%
\sisetup{per-mode=symbol}%
\renewcommand\familydefault{\sfdefault}%
%
\begin{document}%
\section*{TEST}%
\twocolumn
\begin{supertabular}{l l}%
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\textbf{Label} & Value \\
\end{supertabular}%
\end{document}
Edit
Tried this, but it does not split the table rows in two columns
\begin{document}%
\section*{TEST}%
\begin{minipage}[t]{\textwidth}
\twocolumn
\begin{supertabular}{l l}%
\textbf{Label} & Value \\
...
\end{supertabular}%
\end{minipage}
\end{document}
\twocolumn
does. Start a new page, start two columns. – Johannes_B Aug 23 '16 at 8:13\twocolumn
before the section or use the[twocolumn]
documentclass option, if you can't do that in your full document give more context. – David Carlisle Aug 23 '16 at 8:33