Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bidi]

Issues related to bidirectional TeXing

0
votes
0answers
29 views

File `bidi.sty' not found

I use polyglossia with XeLaTeX on texlive. When I try to run Hebrew documents (according to this page from the Culmus project documentation) I get the following message: LaTeX Error: File `bidi.sty'...
3
votes
1answer
82 views

How do I align a math environment to the right?

I'm trying to wrote a few math formulas, but they go left. The picture will explain: As you can see, the < signs are not in the same line. The code: צד ראשון: \L{ \begin{eqnarray*} 2(i+1) & ...
1
vote
1answer
92 views

Scattered Poems Within Text Using Xepersian

I want the scattered poems used over various sections or chapters ( or for example inside separate boxes) to be treated as a single unit and their lengths be adjusted together. what should I do? *I ...
7
votes
1answer
319 views

A problem with Hebrew and English underlined text

When I'm combined at the same line Hebrew and English, the line below is "breaking" for two lines.... e.g. MWE: \documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl} \usepackage{...
2
votes
2answers
50 views

Caption formatting does not work with bidi

I am using the caption package to format figure and table captions. However, this breaks for longtable tables when the package bidi is loaded. Here is a minimal example: \documentclass{scrartcl} \...
1
vote
1answer
55 views

How to display a Tikz Flowcharts properly in a RTL Beamer document

