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

learn more… | top users | synonyms

1
vote
1answer
69 views

Change the chapter/section/subsection label numbering font

I'm using Xepersian package in Latex. I'm typing my whole text in "XBZar" font, and digits (numbers) in "Yas" font. My concern here is the chapter/section/subsection labels. So, by default the whole ...
1
vote
0answers
44 views

Adding border to table of contents in xepersian package

I'm trying to add a border to the table of contents and so far I've done this: \def\@makeschapterhead#1{% \begin{tikzpicture}[remember picture,overlay] \node at (current page.north west) {\begin{...
2
votes
0answers
51 views

numbering out of a colored box [duplicate]

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} \...
3
votes
2answers
71 views

Unwanted outdent in the first paragraph of a section

for the first paragraph of some of my sections I have an unwanted outdent as the following picture: I used noindent after the section, but has no effect. There is also no extra hidden character ...
1
vote
1answer
39 views

\cr extra alignment!

When I use the code below to create a table written in Persian, it gives me the following error: Extra alignment tab has been changed to \cr. <recently read> \endtemplate code: \...
1
vote
2answers
46 views

The word “Table of content” has been removed when using tikz

According to This question the word "Table of content"(in persian"فهرست"), has been removed. I want it back. What can I do? CODE \documentclass[twoside]{book} \usepackage{tikz} \usetikzlibrary{...
5
votes
1answer
76 views

Latex tikz chapter using xepersian

I want to customize chapter with tikz using xepersian package. I add this package to THIS CODE like below: \documentclass[twoside]{book} \usepackage{tikz} \usetikzlibrary{shadows.blur} \usepackage{...
0
votes
0answers
15 views

LTR Back cover in XePersian [duplicate]

I must include an English abstract at the end of a XePersian report. The problem is that they must be ordered in reverse. Is there anyway I could do that? Currently the pages are like this: 203: ...
1
vote
0answers
37 views

cannot see bold and italic char in xelatex

I am writing a Persian article using Xelatex typesetting and the xepersian package. My problem is that I cannot see characters get bold or italic using textbf and textit respectively. This is my ...
0
votes
1answer
36 views

Fully justified LTR paragraphs in XePersian

I am using XePersian to write a report in Persian, which must include an English abstract at the end. I currently use \lr{} for each paragraph: \flushleft \begin{abstract} \lr{Abstract in English -...
1
vote
0answers
38 views

Xepersian does not work on Windows, missing xepersian.sty

I've installed the full version of TexLive 2011 on my friend's Windows. When I try to compile Persian tex files with xelatex engine I get this error: missing xepersian.sty. I tried both TexMaker ...
1
vote
0answers
22 views

AMSArt Class in Xepersian Package for Persian Paper [closed]

What can we right Persian paper in ‎\documentclass[11pt]{amsart‎}‎ by using email address in footnote end page and using keywords in footnote first page?
1
vote
0answers
83 views

Can I upload a font to ShareLatex once and use in several projects?

I should write several Persian latex documents. So I need upload a Persian font and use it. Is there a way to upload the font just once. Is there another online LaTeX editor which provide this? Here ...
2
votes
1answer
93 views

How to make a template like this using xepersian?

How to make a template latex like the one below? Abstract should be in a single column, but the entire document in two columns. I found a template like this in web, but with the xepersian package ...
3
votes
1answer
120 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?
1
vote
1answer
130 views

! Undefined control sequence. <argument>

but it has a error. please help me. \documentclass{article} \usepackage[ruled,lined]{algorithm2e} \usepackage{xepersian} \settextfont[Scale=1]{XB Niloofar} \setdigitfont{XB Niloofar} \begin{...
0
votes
0answers
26 views

Is there a way to use \cref along with xepersian package

Is there a way to make \Cref command work along with xepersian package. For example, in the following code the name of the theorem is not shown by \cref; just the number is shown just like \ref. \...
3
votes
2answers
80 views

Adding xepersian produces an error for tables

Adding \usepackage{xepersian} makes the following code produce an error: \documentclass{article} \usepackage{booktabs,caption,dcolumn} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} ...
1
vote
1answer
90 views

problem-with-parenthesis-of-equation-label?

I'm new to LaTeX, trying to label an equation by this code: \documentclass[a4paper,12pt,fleqn]{report} \usepackage{xepersian} \usepackage{amsmath} \begin{document} \...
9
votes
3answers
271 views

How to reverse section numbering for right-to-left languages?

I use XePersian to typeset Persian, but I don't want my section number mirrored! For example, section 3-1 is written as section 1-3, which is embaressing! So, I want my numbers back :-) This issue is ...
1
vote
0answers
32 views

How to get index for non-numerical pages with xepersian quickindex option?

I want to use index in a book, so I tried this: \documentclass{book} \usepackage[quickindex]{makeidx} \makeindex \usepackage{xepersian} \settextfont[Scale=1]{Arial} \setlatintextfont[Scale=1]{Arial} \...
3
votes
1answer
83 views

formula font size in xepersian

I use xepersian package. The font size of the math formula is too smaller than the text. I have use \DeclareMathSizes{16pt}{14pt}{10pt}{8pt} but it doesn't change. \documentclass[a4paper, 24pt]{...
0
votes
1answer
83 views

Problem with english number in xepersian package [duplicate]

I'm writing a document using xepersian package to write Kurdish in Latex.Every thing work perfect but the only problem is when I want number in every place in my latex file to be like ( 123456789). ...
2
votes
1answer
199 views

Problem using xepersian with beamer

I am using xepersian with beamer and I have a problem with list environments, e.g. itemize and enumerate. I cannot flush them to the right (make them right-aligned). As you can see in the MWE, I have ...
3
votes
2answers
118 views

Undefined font shape

I have a xepersian document, e.g. \documentclass[10pt,a4paper]{report} \usepackage{xepersian} \settextfont{Nazli}% http://http.debian.net/debian/pool/main/f/fonts-farsiweb/fonts-farsiweb_0.4.dfsg....
2
votes
1answer
87 views

How to write the caption of a english table in Persian when using xepersian package?

I am writing a report using the documentclass{report} and xepersian package. I have some tables in english but I want the caption to be in persian. Since I use the xepersian package, I have to put ...
2
votes
1answer
104 views

change font size of english words in a persian report

I am using report and xepersian packages to write a report in persian. I have some words and variables which are in english and use the $example$ command to write them when they are inline. How can ...
0
votes
0answers
184 views

Xepersian set latin text font problem

I try to compile a thesis template using xepersian, but I get error in this part of xepersian library \setlatintextfont[ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={lmroman10-bolditalic}...
2
votes
1answer
84 views

how to Insert an English table into a persian text written by the use of xepersian package

I am writing a in \documentclass{report} and I use \usepackage{xepersian}. In a separate .tex file I created a table which is written in English. I want to put this table in my text using \include ...
1
vote
1answer
115 views

Selectively showing latin numbers whithin a xepersian document paragragh

Consider the following document: \documentclass[10pt,a4paper]{report} \usepackage{xepersian} \settextfont{FreeFarsi}% http://sourceforge.net/projects/fpf/ \begin{document} این یک متن فارسی است. \LR{...
2
votes
2answers
261 views

Ubuntu14: TexLive2014: How to install extra packages?

I'm using Ubuntu 14 LTS. I (fully) installed TexLive2013 then I (fully) uninstalled it in order to install TexLive2014 which I did it from an .iso file succesfully. Now I want to install an extra ...
2
votes
1answer
275 views

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{...
3
votes
1answer
2k views

Where do I find the XeLaTeX engine on TeXstudio?

I want to type a text in persian. Does texstudio support xelatex? If yes where can i find it? this is my code: \documentclass{article} \usepackage{xepersian} \begin{document} \centerline{به نام ...
1
vote
1answer
145 views

XePersian stopped working after texlive-bin updated

Today an update for the package "texlive-bin" was issued by Arch Repository, and I think it was after I installed that update that my XePersian package broke. Now, I get a weird error when I try to ...
7
votes
1answer
226 views

Basic Persian in plain XeTeX

I am trying to write Persian in plain-XeTeX as follows: \font\frmnorm = "Nazli" at 24pt \let\rm = \frmnorm \uselanguage{farsi} \rm این فقط یک آزمایش است \bye ...but it does not work for me well: ...
1
vote
0answers
169 views

Write in Persian without xepersian using Pdftex compiler

Currently I am using fontspec package to write Persian characters in my paper. As far as I know, fontspec needs xepersian to be compiled. My problem is this: we are going to submit our paper ...
4
votes
1answer
72 views

removing chapter title in one of my chapters?

I have written my thesis in LaTeX (xepesian) and I have customized my chapters title as follows, ‎\makeatletter‎ ‎\def\thickhrule{\leavevmode \leaders \hrule height‎ .‎5ex \hfill \kern \z@}‎ ‎\def\...
1
vote
0answers
77 views

Conflict between xepersian, hyperref and appendix

As you might know there is a bug in the appendix package which prevents hyperref from linking to the appendices, e.g. here. The aforementioned article says this is bug is triggered when babel is used ...
1
vote
0answers
103 views

Listing caption numbers are reverse in the list of listings [closed]

Consider the following code: \documentclass[a4paper,10pt]{book} \usepackage{listings} \usepackage{xepersian} \settextfont{FreeFarsi}% http://sourceforge.net/projects/fpf/ \DefaultMathsDigits \...
5
votes
1answer
279 views

lstlisting caption problem with xepersian

I am using the xepersian and lstlisting packages and I am having some trouble with the captions. Here is the code: \documentclass[a4paper,10pt]{article} \usepackage{listings} \usepackage[usenames,...
1
vote
1answer
97 views

A problem of pagenumbering in LaTeX

I have a problem with pagenumbering in my document. when I use \pagenumbering{roman} for appendix, the page before the first page of appendix (last page of reference), has the number (I) and ...
4
votes
1answer
129 views

Tex studio- Bidirectional

I am using the xepersian package in Texstudio. The logical way of writing maths in Persian in Tex is that one writes in persian and when they press dollar, the font switches automatically to English. ...
6
votes
2answers
429 views

\today and language (babel, xepersian)

I'm using xepersian for my article but in one page I need to add Gregorian calendar date. so I add: \usepackage[british]{babel} and then where I want the date: \selectlanguage{british} {\large \...
2
votes
0answers
153 views

XML style for Latex including Persian characters with some preferences

I am using the listings package to include some XML code in my document. Currently, I am using the following style: \lstset{ basicstyle=\ttfamily, columns=fullflexible, showstringspaces=false,...
1
vote
1answer
189 views

Problem with xr-hyper and xepersian latex packages

I had a problem with xr package and xepersian package; when I use these packages, I can not use options for external document command. File A: \documentclass{report} \usepackage[nokeyprefix]{...
1
vote
0answers
250 views

fontspec error using xepersian package! [closed]

when i want to use the xepersianpackage, in pdfLatex, i have the error: Fatal fontspec error: "cannot-use-pdftex" ! ! The fontspec package requires either XeTeX or LuaTeX to function. ! ! You must ...
4
votes
3answers
489 views

I have miktex but it can not recognize the xepersian package

I downloaded Miktex2.9 but when I try to type Farsi(persian) it does not recognize the xepersian package and give an error instead. I need to add the xepersian or other packages to my Miktex please ...
0
votes
1answer
379 views

Mupdf Error when extracting pdf in Portable Xepersian

I am trying to compile this Springer paper template in a portable Xepersian. %%%%%%%%%%%%%%%%%%%%%%% ‎file template.tex‎ %%%%%%%%%%%%%%%%%%%%%%%%% % % ‎This is a general template file for the LaTeX ...
4
votes
2answers
278 views

Fontspec warning : “rename-feature-not-exist”

I want to use Xepersian package. But I get this error while compiling with Xelatex. fontspec warning : "rename-feature-not-exist" Can some one help me with this? \documentclass{article} \...
6
votes
2answers
153 views

Could not change level separator

When I use XePersian package the following code does not work to set - instead of . as separator in headers? \documentclass{book} \renewcommand{\thesection}{\arabic{chapter}-\arabic{section}} \...