答案1
这是一个使用paracol
包的解决方案。通过键入来切换到列号\switchcolumn[<n-1>]
(第一列为 0)。
注意:顺序并不重要(示例 2)
更新 \columnratio{value1,value2,...,\value<n-1>}
设置列宽,其中值为比例column width = valuei* text erea with
\documentclass{article}
\usepackage{lipsum}
\usepackage[scale=.98]{geometry}
\usepackage{paracol}
\begin{document}
\columnratio{.3,.2,.2,.2} % {col1,col2,...,col<n-1>} here 4 values
\begin{paracol}{5}
%this is column 1
\lipsum[1]
\switchcolumn[1]
%this is column 2
\lipsum[1-2]
\switchcolumn[2]
%this is column 3
\lipsum[1-2]
\switchcolumn[3]
%this is column 4
\lipsum[1]
\switchcolumn[4]
%this is column 5
\lipsum[1]
\switchcolumn[0]
%this is column 1
\hrule\textbf{back to first column}
\lipsum[1-2]
\end{paracol}
% example 2
\columnratio{.3,.1,.4} % here 3 values
\begin{paracol}{4}
%this is column 1
\lipsum[1]
\switchcolumn[3]
%this is column 4
\lipsum[1-2]
\switchcolumn[2]
%this is column 3
\lipsum[1-2]
\end{paracol}
\end{document}