{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

2
votes
1answer
34 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 ...
5
votes
1answer
63 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 ...
5
votes
0answers
46 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 ...
3
votes
4answers
92 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 ...
0
votes
4answers
75 views

RTL theorem numbering problem - mdframed and xelatex

I have a problem with wrong numbering order when using mdframed theorem style. As in the MWE, the second theorem number should 2.1.1 (reading from right to left, 1.1 for the section and 2 for the ...
7
votes
1answer
86 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. ...
4
votes
2answers
112 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
155 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 ...
3
votes
1answer
185 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 ...
11
votes
2answers
185 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} ...
7
votes
1answer
300 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 ...
14
votes
1answer
221 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? ...
0
votes
0answers
117 views

\lr{} Results in a Different English Font

I am using XeLaTex package and use the \lr{} command for writing multi-word English phrases. Because, if I don't use the command a, b, c, would be printed as c, b, a. However, I do not need the ...
2
votes
1answer
161 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 ...
6
votes
2answers
140 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 ...
1
vote
1answer
147 views

subfigure numbering parentheses flipped with babel + right-to-left language + subfig

Eyal's babel incompatibility of the week... this time a question due to H.R. on the IVRITEX mailing list. The babel is incompatible with the subfig package. If you add a subfig with a caption: ...
2
votes
1answer
119 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
298 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. ...
0
votes
0answers
28 views

Lyx and Hebrew - Subsection numbering in the wrong direction [duplicate]

I'm using LaTeX to typeset Hebrew math papers, and just started using LyX for that purpose. I use the KOMA script article class and XeTeX, and everything works great except for one glitch: The ...
3
votes
1answer
175 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 ...
5
votes
2answers
366 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 ...
3
votes
1answer
158 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} ...
12
votes
1answer
616 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
3answers
307 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?
3
votes
0answers
223 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) ...
9
votes
2answers
558 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 ...
2
votes
2answers
194 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
129 views

Putting Left-to-right reference in right-to-left document in XeLatex using BibTex

The whole document in XeLatex is in a right-to-left language, but all the references are in English. I want those references to be left-to-right.
1
vote
1answer
330 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 ...
0
votes
1answer
143 views

Invalid right aligned chapter and section titles

I'm trying to write a bidirectional (English/Hebrew) document in xelatex and polyglossia. For some reason, when I enable Hebrew as a secondary language, all the chapter and section titles become ...
2
votes
0answers
127 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 ...
10
votes
3answers
442 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 ...
2
votes
1answer
392 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 ...
2
votes
1answer
471 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: ...
6
votes
2answers
646 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
507 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 ...
1
vote
1answer
169 views

Dashes and hyphens in Hebrew

I'm trying to use hyphens in a Hebrew document, but they do not appear in the resulting file. I've created this example to test the error. It seems only the unicode en-dash letter renders correctly ...
6
votes
1answer
656 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
1answer
356 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 ...
11
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 ...
1
vote
1answer
263 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, ...
7
votes
1answer
601 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: ...
1
vote
1answer
232 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} ...
5
votes
2answers
606 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} ...
8
votes
3answers
1k 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 ...
14
votes
3answers
580 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 ...
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 ...
2
votes
1answer
437 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} ...
3
votes
1answer
533 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} ...
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 ...