Questions tagged [xepersian]

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

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

Watermark using background package doesn't work in Xepersian

I tried to add watermark to my beamer using the followng (that can be found in this post) \documentclass{beamer} \usepackage{lipsum} \usepackage{background} \backgroundsetup{ placement=center, ...
C.F.G's user avatar
  • 542
0 votes
1 answer
39 views

xepersian & polyglossia: section numbering is rtl, even though german is main language

I have a document with Persian elements. To get them typeset properly, I am using xepersian. Unfortunately, this results in all subsections being numbered RTL instead of LTR, thus 1.2.3 instead of 3.2....
Floris's user avatar
  • 87
0 votes
1 answer
38 views

Can not change chapter number to tartibi in table of content

I have a simple LaTex file like the one below: \documentclass{book} \usepackage{xepersian} \settextfont{B Zar} \makeatletter \bidi@patchcmd{\Hy@org@chapter}{% \...
Mohammad Reza Rastegari's user avatar
2 votes
1 answer
66 views

Problem of xepersian with beamer in TexLive 2023

the following code (from my previous post) without xepersian package works fine but when I add xepersian package it doesn't show the logo! (it was Ok using TexLive 2022) \documentclass{beamer} \...
C.F.G's user avatar
  • 542
0 votes
0 answers
24 views

The footer on my flashcards are not aligned

I'm using the xepersian package to write Persian language flash cards. I want to have a footer on the front and the back of the card that shows what particular exercise this word comes from (e.g., &...
Wouter's user avatar
  • 11
1 vote
1 answer
214 views

Command `\arrowvert' already defined and Margin Suitability

Unfortunately, I am no expert in LaTeX, however I have found myself coerced into using it again and again. My short term solution for the aforementioned deficiency thus far has been to search ...
mali1234's user avatar
  • 129
0 votes
0 answers
59 views

Problem with currfile and the XePersian package

I'm experiencing an issue where using the xepersian package breaks the functionality of the currfile package. I have a main tex file and several subdirectories where I store my other files, and I have ...
NEO's user avatar
  • 327
1 vote
2 answers
44 views

Bad behavior of xepersian with beamer itemize item pause

Why xepersian breaks item of itemize environment into two pieces and last part of that sticks with previous pause! (see attached gif). (Don't worry about font) Compile specifications: xelatex + ...
C.F.G's user avatar
  • 542
1 vote
0 answers
22 views

Problem of tcolorbox inside of beamer using XeLaTex [duplicate]

the following code works fine in article class but in beamer class it produce white space for persian text! Compile details: XeLaTeX + TexLive 2022 + TeXstudio 4.5.1 + Windows 10 \documentclass[10pt]{...
C.F.G's user avatar
  • 542
2 votes
1 answer
68 views

when using beamer, inline math mode in tikzpicture does not show $x$ like when not using beamer

When I put a formula inside a node in tikzpicture while using beamer, it doesn't show it as it does when I don't use beamer. Consider the code here: \documentclass{beamer} \usepackage{tikz} \...
Amirreza Taghizadeh's user avatar
1 vote
1 answer
36 views

xepersian problem with HM fonts

Back in 2018 xepersian started throwing random errors if you used fonts with a specific string in their name ("HM") and this caused a lot of headache for the users of these fonts. This issue ...
nima's user avatar
  • 113
3 votes
0 answers
79 views

fontspec not recognizing custom bold font

I'm trying to convert a persian book written in MS Word to LaTeX (i'm using Overleaf as i'm a noob) and said book has a lot of words in bold. \textbf{} doesn't seem to be working with the custom font ...
mashedpotatoes's user avatar
2 votes
1 answer
118 views

Extra space before and after gls word

When I use the glossaries package (version 4.50), there is an extra space before and after the word. Previously, this problem did not exist with the following settings. I updated the TeX distribution ...
Bahman Mirzakhani's user avatar
0 votes
2 answers
41 views

How may we write a two language or bilanguage subject index? Like English & Persian index

I'm using the XePersian package to prepare a book in Farsi. I want to create an index for the book in both Farsi and English languages. What is the best way to do so with existing latex packages?
murteza sanjarani's user avatar
1 vote
0 answers
57 views

Translate "Algorithm" in the caption in beamer [closed]

I use the algorithmic and algorithm packages for algorithms in Beamer and I want to translate the word "Algorithm" in the caption as in this Question. This solution doesn't work in Beamer.
Alireza Qazavi's user avatar
0 votes
1 answer
162 views

Use persian footnotes inside latin environment of xepersian

When I'm inside latin environment, I'm unable to change footnote mark from Arabic style to Persian(Arabic-Indic) style. Here is the code I use: \documentclass[a4paper, 12pt]{article} %packages: \...
milad's user avatar
  • 147
0 votes
0 answers
64 views

a paper with two titles

I want to make a paper with the following format: a title, authors and abstract ; after that I want to write another title, authors and abstract. then two columns text. Two titles are not the same. .
user9812604's user avatar
0 votes
0 answers
39 views

Nested Stand-Alone with flash cards not working

I have made flash cards using the flacards document class, but they are from multiple topics across multiple semesters. I want to be able to have a unique footer for each topic/semester, as well as ...
Wouter's user avatar
  • 11
0 votes
0 answers
150 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} ...
nima's user avatar
  • 121
1 vote
0 answers
55 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)...
Bahman Mirzakhani's user avatar
0 votes
1 answer
246 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{...
user2925716's user avatar
  • 1,920
1 vote
0 answers
214 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 : ...
mike's user avatar
  • 35
0 votes
2 answers
432 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 ...
Shahriar's user avatar
  • 101
0 votes
0 answers
93 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
Fahim B's user avatar
  • 661
1 vote
1 answer
192 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,...
Mikasa's user avatar
  • 589
4 votes
1 answer
1k 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 ...
C.F.G's user avatar
  • 542
0 votes
3 answers
119 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 ...
mali1234's user avatar
  • 129
1 vote
1 answer
225 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, ...
theEarlyRiser's user avatar
1 vote
0 answers
39 views

Cases in Farsi text

I want to use case in Farsi text.Something like this: Thank you
ali-sezar's user avatar
1 vote
0 answers
49 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{...
leo's user avatar
  • 123
1 vote
1 answer
208 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. ...
milad's user avatar
  • 147
2 votes
1 answer
264 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 \...
Abdelhak Elfengour's user avatar
2 votes
2 answers
85 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 ...
AYBRXQD's user avatar
  • 737
1 vote
1 answer
57 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,...
Abdelhak Elfengour's user avatar
4 votes
2 answers
344 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, ...
AziZ's user avatar
  • 151
1 vote
0 answers
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}...
Amir reza Riahi's user avatar
1 vote
0 answers
1k 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(...
HannaYz's user avatar
  • 11
1 vote
0 answers
65 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 ...
Mike's user avatar
  • 267
0 votes
0 answers
291 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}...
Seyed Parsa Javadi's user avatar
2 votes
0 answers
764 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,...
Ali Kazemkhanloo's user avatar
2 votes
1 answer
128 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 ...
SMA.D's user avatar
  • 219
1 vote
1 answer
120 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 ...
Eliad's user avatar
  • 500
1 vote
1 answer
542 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" ...
MdRaHP's user avatar
  • 11
0 votes
0 answers
111 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"....
o h's user avatar
  • 1
1 vote
1 answer
106 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]{...
AYBRXQD's user avatar
  • 737
0 votes
1 answer
176 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}...
Mostafa Ghadimi's user avatar
5 votes
1 answer
182 views

Beamer background color is not set when using XePersian

The background color is set when using XePersian and Beamer. Minimal code: % !TeX TS-program = xelatex \documentclass{beamer} \setbeamertemplate{background canvas}[vertical shading][bottom=blue!50,top=...
M.Ahmadi's user avatar
  • 1,477
3 votes
1 answer
1k 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 ...
Matt's user avatar
  • 1,087
0 votes
3 answers
381 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{راهی جایی تابی چاپی چاهی تلاشهایی ...
Tisha Shusho's user avatar
2 votes
1 answer
436 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 ...
Fatemeh's user avatar
  • 21

1
2 3 4 5