10
votes
How can I input Uyghur language in LaTeX?
Disclaimer: I can't read Uyghur, so I don't actually know if this is correct.
Neither polyglossia nor babel appear to support Uyghur out of the box. ArabTeX claims to, but I think you have to use ...
10
votes
Accepted
Arabic Numerals in Arabic Text
To get the Unicode bidirectional algorithm working correctly, you need to use babel. There are many clever things babel can now do with lualatex and right-to-left languages. Have a look through the ...
9
votes
Accepted
tikz: Right to left text within text along path
As it has been mentioned already, the reverse text effect described in the TikZ manual is what you are looking for.
However, you also want to first group the letters using the group letters effect, ...
8
votes
Accepted
Misplaced comma after LTR word in bidirectional document
XeTeX and/or the bidi package seems not to handle this correctly. With lualatex and babel it works out of the box (I don't have your font here, so use another one):
% compile with lualatex
\...
8
votes
The cancel package doesn't work sometimes in Hebrew
The char for the line segment at a certain angle is stored at the position of the (. As bidi mirrors the ( and the ) you sometimes get the char stored at the ) position, which is an arrow head.
You ...
7
votes
Accepted
Point location in the end of RTL sentence with a last English word
You have to explicitly change the language to English:
\documentclass{article}
\usepackage{polyglossia}
\setmainlanguage{hebrew}
\setotherlanguage{english}
\setmainfont{Linux Libertine O}
\begin{...
7
votes
Accepted
How to make an enumerated list's numbering alphabetic per the Hebrew alphabet, in a Hebrew beamer presentation?
You can not use enumitem with beamer: As you saw it overwrites various beamer commands and so destroys the look and also overlay specification.
beamer loads the enumerate package which allows to ...
7
votes
witharrows package reverses text in RTL language?
That problem is not specific to witharrows. It's a problem of the PGF/Tikz nodes (in conjunction with polyglossia and xelatex).
I think that the best solution is to put a command \tikzset{text=.} in ...
6
votes
Accepted
Big gap between two parboxes in modified RTL expex environment
The problem is that \leftskip is used to leave space for the number, but in RTL typesetting the skip is needed on the right.
You can define a \beginskip, which is \rightskip or \leftskip depending on ...
6
votes
bidi package fail with recent version of multicol
You could try this (but there is lots of guessing involved, so I don't know if it will also work in more complicated cases):
\documentclass{article}
\usepackage{multicol}
\usepackage{lipsum}
\...
6
votes
How do I typeset RTL language phrases inside a document with mostly LTR text?
In LuaLaTeX, you can even configure Babel to detect the language you are typing in and select the correct font (and line-breaking) automatically.
\documentclass[12pt]{article}
\tracinglostchars=3 % ...
6
votes
Accepted
How to use a consistent language for headers and footers with babel?
It’s a situation that occurs sometimes, so babel provides the package option headfoot to deal with it:
\usepackage[bidi=basic, layout=tabular, headfoot=hebrew]{babel}
5
votes
Accepted
Bidi algorithm and xelatex
Using lualatex and babel
I recently discovered that babel use basic support for this using lualatex. You still have to use \selectlanguage{hebrew} to switch to a RTL paragraph, but inline bidi seems ...
5
votes
Accepted
ConTeXt: How to typeset Arabic text?
[Disclaimer: Neither do I speak arabic nor do I have any understanding of the arabic script.]
I copied the relevant stuff to setup the arabic font from ara-sty.tex. That is the font features and ...
5
votes
Accepted
Getting right-to-left output in Arabic and Persian/Farsi with pdfLaTeX
Short answer: Instead of \foreignlanguage{arabic} and \foreignlanguage{farsi}, use \AR and \FR.
Firstly, the MWE given in the question (at least as of the current revision) is most certainly not ...
5
votes
Accepted
bidi, RTL and \write
You were lucky that 1 got output, if you use
\documentclass{article}
\usepackage{bidi}
\begin{document}
\showoutput
\RTL
\leavevmode\newwrite\toto
\openout\toto=\jobname.sty
\write\toto{1}ssss
\write\...
5
votes
Accepted
bidi: Strange error tkz-tab package with texlive 2018
tkz-tab loads etex.sty. If I prevent this the document compiles fine:
\documentclass[12pt,a4paper]{article}
\usepackage{fontspec}
\expandafter\def\csname [email protected]\endcsname{}
\usepackage{tkz-tab}
...
5
votes
Latex editor that correctly supports mixed RTL presentation
I don't think it's so clear that what you have seen is incorrect, even though certainly not ideal when working on a LaTeX file.
I'm giving examples of Emacs (available on "all" operating systems, ...
5
votes
How to make cleveref references use a language-sensitive connective between multiple references, when the document's language is Hebrew?
If you look into the cleveref code you can see that language support consist of two parts: At first a language option is defined, followed by a \cref@addlanguagedefs command which repeats everything. ...
5
votes
Accepted
Is there in babel a list of all languages with RTL script supported by the package
They are scripts, not languages. The Arabic script is used by many languages, and the pair script-language, which OpenType calls ‘language system’, is what counts in a locale. The languages with ...
5
votes
Accepted
Tikz sweeps location of text inside node with Hebrew
Add the package option layout=graphics, that is:
\usepackage[english,hebrew,bidi=basic,layout=graphics,provide=*]{babel}
5
votes
Accepted
How do I typeset RTL language phrases inside a document with mostly LTR text?
I advise to use lualatex with babel. It identifies the scripts which require RTL typesetting. In this example I have used Awami which better supports Urdu. Here is an example:
\documentclass{article}
\...
4
votes
Accepted
How to force source code to be written LTR in a RTL document?
In your case better use of
\newfontfamily\arabicfont[Script=Arabic, Scale=1.2]{Amiri}
\newfontfamily\arabicfonttt{Courier New}
Rather then
\setmainfont[Script=Arabic, Scale=1.2]{Amiri}
\...
4
votes
Accepted
Strange behavior of Beamer overlay specification in RTL language
You need to add a line break after the last item of your list, this problem is produced only in right to left context (I don't know what causes this)
\documentclass[12pt]{beamer}
\usepackage{...
4
votes
Accepted
Arabic bibliography in English document: Disconnected letters
As suggested by Salim Bou, change your main font... but locally using {...}:
{
\setmainfont[Mapping=tex-text,Script=Arabic]{Amiri}
\setsansfont[Mapping=tex-text,Script=Arabic]{Amiri}
\...
4
votes
Write Urdu language in ACM template
Update with solution not using bidi or babel
This might actually be your best option given that you just need to insert the occasional Urdu word. It is least intrusive and keeps all fonts the same as ...
4
votes
Accepted
Linguistic trees and right to left
This is quite simple to do in forest. It has a reversed key which can be applied to reverse the order of nodes. This can be applied to an entire tree to get the correct written Arabic word order, even ...
4
votes
Accepted
acmart abstract disappears by using package 'polyglossia'
The problem is that bidi.sty seizes the initiative and changes \maketitle to mean a completely different thing.
You can save the meaning before bidi enters the scene and restore it after the package ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
right-to-left × 276hebrew × 57
bidi × 50
arabic × 48
xetex × 45
babel × 42
polyglossia × 40
luatex × 34
beamer × 27
lyx × 13
horizontal-alignment × 12
xepersian × 12
table-of-contents × 11
context × 11
tikz-pgf × 10
footnotes × 10
color × 9
numbering × 9
persian × 9
macros × 8
enumerate × 7
languages × 7
tables × 6
biblatex × 6
equations × 6