我正在尝试在双列模式下使用超级表格。该\twocolumn
命令会在部分之后创建一个分页符。我该如何防止这种情况发生?
\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}
编辑
尝试过这个,但它没有将表格行分成两列
\begin{document}%
\section*{TEST}%
\begin{minipage}[t]{\textwidth}
\twocolumn
\begin{supertabular}{l l}%
\textbf{Label} & Value \\
...
\end{supertabular}%
\end{minipage}
\end{document}
答案1
如果您希望整个文档为两列,最好使用[twocolumn]
documentclass 选项。