問題:此指令\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}