Issues related to bidirectional TeXing

learn more… | top users | synonyms

12
votes
3answers
765 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 ...
12
votes
2answers
508 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} \...
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 ...
9
votes
2answers
1k views

Alignment of page numbers in table of contents

Consider the following example: \documentclass[a4paper,12pt]{article} \begin{document} \tableofcontents \newpage \section{test} \newpage \setcounter{page}{22} \section{introduction} \newpage \...
9
votes
3answers
398 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} \...
9
votes
1answer
336 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 ...
9
votes
1answer
6k views

How to write Persian/Arabic text in a LaTeX document which is mainly written in English?

Actually, I want to add some sentences in Arabic script inside my PhD thesis. Will it be possible just by adding some \usepackage statement in the preamble or need more than this? This is a bit tricky ...
8
votes
3answers
578 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?
7
votes
2answers
339 views

Question about zref bundle (changing the behaviour of footnote rule)

In bidi package, we have three footnote commands \footnote (typesetting RTL footnotes in RTL mode and typesetting LTR footnotes in LTR modes), \RTLfootnote (always typeset RTL footnote), and \...
7
votes
6answers
10k views

Aligning paragraph inside a tabular

Consider the following code: \documentclass{article} \begin{document} \begin{tabular}{|p{5cm}|} \hline \textbf{item 1:} These are some texts to just fill in the first line. \tabularnewline ...
7
votes
2answers
125 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[...
5
votes
3answers
185 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 ...
5
votes
2answers
389 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
5
votes
3answers
277 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
66 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} \...
5
votes
1answer
72 views

Footnote separator is on the wrong direction in Hebrew documents

I am using XeLaTeX and polyglossia for Hebrew typesetting. I have found out that when I am using footnotes (when Hebrew is the default language), they appear on the right direction, but the footnote ...
5
votes
1answer
185 views

Linenumbering per page with XePersian and the traditionalpoem environment

Iā€™m editing an Arabic poem with XePersian and the traditionalpoem environment which works fine so far, but I have some questions regarding the line numbers and the paragraph footnotes. (1) I would ...
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
124 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 ...
4
votes
1answer
230 views

Why shapepar figure shifts to the left?

I modified \SH@restack so that it can typeset RTL shapepars but now the shapepar figures are not centered, can anyone tell me why? \documentclass{article} \usepackage[left=1cm,right=1cm]{geometry} \...
4
votes
1answer
57 views

Declaring Unicode characters for Imperial Aramaic through hebrew keyboard in a non hebrew document

I have very limited experience with regard to .tex, and I am writing this after 6 hours of independent research, the solution might be something very simple, but I just can't find it. Here is the case:...
4
votes
2answers
671 views

Line numbers in traditionalpoem environment?

So I've been trying to get satisfactory results typesetting Persian and Arabic poems, in the traditional format, with XeLaTeX. It works just about fine ā€“ see the sample document below ā€“ but I would ...
4
votes
1answer
631 views

Problem when bidi & hyperref packages are used with custom document class (XeLaTeX)

There is a problem when bidi & hyperref packages are used together and custom document style is used. For example: \documentclass[unicode]{myreport} \usepackage{xltxtra} \author{Author} \title{...
4
votes
1answer
99 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. ...
4
votes
1answer
147 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 \...
4
votes
2answers
159 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
3answers
1k views

Can't type Hebrew with polyglossia

My ultimate goal is to create a beamer presentation in Hebrew. While toying with things, I got stuck with an error: ! Package etoolbox Error: Toggle 'Hebrew@RL' undefined. which is thrown on the ...
3
votes
1answer
107 views

Oops! you have loaded package pgf after bidi package

I keep getting this error in my TeXStudio: Package bidi Error: Oops! you have loaded package pgf after bidi package. Pleocument again. \begin{document} What does it mean?
3
votes
2answers
167 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{...
3
votes
1answer
265 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} ...
3
votes
1answer
624 views

The quickindex option is not working with xepersian package

I have installed TeXLive 2010 on Ubuntu 10.10, when I try to compile a LaTeX file such as: \documentclass{memoir} \usepackage{makeidx} \makeindex \usepackage[Kashida,quickindex]{xepersian} \...
3
votes
2answers
97 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
2answers
94 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 ...
3
votes
1answer
676 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 ...
3
votes
1answer
187 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
2answers
476 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
1answer
28 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 ...
3
votes
1answer
77 views

Handling left-to-right inside right-to-left paragraphs using Emacs and AUCTeX [closed]

I'm using Emacs to typeset a document which has English as its main language but which will use Hebrew and Greek as well. You can see on my screenshot how the \footnote command shows two open ...
3
votes
0answers
150 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,...
2
votes
1answer
193 views

Creating a LaTeX Table from a Microsoft Word Document

I have this multi page word document file which is consisted of a table with two columns. the left column is an English word in front of which in the left column the Persian translation is provided. I ...
2
votes
2answers
108 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 ...
2
votes
1answer
71 views

Mixing Hebrew and English bibliographies?

I have a .bib bibliography that has some entries completely in English and some completely in Hebrew. I'd like to display the bibliography items so that the Hebrew items are justified right-to-left ...
2
votes
3answers
240 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 \...
2
votes
1answer
88 views

A problem with two column footnotes in XeLatex

My file must be compiled by XeLateX and its footnotes should be sorted in two columns in each page. So I use this code in the preamble: \documentclass{article} \usepackage[extrafootnotefeatures]{...
2
votes
2answers
76 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
1answer
508 views

RTL captions with newfloat?

Is it that the float package begins to show its age? I cannot get it to work right with XeLaTeX. Here is an example: \documentclass{article} % compile with xelatex \usepackage{float} \usepackage{...
2
votes
1answer
22 views

Does bidi footnote in English need \textLR on inside?

In the following example, when I compile, "Footnote in English." is backwards. It is inside a footnote which is inside \textLR as follows: \textLR{\footnote{Footnote in English.}} Do I additionally ...
2
votes
2answers
52 views

change columns order using multicols

I've divided a Hebrew paragraph to 3 columns, using \begin{multicols}{3} with \end{multicols}. The problem (since in Hebrew we write from right to left) is that the columns came up in the opposite ...
2
votes
1answer
102 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 ...
2
votes
1answer
187 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 ...