Questions tagged [xepersian]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

problem with showing \ae inside a formula in xelatex

when i write an equation that contains $\ae$ and run it in xepersian, it won't show it and instead it shows a blank space. I can only write it in text by using \lr{\ae} or begin{latin}\ae\end{latin} ...
1
vote
0answers
21 views

Disappear part of some text in multicols with xepersian package

Happy new year. The first columns in the multicols environment disappear when using xepersian package. (I updated TeX Live today) versions: multicol.sty 2021/10/28 v1.9b multicolumn formatting (FMi)...
0
votes
1answer
52 views

Persian letters do not work

I'm trying to use Persian letters. How can I add a Persian word now ? I do not follow the doc here. \documentclass{article} \usepackage{xepersian} \settextfont{XB Niloofar} \begin{document} \begin{...
1
vote
0answers
31 views

Xelatex extended mode

I want to compile a simple file as follows : \documentclass{article} \usepackage{xepersian} \settextfont{Yas} \begin{document} سلام دنیا! \end{document} but I get an error. Here is the log file : ...
0
votes
0answers
22 views

problem with glossaries in latex

In my thesis, I used to run these lines of code in order to get glossaries. I can no longer see those after installing the new version of xindy, even after compiling these codes. FYI my document is in ...
0
votes
1answer
52 views

How to use multiple fonts for different languages?

