Questions tagged [xepersian]

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

xepersian is a pack­age that sup­ports Per­sian/English type­set­ting with XeLaTeX. This package uses the Per­sian Modern fonts, by de­fault.

See also http://tug.org/mailman/listinfo/persiantex

204 questions
5
votes
1 answer

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: "font-not-found"!! The font "XB Niloofar" cannot be…
Vahid
  • 109
3
votes
1 answer

General items in Non-Persian font using the XePersian package?

Working on a book I first run into the page numbering problem that is discussed elsewhere, but I guess the problem is more general. When I try the following code, I get a Persian date in the footer and I get Persian page numbers. I really tried a…
Stefan Müller
  • 6,901
  • 3
  • 29
  • 61
3
votes
2 answers

Xepersian package prints persian text but does not recognize formulas and gives error

I have used MiKTeX for many works in last year. I didn't have a problem installing it. But now I am trying to install it on my new laptop. It's killing me with an ocean of errors. it has been two weeks, after tackling hundreds of errors finally I…
Mike
  • 267
2
votes
1 answer

Learning to write an article with Xepersian from a to z

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 how to write that fom a to z. so any hope that I…
2
votes
1 answer

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 : …
Captain
  • 51
  • 5
2
votes
1 answer

left align and right align of a table

I used below code to create a table. The problem is, I want the first coloumn from right to be left aligned and first coloumn from left to be right aligned. Also I want the first row of all column to be right aligned. Could anyone help me?
sara nj
  • 203
1
vote
0 answers

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 : This is XeTeX, Version 3.141592653-2.6-0.999993…
mike
  • 35
  • 4
1
vote
0 answers

numbering out of a colored box

The only thing that I want is a numbering out of colored box and the position of box be in center. \documentclass{article} \usepackage{amsmath,amsthm,amssymb,amsfonts} \usepackage{tcolorbox} \usepackage{tikz} \tikzstyle{mybox} = [draw=green!70,…
Baruch
  • 355
  • 2
  • 10
1
vote
1 answer

undefined control sequense error in xepersian.sty

I have a LaTeX document using xepersian: \documentclass[a4paper,11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{xepersian} \listfiles \title{نمونه…
s_puria
  • 19
0
votes
0 answers

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} but these two can not be used inside a formula. I…
nima
  • 121
0
votes
3 answers

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
  • 314
  • 1
  • 11
0
votes
1 answer

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 …
Captain
  • 51
  • 5
0
votes
1 answer

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 argument? {\dim_set:Nn ##1{\fontdimen…
Maesumi
  • 9,059
0
votes
1 answer

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.
MeB
  • 11
  • 1