{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

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 ...
17
votes
4answers
2k views

IDE / Best known method for writing Hebrew documents with LaTeX

I usually use LyX to prepare lecture notes, course summaries, etc. The reason I use LyX and not LaTex directly is twofold - I usually need to type in real time - summing a lecture. I think for this ...
14
votes
3answers
640 views

hyperref links break with babel + hebrew (or right-to-left language)

It's time for Eyal's babel + Hebrew incompatibility of the week. And this time: hyperref... :-( Basically, you can't get links with right-to-left text. It's about the direction rather than the ...
14
votes
1answer
244 views

align* environment left-aligned with LuaTeX and RTL math direction

When using LuaLaTeX, with the math direction set right-to-left, the contents of an align* environment is left-aligned instead of centered. Why does this happens? How can I fix it? ...
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 ...
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 ...
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 ...
12
votes
1answer
774 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 ...
11
votes
2answers
240 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} ...
9
votes
2answers
707 views

Alignment of page numbers in table of contents

Consider the following example: \documentclass[a4paper,12pt]{article} \begin{document} \tableofcontents \newpage \section{test} \newpage \setcounter{page}{22} \section{introduction} \newpage ...
8
votes
1answer
136 views

What is bidirectional or multidirectional typesetting/editor?

I have been seen terms like multidirectional typesetting, bidirectional typesetting/work, bidirectional editor ... For example, in this brilliant answer to The differences between TeX engines, there ...
8
votes
3answers
2k views

How to change the page number from even to odd while keeping the page as verso?

I'm writing a two-sided document with a binding margin. For certain reasons, I need to change the page number at some point, so what used to be an even-numbered page is now odd-numbered. This makes ...
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 ...
7
votes
1answer
631 views

Placing \section, \subsection in the right margin of an RTL document

Rather than the default placing of \section and \subsection on their own line, I'd like to place them on the right margin (in a Right To Left document). My current usage looks like this: ...
7
votes
1answer
101 views

Unicode, right to left characters in command names

What is the status, in terms of category codes, of all the Unicode letters above ASCII in XeTeX (using XeLaTex+fontspec) and LuaTeX (using ConTeXt)? Can I define a macro using Unicode characters (ex. ...
6
votes
3answers
361 views

Type several columns using right-to-left language

I want type Farsi (this language is right-to-left) in several columns. How do I start the contents from the first column to the right?
6
votes
2answers
764 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
2answers
171 views

Polyglossia + right-to-left language + doublespacing with setspace affects footnote spacing

I have some Arabic text, so I use polyglossia and \setotherlanguage{arabic}. This however causes line spacing within footnotes to change, which looks odd, especially because the distance between ...
6
votes
1answer
717 views

How do I right-align the last line of a justified paragraph?

I want to wrap around text in a table cell; therefore I use the p option in the definition of tabular. However, I'm writing in Hebrew, so it aligns the last line to the left, instead of to the right. ...
6
votes
2answers
552 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 ...
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 ...
6
votes
1answer
41 views

LTR bibliography in a RTL document

I have a Lyx document in Hebrew(RTL Language), while all the sources are in English(LTR Language). Therefore, I've added \selectlanguage{english} before the bibliography, and \selectlanguage{hebrew} ...
6
votes
1answer
108 views

How to show figure captions in Arabic language?

I want to show the caption of the figure in Arabic language. Given the unpredictable interactions with other packages, I tended to keep them in the preamble of the MWE. Questions How to set the ...
6
votes
1answer
395 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
694 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} ...
5
votes
1answer
114 views

Footnote in arabic with polyglossia

writing a book in arabic, I want to make some comments by footnotes, in english and in arabic. The footnotes in arabic are from Right to Left, and I can put the rule of the footnote on the right side ...
5
votes
2answers
402 views

Some problems using LyX RTL with equations

I'm really new to the whole LyX(2.0.5.1) thing I'm usually using LibreOffice Writer and it's Latex like "formulas". But I've heard so many good things about LyX, so I've decided to give it a try but ...
5
votes
0answers
55 views

Sorting bibliography cannot be turned off in Biblatex when writing in Arabic [closed]

I want the citations to appear in the bibliography in the order of their appearance in the text and not according to their alphabet. I know there is an argument for that which is sorting=none. ...
4
votes
2answers
124 views

xcolor \color command affects the wrong word in a Hebrew sequence

When compiling \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[hebrew,english]{babel} \usepackage{xcolor} \begin{document} \sethebrew ראשונה \color{red} שניה \color{black} שלישית ...
4
votes
0answers
176 views

Hebrew text along a (circular) path is typeset LTR instead of RTL

I have read Typesetting straight baselines in a circular arrangement and I would like to have a solution for my situation. I would like to insert some text in Hebrew on an annulus. Here is my attempt ...
4
votes
0answers
290 views

TeX Editor for Arabic language? [duplicate]

Possible Duplicate: LaTeX Editors/IDEs Typesetting a document using Arabic script I'm Arab and use TeX Live 2012. I have a problem with TeXworks: It doesn't support right-to-left (rtl) ...
3
votes
2answers
97 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}} ...
3
votes
6answers
178 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 ...
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 ...
3
votes
1answer
543 views

