Questions tagged [bidi]

Issues related to bidirectional TeXing

Filter by
Sorted by
Tagged with
1
vote
1answer
174 views

Two problems with bidi polyglossia footnotes

This MWE shows two problems I am encountering with footnotes when using polyglossia (mainlanguage Arabic, otherlanguage English). Notice how the punctuation in the footnote reverses position next to ...
2
votes
2answers
123 views

`tabular` and `bidi` strange behaviour

I am using polyglossia (arabic and english) and a conditional environment that I can turn off and on, representing the teacher's version. In the MWE below, I have three single rows in tabular and I ...
7
votes
3answers
373 views

Order of words disturbed by using polyglossia with rtl language?

When having \setotherlanguage{hebrew} active, then even in an english environment it reverses the order of words in a \text{} and scrambles the labels for equations. Here is a minimal working example ...
4
votes
1answer
327 views

Matching alignment of two minipages

I want two minipages side by side, aligned to the margins and the tops aligned to each other. I have read this previous answer but I think my problem is different and related to bidi. In the MWE ...
2
votes
2answers
145 views

minipage breaks bidi

I am using XeTex and polyglossia for two languages {arabic and english}. The main language is arabic. When I set a minipage and put some mixed language paragraphs inside it, the left-to-right ...
2
votes
2answers
204 views

problem with this code for traditional numberline

