Issues related to bidirectional TeXing

learn more… | top users | synonyms

12
votes
2answers
519 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} \...
12
votes
3answers
768 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 ...
9
votes
3answers
403 views

amsmath - bidi - siunitx possible bug?

MWE: \documentclass{article} \usepackage[english]{babel} \usepackage{fontspec} \usepackage[detect-all]{siunitx} \usepackage{amsmath} \usepackage[math-style=ISO,bold-style=ISO]{unicode-math} \...
5
votes
2answers
305 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 ...
5
votes
1answer
99 views

polyglossia or bidi bug: [\d\.] gets inverted to [\.\d]

After bidi was updated to v. 19.6 (2016-05-23), using at least one RTL language with polyglossia leads to number and following dot being inverted. Cf. \documentclass{book} \usepackage{polyglossia} \...
4
votes
3answers
2k 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? \...
4
votes
1answer
50 views

How can I correct for a bug in ArabXeTeX that causes problems in left-to-right text?

There seems to be a bug in the arabxetex package that came with the new MacTeX 2016 distribution. The problem I have noticed is not in Arabic text but rather in ordinary left-to-right text. In ...
1
vote
1answer
115 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{...
0
votes
1answer
51 views

Latin characters with accents inside a Hebrew paragraph

This question is closely related to this one. I am trying to enter Latin characters with accents into a Hebrew paragraph, using XeLaTeX + polyglossia. It turns out that if I don't use the english ...
9
votes
5answers
3k views

Is there a way to print two tikzpictures next to each other marked with a and b?

I have the following code that should print the two figures next to each other with an a to the left of the first figure and a b to the left of the second one. The code below does this, but everything ...
1
vote
1answer
149 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} \...
4
votes
1answer
100 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. ...
3
votes
2answers
170 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{...
2
votes
1answer
109 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
112 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
1answer
436 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 ...
0
votes
1answer
85 views

English text inside a Hebrew paragraph

I am using XeLaTeX + polyglossia for Hebrew typesetting, and this works wonderfully. However, recently I needed to incorporate English words inside Hebrew paragraphs. This compiles wrong, as it ...
0
votes
0answers
31 views

RTL support in Arabic with ucharclasses

I'm having difficulties embedding Arabic in English text. Here's a MWE: \documentclass{article} \usepackage[no-math]{fontspec} \setmainfont{Noto Serif} \usepackage{ucharclasses} \usepackage{bidi} \...
0
votes
2answers
239 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/...