The quickindex option is not working with xepersian package

I have installed TeXLive 2010 on Ubuntu 10.10, when I try to compile a LaTeX file such as: \documentclass{memoir} \usepackage{makeidx} \makeindex \usepackage[Kashida,quickindex]{xepersian} ...
3
votes
1answer
174 views

bidi's undefined environments in (my) LuaLaTeX system

I typeset Arabic text with LuaLaTeX. I am using the following definitions and it works nicely: \newcommand{\arabtext}[1] % Arabic inside LTR {\bgroup\luatextextdir TRT\arabicfont #1\egroup} ...
3
votes
1answer
233 views

Minimal bidi for typesetting RL text

I need to typeset RTL text (Arabic, Persian) for linguistics books. I know of the bidi package. But bidiis way to powerful for our purposes and it has many side effects (it basically affects ...
3
votes
1answer
192 views

Tab stops and text direction; Latin and Hebrew/Arabic

Is there a package available which offers the following functionality (or if not, does someone have an idea how to achieve this): I would like to use tab stops but also define the "side" of the tab ...
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 ...
2
votes
1answer
217 views

How to invert direction of brackets (for a right to left text) in ConTeXt?

The Unicode Bidirectional algorithm mandates that the glyph for the character "left parenthesis" (and many others) be inverted when displaying text in RTL direction. However I am trying to typeset in ...
2
votes
1answer
366 views

XeLaTex - Arabic script letters mirrored [duplicate]

I'll try to inlcude arabic script in my document, but it shows the odd behavior that the arabic letters are not "connecting" to each other in the final pdf output, they are shown as single letters. ...
2
votes
1answer
548 views

RTL Refrences in XePersian package

In my Persian paper all references are in Latin script. How I can insert references (Bibliography) RTL in XePersian, and how I can convert digits in URLs to west Arabic. MWE: ...
2
votes
1answer
45 views

Tex with arabic letters and Pakoma

I'm working on books written in Arabic language, we build the book as XML file from which we generate Tex and PDF. My question is about page break, with Tex files written in English we use Pakoma ...
2
votes
1answer
449 views

RTL captions with newfloat?

Is it that the float package begins to show its age? I cannot get it to work right with XeLaTeX. Here is an example: \documentclass{article} % compile with xelatex \usepackage{float} ...
2
votes
1answer
150 views

Footnotes for a right-to-left phrase within a left-to-right paragraph

I have an English paragraph with a right-to-left Hebrew phrase in the middle of the paragraph with a footnote referring to a word within that Hebrew phrase. Should the footnote be positioned at the ...
2
votes
1answer
119 views

\LR for long text

How can I use Left to Right command, \LR, for long text in a right to left document. It should exist some think like \begin{something} \end{something} but I cannot found it! My problem is in the ...
2
votes
1answer
83 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
0answers
61 views

Spellchecking highlighting problem in TexStudio when writing in Arabic

When I write a document in Arabic it behaves differently than in English when it comes to highlighting words misspelled. Consider the screenshot below: Arabic comma right after the target word, ...
2
votes
0answers
141 views

Problem with persian-bib package [closed]

I have a document where the main language should be English with only some Arabic text. In my references I have English as well as Arabic references. The main direction of the document should be from ...
1
vote
1answer
372 views

Typesetting documents that are a mix of Arabic and Latin script without annoying markup

How can I insert LTR script directly within RTL text without cumbersome markup? (consider a Language learning book. ) What is most clean method to write following texts? Aa bb cc ااا ببب تتت dd ee ...