I want to typeset poem verses that are numberedline. use with this code: \documentclass[a4paper,12pt]{article} \usepackage[colorlinks=true]{hyperref} \usepackage{xepersian} \settextfont[Scale=1.2]{...
1
vote
1answer
80 views

Memoir sheetsequence counter does not increment when bidi is loaded

I would like to use \thesheetsequence in the trim area (sheet-number.tex) as described in the Memoir documentations but the counter does not increment (it always shows 1) and \thelastsheet is always 0....
1
vote
1answer
158 views

Empty frames in beamer in case of RTL languages without tikz package, xelatex engine

I can not understand why all components of a beamer presentation are not showing (really empty frames) with this MWE \documentclass{beamer} %\usepackage{tikz} \usepackage{polyglossia} \...
1
vote
1answer
158 views

change script of footnote label in bidi

I am using Memoir and polyglossia (including fontspec and bidi). My document contains text in Arabic script and Latin script. I'd like the footnote labels (footnotemark) to display in the defined ...
5
votes
2answers
564 views

RTL with tabluar

This is a question about xelatex, even though I mention LyX here. My goal is to produce an RTL table with one row, two columns, which looks more or less like that: ...
3
votes
1answer
140 views

How do I make a RTL footnote in eledmac in the paragraph-style?

In a previous question, Salim Bou helpfully provided a solution to getting RTL footnote rules in eledmac. Building on this, I wish to ask now to typeset a critical apparatus series as one paragraph. ...
2
votes
1answer
289 views

How do I make a footnote rule RTL in eledmac?

In eledmac, how do I get the the footnote rule to be RTL, i.e. to begin at the right margin, as opposed to the left? I am using polyglossia and the bidi packages with Memoir, and eledmac for its ...
1
vote
0answers
20 views

How to render “<from>-<to>” if <to>is in a right-to-left script? [closed]

There is a volume of the Appendix of the amazing Print Wikipedia publication which lists contributors to Wikipedia. The first contributor listed in this particular volume is "Xholierthanthou". The ...
0
votes
0answers
117 views

The commands for bidi package do not autocomplete?

I have installed the bidi package on my Texlive 2014 and It works well, however the auto-complete on my TeXstudio (version 2.9.4) do not work for the bidi package's commands. I checked the configure ...
0
votes
0answers
101 views

multicol has strange horizontal offset when page cut close to end of columns in bidi mode

multicol works great for me, and so is bidi. this changes for some rare occasions when I change multicolsep. this is my MWE: \documentclass{book} \usepackage{multicol} \usepackage{bidi} \begin{...
1
vote
1answer
273 views

Selectively showing latin numbers whithin a xepersian document paragragh

Consider the following document: \documentclass[10pt,a4paper]{report} \usepackage{xepersian} \settextfont{FreeFarsi}% http://sourceforge.net/projects/fpf/ \begin{document} این یک متن فارسی است. \LR{...
2
votes
1answer
492 views

XeLaTeX - gb4e example numbering in footnotes - Interaction with polyglossia package?

I thought the gb4e package for linguistic example typesetting would provide automatic switching of the numbering scheme between main text examples and examples in footnotes. This is not the behavior I ...
1
vote
1answer
509 views

XeLaTeX, bidi, hyperref, longtable conflict

Take a look at this XeLaTeX file: \documentclass{memoir} \usepackage{longtable} \usepackage{hyperref} \usepackage{bidi} \begin{document} \begin{longtable}{l} x \end{longtable} \end{document} ...
2
votes
1answer
193 views

Biblatex authoryear-icomp doesn't work as expected with polyglossia hebrew support on

I use biblatex combined with polyglossia Hebrew support: \documentclass{article} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{hebrew} % Line which causes the problem! \...
2
votes
2answers
182 views

tcolorbox and bidi behaviour

When using bidi with tcolorbox package the box is not inline with the text. Running the MWE with bidi commented or not makes it all clear. Can somebody explain this behaviour and possibly come up with ...
1
vote
0answers
236 views

soul package for wavy underline with bidi does not compile

I am using the soul+tikz code provided by Gonzalo Medina in Red squiggly imitation to get a wavy underline All works well until I include the raqgged2e and bidi packages. At compile time I get ! ...
1
vote
0answers
170 views

Listing caption numbers are reverse in the list of listings [closed]

Consider the following code: \documentclass[a4paper,10pt]{book} \usepackage{listings} \usepackage{xepersian} \settextfont{FreeFarsi}% http://sourceforge.net/projects/fpf/ \DefaultMathsDigits \...
0
votes
2answers
318 views

highlighting RTL text - ulem with bidi and color

following this: https://tex.stackexchange.com/a/48549/22969, I tried this code: \documentclass{article} \usepackage{ulem} \usepackage{xcolor} \usepackage{polyglossia} \setdefaultlanguage{hebrew} \...
0
votes
1answer
251 views

Comma links in LTR texts in RTL arabic document

I insert an english fragment into arabic text. If there is a comma after a digit, I get surprising result. The comma goes before the number, not after. The font above is "Amiri". I tested also "...
2
votes
1answer
275 views

Wrong pdflastxpos value with XeLaTeX+bidi

The answer from Vala helped me to rephrase my question. See the original one below. Using pdfsavepos to get absolute position of texts on the page, I faced the following problems when using XeLaTeX ...
2
votes
1answer
1k views

Double-spacing in text but not footnotes in memoir class while using arabxetex

The memoir class's \DoubleSpacing command without an asterisk (*) is supposed to double-space the text but not the footnotes or float text. However, when the arabxetex package has been loaded, this ...
3
votes
1answer
239 views

Tex studio- Bidirectional

I am using the xepersian package in Texstudio. The logical way of writing maths in Persian in Tex is that one writes in persian and when they press dollar, the font switches automatically to English. ...
8
votes
1answer
733 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
281 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}} \end{...
7
votes
2answers
142 views

Why are not the dotted line and the page number showed up while using the acronym package with the xepersian package?

In the code below, despite using the withpage option, the dotted line and the page number are not showed up in the output pdf. How can I fix this problem? \documentclass{book} \usepackage[...
6
votes
2answers
944 views

Equation numbers are shown in reverse parentheses

I am using \begin{equation} a = b \end{equation} to write the equations in my paper. However, the problem is that the number related to each equation is not shown in the correct format like the ...
1
vote
1answer
328 views

bidi causes reversed parentheses in equation numbers

When writing a Hebrew document using xelatex, bidi, and polyglossia, equation numbers are in reverse parentheses. How can I fix this? MWE \documentclass[a4paper, twoside, titlepage, 11pt]{report} \...
2
votes
0answers
132 views

clipbox with bidi

this is my code, compiled by xelatex: \documentclass{book} \usepackage{lipsum} \usepackage{trimclip} \usepackage{polyglossia} \setdefaultlanguage{hebrew} \setotherlanguage{english} \newfontfamily\...
2
votes
2answers
691 views

Beamer themes and bidi problems

I'm trying to write a Hebrew beamer presentation. I found some very nice template that actually worked from the box (which you can find in this very link, source and author's compiled output) but ...
1
vote
1answer
190 views

Issue with arabxetex and equation numbers

There seems to be some issue with printing equation numbers when using the arabxetex package. Here is a minimal example: \documentclass{article} \usepackage{arabxetex} % %\usepackage{bidi} % \...
2
votes
1answer
2k 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 ...
0
votes
2answers
341 views

bidi and hyperref change hyphenation

I try to compile th following document. If I load both bidi and hyperref, Mittelbach is not hyphenated. If I comment out one of them, everything is fine. The bstfile is here: http://celxj.org/...
14
votes
2answers
1k 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} \...
3
votes
1answer
307 views