\documentclass[hyperref=unicode]{beamer} \usepackage{hologo} \mode<presentation>{\usetheme{Warsaw}} \usepackage[nil,bidi=basic-r]{babel} \babelprovide[import=ar-DZ, main]{arabic} \babelprovide[...
2
votes
1answer
33 views

xelatex: bidi problems with RTL character placing

I'm preparing a text on how bidirectional formatting works and using xelatex for that. For this I need to put RTL characters exactly as they are placed in the text, with disabled bidi processing, and ...
0
votes
1answer
33 views

How to complete these side borders in Beamer? [duplicate]

There are some great answers here and here about the same issue but different code samples, in this case I am using a new package beamer-rlCTAN with last update of Babel package, it solves problems ...
1
vote
1answer
67 views

LuaLatex and bidi (Hebrew/German)

Using polyglossia or babel/bidi with LuaLatex seems to cause different problems. In my case I am totally helpless. I need to use the \texthebrew and \RL commands, but I can't get it run. Also, I don'...
2
votes
1answer
43 views

Bidi package messing up line spacing in XeLaTeX

I need to use XeLaTeX with the bidi package in my document. However, after long testing, it turned out that bidi somehow allows setspace to modify the line spacing of the footnotes, but keeps the ...
2
votes
1answer
35 views

eso-pic together with bidi

I built a documentclass which uses the eso-pic package to place content on each page relative to the top left corner. Now I used this documentclass in a document which is (partly) hebrew. For hebrew I ...
1
vote
1answer
69 views

\hangindent and RTL text

while \hangindent works perfectly for left to right text, it does not work for RTL text, with bidi. Cf this example running with xelatex \documentclass{article} \usepackage{polyglossia} \usepackage{...
4
votes
1answer
82 views

Longtable and tikz

I used a preamble for many months where tikz and longtable lived together without problems. From a few days, I think after last update, I have the problem that I have reproduced with the MWE I send. ...
2
votes
1answer
72 views

Hyperref form with RTL main language like Arabic

I would like to typeset an electronic form with Arabic as the main language and English as another language in the same document. I used the xetex engine without success, the layout was messy as you ...
2
votes
1answer
73 views

problem with \NewList in bidi package

The macro \NewList is defined in biditools.sty (originally defined in lollipop) as: \def\bidi@csarg#1#2{\expandafter#1\csname#2\endcsname} \def\NewList:#1 {\bidi@csarg\newtoks{#1}\global\csname#1\...
2
votes
1answer
45 views

longtable package: Stretch height of last row on page “RTL document”

I took a look at this nice answer longtable package: Stretch height of last row on page and I need to apply this answer in my arabic document (right to left document). The problem that I can not get ...
0
votes
1answer
38 views

Beamer overly for table of contents in a RTL presentation

There is the same question Beamer table of contents overly working properly (\pausesections displays two columns simultaneously in TOC) for LTR with this trick: \makeatletter \newcommand{\trickbeamer}...
1
vote
1answer
60 views

RTL frametitle on beamer

Based on this question here How to reduce frame title box size in a special case frametitle is \flushright but text direction is LTR not RTL although i add \textarabic{test} % !TeX TS-program = ...
1
vote
1answer
43 views

Add indentation to subsection for RTL table of content on beamer

Based on this answer here "RTL table of content on beamer" I would like to add indentation to \subsection % !TeX TS-program = xelatex \documentclass{beamer} \useinnertheme[shadow=true]{rounded} \...
0
votes
1answer
102 views

RTL table of content on beamer

I used this answer related to titlebox size, but this causes the TOC be centered or justified if i add \flushright. This code solve the issue partially but suppress numbering bullets (fig1): \...
1
vote
0answers
23 views

Section numbers do not display correctly when Hebrew is loaded as other language by polyglossia [duplicate]

I am using the polyglossia package to write a document which contains English text and a few Hebrew names. There seems to be problem with bidi and scrbook as soon there is an appendix. In this case ...
1
vote
1answer
61 views

Arabic/Polyglossia/Bidi incompatibility with `abnt` package

Using bidi redefines chapter headings and also figure counters with chngcntr back to the default book class behavior. I tried to change the order of the packages, even in the .sty file, to no avail. \...
3
votes
1answer
173 views

Problem with bidi in polyglossia

Any help please for this message error? ! Package Listings Error: direction textdirection unknown. I'm using polyglossia, and getting this error after updating to texlive 2018. I managed to limit ...
3
votes
1answer
90 views

Inverted parentheses in RTL text in LuaLaTeX

I want to typeset Hebrew (RTL) text (either within LTR paragraphs or in its own RTL paragraphs) in LuaLaTeX. I manage to do this well with XeLaTeX using the bidi package, but when I use LuaLaTeX’s ...
8
votes
1answer
390 views

Colors bizarre results with right to left text

I have this example \documentclass[12pt]{article} \usepackage{xcolor} \usepackage{fontspec} \usepackage{bidi} \setmainfont{Amiri} \parindent=0pt \begin{document} {\color{red} text from left to ...
7
votes
2answers
200 views

LTR text where it should be RTL (right to left) in beamer list second level

I have this example of writing right to left list in beamer \documentclass{beamer} \usefonttheme{serif} \usepackage{bidi} \setbeamertemplate{enumerate item}[circle] \setbeamertemplate{itemize ...
3
votes
1answer
68 views

bidi: Strange error tkz-tab package with texlive 2018

I have texlive 2018 on my pc and I'm facing issues with tkz-tab package which were not shown with texlive 2017 ! No room for a new \count . \ch@ck ...\else \errmessage {No room for a new #3} ...
1
vote
2answers
141 views

RTL multicols table of contents on beamer

I want to use Multicols for table of contents on Beamer for Arabic document, the problem that it starts from left column not right column here is my MWE: % !TeX TS-program = xelatex \...
0
votes
1answer
111 views

Where is babel bidi support and font loading documented?

Closely Related: - https://tex.stackexchange.com/a/355429/153289 - Cannot produce english-greek document with xelatex - Greek and Hebrew in a single pdflatex babel document In closely related ...
1
vote
0answers
50 views

Number+period positions flipped - only with some TeXLive versions

I'm compiling the following document: \documentclass{minimal} \RequirePackage{fontspec} \RequirePackage{polyglossia} \setmainlanguage{english} \setotherlanguage{hebrew} \begin{document} This ...
3
votes
0answers
360 views

What is the best text editor for bidi texts? [closed]

I want to write latex in both Latin as well as Persian using TeXLive and xepersian package. I have experiences with Texstudio but I need an editor which avoids two problems: 1-crazy cursor: ...
0
votes
1answer
159 views

problem building bidi package

I downloaded the most current zip file for the 'bidi' package from CTAN and attempted to build it. First I ran sudo latex bidi.ins which ran with no errors. Next, I ran this: sudo latex bidi.dtx ...
8
votes
2answers
221 views

Suppress `bidi`'s logo when using `polyglossia`

Using the latest version of bidi (32.4), a logo is added to the first page's footer, reading Typeset by the bidi package. This is obviously undesirable when composing a document meant to be viewed by ...
10
votes
1answer
592 views

tikz: Right to left text within text along path

I have this example to write text along path using decorations.text library, and I want to insert arabic text starting from right to left \documentclass[border=5mm]{standalone} \usepackage{tikz} \...
2
votes
2answers
75 views

Numbers are reversed in \hbox with the bidi=basic-r babel option

I know that (in the words of the manual) bidi support in babel is taking its first steps, but there are already some things I'm liking better than the xelatex + bidi approach. So, I'll ask anyway :). ...
4
votes
2answers
234 views

Bidi algorithm and xelatex

Is there a way to make xelatex follow the standard bidi algorithm? I'm using setup similar to this: \documentclass[12pt]{article} \TeXXeTstate=1 \usepackage{polyglossia} \setmainfont{Linux Libertine ...
1
vote
0answers
159 views

How to number formulas in Arabic or Persian text

In an Arabic document I have this code for 2 formulas: \begin{equation} a=b+c\tag{{alpha}} \end{equation} \begin{equation} d=vt \end{equation} In the PDF output the parentheses around the formula ...
1
vote
1answer
191 views

Making enumerate items align at left while using xepersian

I am in a trouble to make enumerated items at the left: \documentclass{article} ‎‎ \usepackage{xepersian}‎‎‎ \usepackage{amsmath,amsthm,amscd,amsfonts,amssymb,enumerate}‎ \settextfont[Scale=1.1]...
1
vote
2answers
319 views

How can I defer the loading of the bidi package?

I'm maintaining a document class which loads the bidi package. bidi is very picky about loading order, and must be loaded after: float, graphics, ntheorem and a bunch of others. The thing is, my ...
5
votes
1answer
286 views

Can I make polyglossia use the old-style Hebrew fonts?

I really like the way the "old" Meta-Front Jerusalem Hebrew font looks (it used to be the default for typesetting Hebrew when you used babel). Now that I've started using Polyglossia, I really miss it....
2
votes
1answer
135 views

\qedhere in RTL documents

In RTL documents, the QED symbol typically appear on the left side of the page, at the last line of the proof (flushed). Many proofs end with an equation, and it those cases it is customary to use the ...
1
vote
2answers
163 views

\noindent has no effect when surrounded by bidi markers

Why does xelatex indent the first line of (Hebrew) text in the pdf obtained from the following LaTeX manuscript? \documentclass{scrartcl} \catcode8198=10 % Left-To-Right Mark \catcode8199=10 % Right-...
2
votes
1answer
466 views

How to typeset Arabic text using ConTeXtgarden?

I am new to ConTeXt world, however what I need to achieve is simply to be able to typeset Arabic/Hebrew text along with English text (Bidi) in ConTeXt. I came across this part of the context garden ...
0
votes
1answer
176 views

Showing English numbers with XePersian and Minted

This is my code: \documentclass{article} \usepackage{xcolor} \usepackage{minted} \usemintedstyle{colorful} \usepackage{xepersian} \settextfont{B Nazanin} \definecolor{mintedbackground}{rgb}{0.95,0....
1
vote
0answers
133 views

How to use csquotes foreignquotes with RTL languages?

I'm having trouble getting csquotes foreign quotes to work neatly with RTL languages (in my case Hebrew). Am I doing something wrong or is there a bug somewhere? \documentclass{article} \usepackage{...
2
votes
0answers
281 views

KOMA-script vs. memoir for non-English and multi-lingual documents

There have been several posts in this forum over the years asking for a comparison between KOMA-Script and memoir, but none of them - to the best of my knowledge - touched on the aspects of non-...
1
vote
1answer
426 views

Error related to bidi or arabxetex: Command \XeTeX already defined

I get a non-fatal error when I run the following MWE: %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode \documentclass[12pt]{article} \usepackage{geometry} \geometry{letterpaper} \usepackage{...
1
vote
1answer
429 views

Setting text in OnehalfSpacing, footnotes SingleSpacing with memoir

I'm using the memoir class, which is great, to set a dissertation. Unfortunately I have to use double spacing (for which I'm actually using OnehalfSpacing). When I do this, the whole document gets set ...
2
votes
1answer
110 views

Generating a table from values in CSV file with bidirectional text

I want to generate a table from values inside csv file which have the following properties: They include bidirectional text; some columns have English text (a left-to-right language) while others ...
2
votes
1answer
235 views

\bidi@@RTLfootnotetext@font undefined to use xepersian

I'm gonna run the following test code by MikTeX 2.9: % !TeX document-id = {8717fdc4-fa28-4491-9dd0-c8b7338defce} % !TeX program = xelatex \RequirePackage{luatex85} \documentclass{article} \...