{right-to-left} is about authoring and compiling Right-to-Left content (mostly in languages such as Farsi, Arabic or Hebrew) with (La)TeX. A popular package is {bidi}.

learn more… | top users | synonyms

12
votes
2answers
2k views

Right-to-left text in LaTeX - reversed numbers and parentheses

Finally I got my Hebrew working on LaTeX. Everything's working great except for two issues - numbers and parentheses. Numbers are written the other way around (one hundred would be written 001), and ...
20
votes
2answers
2k views

Typesetting Right-to-Left math

UPDATE: I've managed to produce something that is aesthetically correct, however with a lot of "hardcoding" and trial and error to manually measure my spaces. Not to mention that I have to write my ...
12
votes
3answers
504 views

putting a box around each line of text in a paragraph

In my environment I would like to automatically make a box around each individual line of text in a paragraph so that I can operate on each line. I think this should really be done in LaTeX rather ...
11
votes
2answers
241 views

Equation number enclosing parentheses misplaced with Polyglossia+Hebrew+amsmath

I am compiling the following MWE using XeLatex within TeXnicCenter and get a garbled equation number: \documentclass{article} \usepackage{amsmath} \usepackage{polyglossia} \setmainlanguage{hebrew} ...
6
votes
2answers
554 views

Hebrew vs. German/English translation side-by-side

I am having the following problem: I have Hebrew texts and want to put translations (and other information) right next to it in a nice way. (Previously I used the old Nisus Writer for Mac which for ...
12
votes
1answer
779 views

A tool for creating a dictionary with right-to-left script

I'm trying to typeset a dictionnary, using Arabic script. I would like to create a list of words in three columns, with Arabic word in right column aligned to the right, its Polish translation aligned ...
6
votes
1answer
142 views

How to do a proper Bibliography in Arabic language with XeLaTeX and Biblatex-Biber backend?

I want to add bibliography to a document mainly written with Arabic language but intervened with some English text. Therefore, I opted for arabxetex approach rather than polyglossia, becasue IMHO ...
3
votes
6answers
179 views

Switch twocolumn between right-to-left and left-to-right with the package multiind in polyglossia

Writing a book in arabic, I want to obtain a dictionnary of used words in my document between arabic and english, and want that the entries of the dictionnary will be in two different orders, in ...
1
vote
1answer
286 views

RTL theorems with ntheorem and xetex have separator in wrong place

(This is a split-off from another RTL ntheorem issue.) When you have a theorem in RTL language text (e.g. Hebrew), using XeTeX+polyglossia(+bidi)+ntheorem, the theorem separator comes out before, ...
13
votes
1answer
2k views

Beamer XeTeX Right to Left

I am preparing Farsi slides in beamer which is a right to left language just like Hebrew. I have problems in the presentation which I briefly discuss: The TOC is left to right: The itemize can be ...
7
votes
1answer
344 views

Cannot create a table of contents in LyX for a Hebrew document

I'm trying to create a table of contents for a Hebrew document (specifically, with Hebrew section and subsection names) I'm writing in LyX. When I try to compile my file I get a lot of error messages ...
3
votes
1answer
441 views

LTR sequences within RTL text - alternative to cumbersome markup?

I am writing a book in Persian that is full of text in Latin scripts scattered all over book. I have to wrap every Latin script with \lt{} to guide xetex to align words from left to right. It's ...
6
votes
2answers
766 views

Sample files of LTR text on left and RTL text on right

I am looking for sample files with mix LTR and RTL texts where each occupy their respective side of the page on each line. In addition I want the ability to indent odd/even lines by different ...
6
votes
1answer
396 views

Numbers, punctuation and parenthesis reversed in RTL

Contrary to my belief and to what's shown here, the above are coming up reversed for me: I've seen this happen in other places too (enumerations off the top of my head), but these are the most ...
5
votes
2answers
695 views

babel \L command reverses letters, inserts Ł symbol

It's time for Eyal's babel+Hebrew (or right-to-left) incompatibility of the week; and this time, it's hyperref again. If you have: \documentclass{article} \usepackage[hebrew,english]{babel} ...
3
votes
2answers
98 views

\llap mystery with TeX--XeT

Consider \documentclass{article} \usepackage{xecolor} % loads fontspec by default \setmainfont{Times New Roman} \begin{document} \fontsize{60}{70}\selectfont TEST\llap{\textxecolor{red}{TEST}} ...
2
votes
1answer
84 views

How to make page numbers appear in Hindi numbers instead of Arabic numbers using XeLaTeX?

I have a document written with a majority Arabic text and few English text. The page numbers as seen in the output appeared in Arabic (1,2,3,etc) numbers instead of the desired Hindi numbers as ...
2
votes
2answers
213 views

Inserting RTL text in verbatim environment

How I can insert Persian text in verbatim environment when using XePersin package ( v11.138, 2012/05/03). Following code dose not work: \begin{verbatim} <!DOCTYPE book PUBLIC "-//OASIS//DTD ...
1
vote
1answer
256 views

\theoremindent adds space to left side when used with RTL languages

Trying to use ntheorem's \theoremindent seems to indent the left side rather than the right side when used with polyglossia and right-to-left languages: \documentclass{article} \usepackage{ntheorem} ...