答案1
要在从左到右和从右到左的排版列之间切换,multicol
包提供了\RLmulticolcolumns
和\LRmulticolcolumns
命令,可以反转生成列的顺序。
\documentclass{article}
\usepackage{multicol}
\usepackage{lipsum}
\begin{document}
\begin{multicols}{2}
\lipsum[1]
\end{multicols}
\RLmulticolcolumns
\begin{multicols}{2}
\lipsum[1]
\end{multicols}
\end{document}
答案2
ConTeXt 的环境columns
允许您使用键更改列的顺序direction
。
\setupcolumns
[direction=left]
\starttext
\startcolumns
The Earth, as a habitat for animal life, is in old age and
has a fatal illness. Several, in fact. It would be happening
whether humans had ever evolved or not. But our presence is
like the effect of an old-age patient who smokes many packs
of cigarettes per day – and we humans are the cigarettes.
\stopcolumns
\stoptext
当mixedcolumns
使用较新的环境时,必须使用reverse
关键字作为direction
键。
\setupmixedcolumns
[align=verytolerant,
balance=yes,
direction=reverse]
\starttext
\startmixedcolumns
The Earth, as a habitat for animal life, is in old age and
has a fatal illness. Several, in fact. It would be happening
whether humans had ever evolved or not. But our presence is
like the effect of an old-age patient who smokes many packs
of cigarettes per day – and we humans are the cigarettes.
\stopmixedcolumns
\stoptext
答案3
这不是一个通用的答案,但很有用。如果我们使用泽佩斯安包然后我们可以使用 \RTLmulticolcolumns 和 \LTRmulticolcolumns 命令来反转顺序。
\documentclass{article}
\usepackage{multicol}
\usepackage{lipsum}
\usepackage{xepersian}
\settextfont[Scale=1]{B Nazanin}.
\setlatintextfont{Times New Roman}
\setdigitfont[Scale=1]{Yas}
\begin{document}
\RTLmulticolcolumns
\begin{multicols}{2}
some persian tex
\end{multicols}
\LTRmulticolcolumns
\begin{multicols}{2}
some persian tex
\end{multicols}
\end{document}