verbatim with Arabic script

I try to put together guidelines for linguists. One part concernes typesetting right to left text with the bidi package. I want to use verbatim for the code, but the Persian characters are not printed ...
3
votes
1answer
272 views

Right to Left in LaTeX

Is there a way to typeset with both RTL and LTR languages in the same LaTeX document, without use XeTeX? All the solutions I have seen (bidi, polyglossia, etc) require XeTeX. Basically, I make using \...
6
votes
2answers
628 views

Typesetting alternating text left to right and right to left

Out of curiosity: Can I typeset alternating from line to line left to right and right to left? Hello, I actually txet elttil a ma with no meaning
1
vote
1answer
278 views

Biblatex + Xetex + memoir in Urdu: how to modify headings

Although a Newbie, I have been using XeteX, bidi and BiblateX with great success in Urdu. I have alphabetical footnotes with most of the secondary sources in the endnotes. The endnotes and ...
5
votes
2answers
909 views

hyperref changes footnotes of Koma script

I defined footnotes to insert a colon between \footnote{bla}\footnote{bla}. But when I load hyperref this is destroyed. In addition KOMA removes space at the beginning of a footnote, while hyperref ...
3
votes
0answers
179 views

Why there is a white space in the right side when using wallpaper & polyglossia in TexLive 2013 [closed]

when I use wallpaper & polyglossia there is a white space in the right side of the page. Please test this: \documentclass[a4paper]{book}% \usepackage[no-math]{fontspec} \usepackage{xltxtra,url,...
8
votes
3answers
1k views

How to insert RTL citations in a LTR article using BibTex?

How can I insert a RTL citation (e.g Persian) in a LTR (e.g. English) article using BibTeX?
1
vote
1answer
223 views

Can't use \left. … \right| in a custom environment

I'm writing a Hebrew (RTL) document with equations and I compile it with xelatex. The equation numbers are wrong and I have found that placing \LTR tag before the equation fix this. I have created an ...
3
votes
2answers
114 views

List renders incorrectly

In output of following LaTeX markup, the list is rendered incorrectly. What is wrong with it? \documentclass{article} \usepackage{fontspec} \newfontfamily\faFont[Script=Arabic]{Tahoma} \...
3
votes
3answers
298 views

\ref doesn't work in math mode if hyperref and bidi packages are loaded [closed]

Is \ref supposed to work in math mode? If hyperref and bidi are loaded, it generates errors: \documentclass{article} \usepackage{hyperref} \usepackage{bidi} \begin{document} Testing labels with \...
3
votes
1answer
369 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} ...
5
votes
3answers
3k views

Inserting some Arabic script in an English article

Until now I was using XePersian package to typeset Persian articles, now I want insert some Persian word in an English document, what is minimum code to do that without using XePersian package? \...