{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

6
votes
1answer
51 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} ...
1
vote
0answers
45 views

Creating left to right and right to left dictionaries using Glossaries package

I want to produce two bilingual dictionaries Arabic-English and English-Arabic. I've found this discussion which seems of some interest for my needs... So I build this file, based on it ...
2
votes
1answer
53 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 ...
8
votes
1answer
145 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 ...
3
votes
2answers
104 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}} ...
0
votes
0answers
88 views

How to change text direction from Right to Left in Emacs24 and write Hindi numbers?

I use GNU Emacs 24.3.1. I want to write Arabic text with and without English text in one buffer. when I write the Arabic letters do appear (I use Consolas font) but what I miss is the direction of ...
1
vote
1answer
51 views

LaTeX formatting error

I've converted a word document to LaTeX but when I write : "BELLARE , M , ..." Latex shows me: "... , M , BELLERE" What's the error and how to solve it? part of text: ...
1
vote
1answer
135 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 ...
5
votes
1answer
139 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 ...
1
vote
1answer
107 views

Color is not working properly with XeLaTeX RTL documents?

The following minimal example produced the desired results: \documentclass{article} \usepackage[usenames]{color} \begin{document} black {\color{red} red} black black \end{document} But the ...
1
vote
0answers
77 views

Polyglossia: Arabic Text, English Bibliography

I am writing a mainly Arabic book. But all the references are western/English. So I'd like the bibliography to appear left to right. I write: \documentclass[12pt,english]{book} ...
2
votes
0answers
73 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, ...
5
votes
0answers
59 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. ...
2
votes
1answer
91 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 ...
6
votes
1answer
148 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
118 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
6answers
191 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
154 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
104 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
132 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
180 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
240 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
251 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
359 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
247 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? ...
2
votes
1answer
226 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
178 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
176 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
156 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
385 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
194 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
417 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
177 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
790 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
387 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?
4
votes
0answers
305 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
736 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
215 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
142 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
388 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
154 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
142 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 ...
12
votes
3answers
517 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 ...
3
votes
1answer
451 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
559 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
796 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
561 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
188 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
738 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. ...