我想将页面分成两列。为此,我参考了一些帖子,并找到了下面发布的代码
\documentclass{article}
\begin{document}
\begin{minipage}{0.45\textwidth}
\begin{enumerate}
\item First item \\
This is the second line in item and this may extend to third if long
\item second item\ldots
\end{enumerate}
\end{minipage}%
\hfill
\begin{minipage}{0.45\textwidth}
\begin{tabular}{|p{\textwidth}}
This is second part \\
$f(x) = 2x + 3y$ This line may go all along the end and wrap afterwards to
the next as seen here\\
This is a forced next line by ending the previous line
\end{tabular}
\end{minipage}%
\end{document}
但我面临的问题是,我在右列或左列中添加的文本越多,页面大小就会增加,但永远不会在新页面中写入。例如,如果我在右侧或左侧部分写入的内容超过页面可以容纳的内容,则所有内容都将写在同一页面中,而不会写在新页面中
如何强制将文本写入新页面