The command \RLmulticolcolumns
from multicol
package to reverse order of the columns on the page from right to left work fine with pdflatex
or xelatex
, here a working example:
\documentclass{article}
\usepackage{lipsum}
\usepackage{multicol}
\usepackage{polyglossia}
\setdefaultlanguage{english}
%\setotherlanguage{arabic}
\begin{document}
\RLmulticolcolumns
\begin{multicols}{2}
\lipsum[2]
\end{multicols}
\end{document}
The order of columns is starting here from right to left.
If we uncomment the line \setotherlanguage{arabic}
, order of columns become starting from left to right, same thing if we replace arabic
with farsi
or any right to left language.
I think that the problem comes from the package polyglossia
which change in definition of \RLmulticolcolumns
when right to left language is defined as otherlanguage.
How to fix this problem and take advantage of the \RLmulticolcolumns
command with right to left language set as other language, thanks.