{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

1
vote
1answer
39 views

different lang, write only right to left

I am using LYX. when I am writing a file in lyx that combines hebrew(RTL) and english(LTR) sometimes I write lines that start in english word this line and only this line that starts with english ...
1
vote
2answers
25 views

How to change the numbering style of subcaption only

This question is somehow related to Change counter style for caption. But here I want to use subcaptions as well. I want to create myStyle for captions. \DeclareCaptionFormat has three options. From ...
1
vote
1answer
35 views

Change counter style for caption

I want to make numbering in caption right-to-left. For example Change in the caption: شکل 01 to شکل 10. The reason I want something like this is I am working with right-to-left language and I can ...
2
votes
1answer
15 views

Using `inputminted` in lyx has no effect on document

I'm trying to import a complete code file into a lyx document using the minted package. But the resulting document has no code at all. Here is a minimal example. And there's nothing in the resulting ...
1
vote
1answer
29 views

Using minted for syntax highlighting with RTL language reverses code

I'm writing a LyX document in Hebrew and I want to inset some inline code snippet but the code is reversed when rendered. The minimal lyx example is here. And it look like this: LyX source: ...
1
vote
1answer
59 views

Kurdish on latex

Kurdish Sorani is similar to Arabic and Persian Languages. any Tips how to run from Latex. please don't advise LaTeX babel as there is only Kurdish (Latin).
3
votes
1answer
63 views

LaTeX: issue when using multicol with RTL languages

I'm trying to use LaTeX with RTL language. when I set columns count to 2, LaTeX use LTR direction as default. I try to use \RLmulticolcolumns command but it does not work! \documentclass{book} ...
2
votes
1answer
60 views

RTL Beamer: getting lists to right-align

This code produces a list of items aligned to the left margin. In a proper RTL text they should be right-aligned. \raggedright doesn't have the expected effect. From other posts I suspect that ...
3
votes
1answer
86 views

LuaTeX RTL text: Wrong horizontal spacing in headlines

When typesetting syriac RTL text in LuaTeX, it seems the right-alignment of section and subsection headlines has a bug. It seems that the small horizontal space between number and headline text is ...
1
vote
0answers
45 views

Right-to-left text in document with in-line equations

people. I am having real problems with the right-to-left language in this document. Please just try to compile. \documentclass{article} ...
9
votes
1answer
155 views

How to keep both Mapping=arabicdigits and Ligatures=TeX in this MWE?

Please consider the MWE below: MWE - scenario 1 \documentclass[demo]{scrartcl} \usepackage{polyglossia} \setmainlanguage[locale=mashriq,numerals=mashriq,abjadjimnotail=true]{arabic} % ...
8
votes
2answers
166 views

Best way to use multi-lingual quotes using csquotes package in AUCTeX Emacs

When I write in Arabic (Rt-to-Lt) language I get the quotation marks reversed (the right instaed of left and vice versa) if I want to keep font-locking of AUCTeX setup. Emacs editor using AUCTeX ...
3
votes
2answers
69 views

How to increase the footnote line length in Arabic with scrbook?

If I write in English the code below would work, but when I write in Arabic it won't! I want to extend the length of the footnote line to the whole text width. MWE ...
1
vote
2answers
95 views

The tableofcontents in beamer arabic

I have asked two question about arabic beamer in the following link: RTL tableofcontents) in arabic (or polyglossia package) beamer And they have solved well. Now i have a problem. When I have ...
0
votes
0answers
50 views

LaTeX editor that supports Hebrew [duplicate]

I am looking for a LaTeX editor that can manage Hebrew and RTL, and that is supported on OSX, I came across many but did not find that works. Thanks
2
votes
1answer
89 views

Example numbers in right-to-left environment with ExPex

I was delighted to see that expex does interlinear text in right-to-left languages nearly perfectly. One issue, however, is that the example number is placed in the right margin instead of aligned to ...
1
vote
1answer
82 views

Writing with RTL language inside of formulas in LYX

I recently started using LYX and it's GREAT! I have configured it for using Hebrew and everything works fine except I can't write in Hebrew inside formulas normally. In the equations it won't let me ...
4
votes
2answers
68 views

\cite and \bibitem reverse the digits when using Arabi package

Unfortunately I have a similar problem as in \pageref dosen't properly show the page number when using arabi package. When I use the command \cite, the digits are reversed. In fact I am not able ...
1
vote
1answer
118 views

Problem in footnote with arabtex package

I have a problem if I try to typeset a footnote while using the arabtex package. The problem is that the number is still in left side and the text is in right side. MWE ...
3
votes
1answer
121 views

RTL and LTR columns in ONE table?

Is it possible to set some columns in one table as RTL while other are LTR? I want to do something like this: % !TEX encoding = UTF-8 Unicode % !TEX TS-program = xelatex ...
6
votes
1answer
130 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
65 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
77 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
226 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
136 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
1answer
251 views

How to write Hindi numbers within Arabic text in Emacs 24? [closed]

I use GNU Emacs 24.3.1. I want to write multilingual text including Arabic text and English text in one buffer. Problem is how to write Hindi numbers instead of Arabic numbers when writing Arabic text ...
1
vote
1answer
54 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
188 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 ...
6
votes
1answer
239 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
175 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
151 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
160 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
74 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
199 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 ...
7
votes
1answer
242 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
227 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 ...
4
votes
6answers
314 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
239 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
128 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
167 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
211 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
389 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
367 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
455 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
309 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
333 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 ...
7
votes
2answers
233 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
232 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
245 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
535 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. ...