2

I've divided a Hebrew paragraph to 3 columns, using \begin{multicols}{3} with \end{multicols}.

The problem (since in Hebrew we write from right to left) is that the columns came up in the opposite order: (I II and III should be in reversed order) enter image description here

Is there a way to change it?

example code: enter image description here

By the way, is there a way to add a line between the columns?

  • 4
    Welcome to TeX.SX! Can you please add a minimal example of LaTeX code? – egreg Apr 2 '16 at 9:34
  • 1
    the bidi package should work with multicol to re-order the columns, but i do not know how to use from lynx – David Carlisle Apr 2 '16 at 19:59
2

If you look into the documentation of multicols, i.e., multicol.pdf you will find this question answered: use \RLmulticolcolumns to change the order to right-to-left.

As David mentioned, the bidi package should also work with multicol, though there have been some incompatibilities in the past.

|improve this answer|||||
0

Following Guy Rutenberg's recommendation, I'm using XeLaTeX. I don't know how did you get your wrong column order (you didn't post a MWE...), but in my configuration there is no need to do anything special in order to get right to left support for multicol.

Here's an example code:

\documentclass{book}

\usepackage{multicol}   

\usepackage{polyglossia}
\setdefaultlanguage{hebrew}
\setotherlanguage{english}
\usepackage{fontspec}
\newfontfamily\hebrewfont{Times New Roman}[Script=Hebrew]

\begin{document}
\begin{multicols}{2}

א בְּרֵאשִׁית, בָּרָא אֱלֹהִים, אֵת הַשָּׁמַיִם, וְאֵת הָאָרֶץ.  ב וְהָאָרֶץ, הָיְתָה תֹהוּ וָבֹהוּ, וְחֹשֶׁךְ, עַל-פְּנֵי תְהוֹם; וְרוּחַ אֱלֹהִים, מְרַחֶפֶת עַל-פְּנֵי הַמָּיִם.  ג וַיֹּאמֶר אֱלֹהִים, יְהִי אוֹר; וַיְהִי-אוֹר.  ד וַיַּרְא אֱלֹהִים אֶת-הָאוֹר, כִּי-טוֹב; וַיַּבְדֵּל אֱלֹהִים, בֵּין הָאוֹר וּבֵין הַחֹשֶׁךְ.  ה וַיִּקְרָא אֱלֹהִים לָאוֹר יוֹם, וְלַחֹשֶׁךְ קָרָא לָיְלָה; וַיְהִי-עֶרֶב וַיְהִי-בֹקֶר, יוֹם אֶחָד.  {פ}
ו וַיֹּאמֶר אֱלֹהִים, יְהִי רָקִיעַ בְּתוֹךְ הַמָּיִם, וִיהִי מַבְדִּיל, בֵּין מַיִם לָמָיִם.  ז וַיַּעַשׂ אֱלֹהִים, אֶת-הָרָקִיעַ, וַיַּבְדֵּל בֵּין הַמַּיִם אֲשֶׁר מִתַּחַת לָרָקִיעַ, וּבֵין הַמַּיִם אֲשֶׁר מֵעַל לָרָקִיעַ; וַיְהִי-כֵן.  ח וַיִּקְרָא אֱלֹהִים לָרָקִיעַ, שָׁמָיִם; וַיְהִי-עֶרֶב וַיְהִי-בֹקֶר, יוֹם שֵׁנִי.  {פ}

\end{multicols}
\end{document}
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.