如何抑制 \twocolumn 之前的分頁符號?

如何抑制 \twocolumn 之前的分頁符號?

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

相關內容