問題:このコマンドは、\twocolumn
として指定された LaTeX ドキュメントにページ区切りを生成します\documentclass[twocolumn]{report}
。このドキュメントクラスの指定は変更できません。
質問:コマンドの前の改ページを抑制する方法はありますか\twocolumn
?
コード例:
\documentclass[twocolumn]{report}
\begin{document}
Two column text
% Goal: suppress page break here
\twocolumn[
One column text
]
\end{document}
答え1
[twocolumn] から始めたからといって、そこに留まらなければならないわけではありません。
\documentclass[twocolumn]{report}
\usepackage{multicol}
\usepackage{lipsum}% MWE only
\begin{document}
\onecolumn\begin{multicols}{2}
\lipsum[1]
\end{multicols}
\lipsum[2]
\end{document}