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 [xepersian]

{xepersian} is a package for typesetting Persian/English documents with XeLaTeX.

1
vote
0answers
24 views

wrong group titles in glossaries, using xepersian and xindy

I am using TeXworks to write my Phd thesis in Persian by use of xepersian package. Trying to print 3 glossaries at the end of thesis, I have p roblem with xindy. More specifically, in Persian to ...
3
votes
2answers
108 views

Combining translation of Quran package line by line with its original Arabic text

I want to place the Persian translation of quran package =\quransurahfa*[1] right below the original text=\quransurah*[1] of this code : \documentclass[b5paper,11pt]{memoir} \usepackage[left=1.8cm,...
3
votes
1answer
56 views

Fontspec error: My favorite fonts could not be identified

I'm trying to add Persian text to my document, however, my favorite fonts (which already have been installed on Windows 10 and I use them on Microsoft Word) can not be identified. ! fontspec error: "...
2
votes
1answer
33 views

Error on using “\rl{}” inside “inline math”

I use TeXstudio 2.12.16 and want to write Farsi words in \cancelto{value}{expression}. So I used xepersian package and \rl. What I tried is: \documentclass{article} \usepackage{tikz} \usetikzlibrary{...
0
votes
1answer
26 views

Problem in using fncychap and xepersian packages

I want to use a different style for the book document class. I found out that I have to use fncychap package with an option. Since I'm using the xepersian package, it did not work. How can I have a ...
1
vote
1answer
95 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 ...
0
votes
0answers
22 views

algorithm syntax in latex

I use latex for my thesis but my language is persian and I have to use xepersian package . recently I have a problem and when I use algorithm and algorithmic package , my algorithm'code become ...
2
votes
1answer
62 views

Typesetting critical footnotes in reledpar package from right to left

I want to typeset two Persian (Arabic) text in parallel facing pages with reledpar and xepersian packages. I have done but critical footnotes is written from left to right. How I can have critical ...
2
votes
1answer
52 views

How to remove the empty white space in Background for Xebaposter

Using background for a poster using Xebaposter shows an empty space on the left margin as shown in figure1, this quetion is based on this anwer. \def\pgfsysdriver{pgfsys-dvipdfm.def} \RequirePackage[...
2
votes
1answer
66 views

Not showing Sidebar Theme Berkeley in xepersian

% XeLatex % Not showing Sidebar Theme Berkeley in xepersian! \documentclass{beamer} \usetheme{Berkeley} \usefonttheme{serif} \usepackage{xepersian} \settextfont{XB Zar} \...
0
votes
1answer
61 views

Equation Defintion Alignment Using Xepersian

The following code will define a new environment which will arrange the definitions of equations. I want the explanations start from right side, but the equations inside definition align left and ...
1
vote
1answer
70 views

Placing pagenumber in a Tikz shape

Im writing a book in Persian (whose direction is right to left) and i want the page numbers appear like the code below: \documentclass[12pt,twoside]{book} \usepackage{tikz} \usepackage{...
2
votes
0answers
109 views

Extracting pages of Xelatex created PDF in Acrobat requires password

I have a .tex file and after compiling with XeLatex , when I want to extract pages of the PDF or open a single-page PDF in Illustrator, it tells the file is Password-Protected (in Adobe Acrobat, no ...
2
votes
0answers
111 views

Distortion of Farsi alphabets to unknown alphabets

I have some TeX files (including formulas, tables, etc.) written under DOS (but the format is .tex), and want to read them by LaTeX. The language is Farsi. I tried to open the TeX files with Texmaker ...
1
vote
1answer
165 views

Quality and efficiency of my code in LaTeX3?

As an exercise in learning LaTeX3, I would like to replace the following 7 functions, copied from xepersian.sty which do the same job in xepersian package, with a single function. 208 \...
0
votes
1answer
122 views

How to check the existence of some characters in a font using a loop?

I am trying to modify the current version of xepersian package to suit my needs. The following code copied from xepersian-mathsdigitspec.sty is supposed to check if some characters do exist in the ...
2
votes
1answer
74 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
258 views

xepersian 21.9 cannot load the font “Psychedelia HM”. Is this a bug?

After upgrading my texlive, xepersian 21.9 can not load the font which is loaded without any problem by the older version 21.7. My code is: \documentclass{article} \usepackage{xepersian} \...
0
votes
1answer
78 views

MathTime Pro 2 [lite] doesn't change \sin function font

I am writing bidirectional Persian+English text using xepersian and for math mode i try to use MathTime Pro 2 lite version BUT: It doesn't change \sin, \cos function font (it uses LMRoman for this ...
1
vote
1answer
92 views

Getting error for xindy glossary

When I use xindy for producing glossary in XeLatex I getting the following error: xindy.pl: input file xindy -L persian-variant1 -C utf8 -I xindy -M %.xdy -t %.glg -o %.gls %.glo | xindy -L persian-...
1
vote
1answer
87 views

problem with persian words in tikz

I want to have a circular flow including persian words (employing xepersian package and xelatex compiler is necessary for persian language) using tikz picture, but latex makes characters of persian ...
0
votes
0answers
52 views

Controlling vertical space between text and underline in ulem

I'm using ulem to add colored underline for sections. but underline is crossed through text: But I want something like this: I'm generating colored and underlined section using this: \...
1
vote
1answer
121 views

glossary and abbreviation showing problem in Xepersian(shown in blank pages)

I have 2 question about making glossaries in xepersian. In the below code actually there are 2 problems. Not showing the glossary and abbreviation sections in my output.In the out put, I just get 2 ...
1
vote
1answer
81 views

Learning to write an article with Xepersian from a to z [closed]

I have to make a Latex file out of my article in three days and my article is in Farsi.I downloaded Miktex,winedt10,Texlive... but I don`t know how to use the xepersian packages and I need to learn ...
3
votes
2answers
93 views

customize multicolumn footnote XeLaTeX

I want customized footnote with this specification in document: 1) footnote number appear superscript in text body (like: foo1 foo2 foo3 foo4) 2) footnote number appear as normal number in ...
0
votes
1answer
243 views

Problem running xepersian with xelatex

I have to test something with the Persian language but it already fails in the preamble. My MWE: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage{xepersian} \settextfont{B Zar} \begin{...
0
votes
1answer
51 views

Quotes face the wrong way with xepersian and csquotes

When I try to use csquotes along with xepersian, the quotation marks come out facing the wrong way (for right-to-left text). \documentclass{minimal} \usepackage{xepersian} \settextfont{XB Niloofar} \...
2
votes
2answers
104 views

Xepersian inverse decimal numbers with period (.)

For example 2.41 becomes 41.2 \documentclass{book} \usepackage[format=hang, labelfont=bf]{caption} \usepackage{xepersian} \settextfont[Scale=2]{Times New Roman} \setlatintextfont[Scale=2]{Times New ...
0
votes
0answers
97 views

different table border style latex

I have a table in Microsoft office which is too complicated to do it again in Latex. I used this site to generate table because I don't know LaTeX well enough to do it in LaTeX. the result of the ...
1
vote
0answers
183 views

Black box appears instead of image

I've included three JPG images in my LaTeX document the first image load perfectly but it won't load the next two images even though the image is saved in the same folder. Here the packages I used: \...
0
votes
0answers
68 views

Side by Side minipages don't write the text below

I need something like this shape: in Xepersian. I used minipage and enumerate but I couldn't get the correct result. Actually, I couldn't write امضا in bottom of the left minipage. I would appreciate ...
1
vote
1answer
210 views

What is the problem with compiling this tex file?

This is a moderncv in Persian. I used to compile it smoothly but now I cannot. The error it says is as follows: untitled-3.tex 15 Undefined control sequence. l.15 \cvtheme [blue]{...
0
votes
1answer
42 views

`and` author separator in `.bib` file doesn't work correctly as `,` ( using xepersian)

Hi Actually I want to write my references in latex using xepersian package. Actually I searched for separating article's authors on the internet. I found out that I should use and between authors. ...
3
votes
0answers
362 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: ...
3
votes
1answer
779 views

How to use Notepad++ together with TeX Live to write LaTeX?

I want to use Notepad++ as my text editor. However, I need to use TeX Live as the engine. The reason for the latter is that I want to write Persian using xepersian package and that works with TeX Live ...
2
votes
1answer
56 views

Uneven line-spacing with xelatex and memoir

My document uses the memoir-class and I compile it with XeLaTeX. It seems that the linespacing varies throughout the document. Here is a MWE that shows the issue: \documentclass[14pt, extrafontsizes]{...
2
votes
1answer
273 views

Writing English in Farsi text makes it non-aligned(TeX can't find a good place to break the lines in the paragraph)

Hi I wrote 2 English title in a Persian text but because of the length of those titles,some Farsi words get out of the line how can I fix this issue ? my code : \documentclass{report} \...
0
votes
1answer
178 views

How to reference to optimization problem which is defined by optidef package

Hi I'm new in tex and I'm using optidef and xepersian packages in latex. There is a problem , I can not reference to my optimization problem . I wrote this simple code : \begin{argmini} %\...
0
votes
1answer
100 views

text alignment between Farsi and English in Tex studio (Using XEpersian)

My problem is related to my editor ( Tex studio). I am going to use XEpersian and write Farsi in Tex studio but there is a problem! when I write English between Farsi text, the alignment between ...
0
votes
1answer
92 views

Multibib doesn't work with Xepersian package

I try to use Multibib package in Xepersian, but does't work, this is my MWE: \RequirePackage{filecontents} \documentclass{article} \begin{filecontents*}{MyReferences.bib} @MASTERSTHESIS{...
1
vote
1answer
216 views

Xepersian package: persian vs arabic numerals for sectioning headers

I am using xepersian as a main package for my thesis in Arabic languge, i had the problem of bibliography with LTR and RTL references in polyglossia, I want to make Arabic numerals as a main numbering ...
1
vote
1answer
216 views

Persian-bib with Polyglossia and Xepersian packages

I'am writing my thesis in Latex with Polyglossia package where Arabic is the main language, I have a problem with the inverted comma in Arabic citations nad references, shows this (,) but it should be ...
0
votes
1answer
89 views

Having trouble with running xepersian

I try to use XeLaTeX to compile \documentclass{article} \usepackage{xepersian} \begin{document} Hello World \end{document} And I get the following error: Runaway ...
1
vote
1answer
76 views

How Can I put two figures beside in floatrow environment?

I have written my PhD thesis in Persian language using xepersian package. I want to put two figures beside. I use floatrow environment. In this case, figure 1 appears in left and figure 2 appears in ...
0
votes
0answers
110 views

Issue compiling with foreign fonts on MikTex 2.9

I recently installed MikTex 2.9 and TexMaker on my Windows 7 machine. I tried compiling the following example: \documentclass{book} \usepackage{xepersian} \settextfont{XB Niloofar} \begin{document} ...
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
1answer
213 views

Error while using table* with XePersian package

When I use table* while having XePersian package, I get this error: Incomplete \iffalse; all text was ignored after line 10. A sample that returns this error is this one: \documentclass[12pt,...
0
votes
1answer
64 views

How to change footnote number position without losing other properties?

I have the following document: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} %\...
0
votes
1answer
168 views

Xepersian equivalant persian commands not working

I am getting an error of "Undefined control sequence." while using equivalent Persian commands in xepersian. for example: \شروع PS:I have downloaded the newest version of Mactex.
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....