I'm using xelatex with xepersian package. What I'm trying to do is to use a specific font for Persian parts of the text (Persian/Arabic Unicode characters) and another one for English parts (English ...
0
votes
0answers
43 views

Installation texlive 2018

I need texlive 2017 and texlive 2018 for running my thesis file; because xepersian package dose not work by texlive 2021. Which site I can use to downloading it? Thanks in advance
1
vote
1answer
56 views

How to import a certain open math font (Xepersian)

Here is my MWE: \documentclass[a4paper,openany,12pt]{book} \usepackage[a]{esvect} \usepackage[utf8x]{inputenc} \usepackage{amsmath,...
4
votes
1answer
297 views

Something is wrong with `\setmathdigitfont` of XePersian

From 2014 until 2020 I have used of a tex template that is working not so bad and was error-free. But after installing TeXlive 2021 it is rapidly produce error after calling \setmathdigitfont{Font ...
0
votes
3answers
75 views

Problem with typesetting Persian, Greek, Hebrew

So, I am trying to write the following sample text, and when I type \begin{hebrew} נְשִימָה \end{hebrew}, all the rest of text goes all wrong. The same issue arises with Greek word. "لفظ (anima ...
1
vote
1answer
79 views

Troubled in write some farsi (persian) characters in a portuguese document

I am new in LaTeX and I am writing a thesis that is entirely in Brazilian Portuguese using the overleaf online editor, these last 3 days I am trying to insert some Farsi (Persian) words in a table, ...
0
votes
0answers
32 views

Change number style in table contents and page number

I need to change the number of pages and table contents to be (١،٢،٣،٤،٥،٦) instead of Farsi numbers. How can I obtain this in book class using \usepackage{xepersian} \documentclass[12pt,onecolumn,...
1
vote
0answers
29 views

Cases in Farsi text

I want to use case in Farsi text.Something like this: Thank you
1
vote
0answers
20 views

How to Increase the counter for subfigures in Xepersian?

I am using subcaption for using subfigure environment. In one of my figures, I have more than 26 subfigures. I tried to use the alphalph package as the simplest solution I could find: \usepackage{...
0
votes
1answer
58 views

Use two font in latex

I'm completely new to Latex/XeLatex and I want to use two different font in my document: I want to write Persian letters in 'B Zar' font family and English letters in 'Times New Roman' font family. ...
2
votes
1answer
99 views

How to use Acro with English and another RTL language

I would like to use Persian or Hebrew and English in Acro package, but it doesn't work simply, and for the list of acronyms, I want it to fit within the same line. %!TEX program = xelatex \...
2
votes
2answers
62 views

Problem in using ‍`exercises` and `xepersian` packages at the same time

I want to type some exercises at the end of a certain chapter in a book. Furthermore, I'm using the xepersian package to type the book in Persian. I have got some problems in using the exercises ...
1
vote
1answer
50 views

how to get cross references for multiple items Persian language

I would like to get a cross reference for multiple items using cleveref, but the problem is with that "and"; it shoould be "و". \documentclass{article} \usepackage[colorlinks,...
4
votes
2answers
186 views

Pashto Alphabets in Latex

I am writing a paper on Latex (overleaf) that has some Pashto writing. I found this package, ArabTeX, but it only works for the Arabic and Farsi alphabet, not for Pashto special letters. For example, ...
1
vote
0answers
51 views

I can't run this latex script [duplicate]

I've installed latex with sudo apt install texlive-full and sudo apt-get install texlive-lang-arabic . I'm using Texmaker. But I can't run the script below: \documentclass[12pt,a4paper,oneside]{report}...
1
vote
0answers
581 views

TexLive: Cannot find Arial/OT.mf. ! Package fontspec Error: The font "Arial" cannot be found

OS: Windows 10 Pro Hi everyone! last night I compiled an old Tex file using XeLaTex and texlive2019. These errors happened: Package fontspec: The font "Arial" cannot be found. Font TU/Arial(...
1
vote
0answers
33 views

Can we use specific packages for some parts of the LaTeX document, or how can we handle possible interference between English and Persian Styling?

I am trying to build my Ph.D thesis in a template which has been basically set for Persian language. The template is wonderful when everything is persian. But there is a problem. I need to add my ...
0
votes
0answers
159 views

Problem with compiling xepersian in LaTeX

I have a question about xepersian package. I'm familiar with LaTeX, but a beginner with xepersian. I tried to compile this simple code with TeX Live 2017: \documentclass{article} \usepackage{xepersian}...
1
vote
0answers
378 views

Undefined Control Sequence while using \setmathdigitfont in xepersian

I want to use Persian numbers in the math environment in my tex document. I tried to use \setmathdigitfont{} as below: % !TEX program=xelatex \documentclass[]{article} \usepackage[localise=on,...
2
votes
1answer
68 views

Missing number and illegal unit of measure in list of tables

I want to use the template sharifthesis given in this link to create my thesis (Please see the minimal example). But it gives 2 errors: line 1: Missing number, treated as zero. ...ons and labels\relax ...
1
vote
1answer
66 views

minipage inside an mdframed with a footnote

I need to have captioned tables inside an mdframed environment. Since floats cannot be used, I am using captionof alongside tabular. The caption and the tabular might get separated, when there is a ...
1
vote
1answer
202 views

Zero-width space for Persian typing in lyx [closed]

I want to use Lyx to write in Persian. In Persian we have a space character named "zero-width space" or "half-space" and in a standard keyboard, we type it with "Shift-Space" shortcut. It is "U-200C" ...
0
votes
0answers
80 views

I have xepersian installed using miktex but Texstudio returns the error message it cannot find xepersian

I use Miktex installation and have just installed Xepersian package. When I try to compile a document using XeLatex that calls the Xepesian package I get the error messege "cannot find Xepersian.sty"....
1
vote
1answer
59 views

Incorrect font of the greek letters while using xepersian

I want to use greek letters in the text with Helvetica font. When I compile the my code in the English version, I get to correct form. I mean, when I compile the following code \documentclass[12 pt]{...
0
votes
1answer
71 views

how to change direction of tabular command in xepersian (ltr to ltr)

Problem Definition: Because of using xepersian package, my defualt text direction is rtl (Right-to-Left). I have created a table using the following piece of code: \begin{center} \begin{tabular}...
5
votes
0answers
126 views

The background color is not to be placed when used xepersian! Is it solvable?

The background color is not to be placed when used xepersian! Is it solvable? Minimal code: % !TeX TS-program = xelatex \documentclass{beamer} \setbeamertemplate{background canvas}[vertical shading][...
2
votes
1answer
472 views

How to use xepersian in a document that is mostly written in English?

I am trying to use xepersian in a thesis that has to be written in English. As soon as I include \usepackage{xepersian} to the document, all numbers and dates are changed to Persian, the title page ...
0
votes
3answers
296 views

The command \KashidaXBFixOn does not work properly in xepersian

Consider the following MWE: % File: test-kashida.tex \documentclass{report} \usepackage[Kashida]{xepersian} \settextfont[Scale=4.5]{XB Kayhan} \def\SampleText{راهی جایی تابی چاپی چاهی تلاشهایی ...
2
votes
1answer
157 views

table of content in persian language(the number is right to left)

I use code \titleformat{\chapter}[display]{ \bfseries \filleft\Huge}{ \chaptername\ \arabic \LTR{ \thechapter} }{6pt}{\bfseries\filleft} to write a table of content. in the table have but I ...
0
votes
1answer
66 views

The label from \subfigimg macro hided in xepersian

When use the "\subfigimg" macro with xepersian environment, the labes over each image missing: \documentclass[preview]{standalone} \usepackage{mwe} \usepackage[table]{xcolor} \usepackage{xepersian} \...
1
vote
1answer
173 views

How to use chemnum with chemdraw in xepersian?

Pay attention to the first code that represents the numbering of molecules in a scheme that is imported into LaTeX from the ".eps" file and by the command pdflatex -shell-escape file1.tex runs ...
1
vote
1answer
206 views

change font size of English words in captions in a Persian report

I am writing my thesis in Persian via using "xepersian" package. I set the main font by using the following commands, \usepackage{caption} \usepackage{fontspec} \usepackage{xepersian} \settextfont[...
0
votes
1answer
141 views

Position a figure above the footnote in xepersian

I am using LaTeX + xepersian for writing my thesis. I have so many figures and so many footnotes. For footnote, I am using \LTRfootnote{}. Unfortunately, when I use the following environment for a ...
0
votes
3answers
340 views

Problem with horizontal spacing in itemize environment in beamer with xepersian package

I have a problem with itemize environment, which I did not in the past. I used to produce Persian slides with LuaLaTex in Texlive 2015. Now, I am using XePersian with XeLaTeX engine and Texlive 2019. ...
2
votes
1answer
65 views

Count words in Persian document correctly

when I use the command texcount filename.tex in CMD, half-spaced words count two words instead of one word. How can I solve this problem? \Thanks % Compile with XeLaTeX \documentclass{article} \...
3
votes
3answers
273 views

Changing line break patterns

I want to inform latex that it is Ok to break lines at ZWNJ (U+200C) characters, if needed. How can I change the line break patterns (hyphenation) to allow that? \hyphenation does not work for me and ...
2
votes
1answer
319 views

How to obtain non Italic theorem text

Please believe me this is not an Off Topic in TEX. Wait and see that I SEARCH the web and go deeply into questions for this but nothing found: Can we equip ‎AtBeginEnvironment with two option ...
0
votes
1answer
397 views

What is the problem with \usefonttheme{serif} in beamer for xepersian?

In a beamer for working with xepersian package, I want the formula to be with English digit fonts, but with any command provided with the xerpersian package it doesn't work. Here is MWE: % !TEX TS-...
1
vote
0answers
66 views

Memoir: Preparing document to be read from right to left (Persian script)

I'm writing a book in Persian, so it is read from right to left. That means that all odd pages should have a wide right-margin, whereas even pages should have a wide left-margin. All chapters should ...
1
vote
0answers
126 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
349 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,...
5
votes
1answer
1k 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
246 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{...
1
vote
1answer
78 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
160 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 ...