Regarding typesetting documents in Persian language.

learn more… | top users | synonyms

6
votes
1answer
46 views

Problem with inserting the symbol \times when using arabi package

Is it impossible to insert the mathematical symbol \times when using the arabi package? After compiling A\times B it becomes AB and the sign \times disappears See the example below. ...
3
votes
1answer
29 views

Problem with theorem's numbering when using Arabi package

When I use a theorem style environment with Arabi package, the numbering become corrupted just after the numbers with two digits start. Here an example. The number of the last one should be 10 but it ...
1
vote
0answers
24 views

How to change direction in xelatex?

When I use fontspec package to type persian, it works but it's left align and paragraphs begin from left, same thing accure with enumerations and ... . How to get ride of this problem? Note that ...
0
votes
0answers
30 views

Odd italic format in beamer presentation slide

I am using the following code to produce my persian beamer presentation file. My problem is that, the formulas are printed italic but I don't want them to be like this. How should I correct them? ...
0
votes
0answers
5 views

Text in equation in xepersian [closed]

I am using xepersian to write persian report. I need to use \text and \parbox in an equation. some lines are too long and i am using \ for example : \begin{equation} \label{category} h (e) = ...
2
votes
0answers
52 views

Start chapters on the left side of the PDF files

How is it possible to start each chapter on the left papers (odd pages). Because in Persian books, chapters start on the odd pages because it is a right to left language. I use XePersian and use this ...
0
votes
0answers
48 views

How can I write Persian in TeXstudio?

I want to write some Persian text in Texstudio. Which package should I use? I've heard about xepersian but I don't know how to use it. Any help would be appreciated. \documentclass{article} ...
1
vote
0answers
39 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, ...
5
votes
1answer
88 views

How to insert margin note just left side of all page in my persian document?

\documentclass{book} \usepackage[english]{babel} \usepackage[svgnames]{xcolor} \usepackage[doublespacing]{setspace} \newcommand{\mymarginnote}[1]{% ...
5
votes
1answer
65 views

xwatermark in xepersian does not work together?

\documentclass{book} \usepackage{hyperref} \usepackage[printwatermark]{xwatermark} \usepackage{xcolor} \usepackage{graphicx} \usepackage{tikz} \usepackage{xepersian} ...
2
votes
0answers
88 views

LuaLaTeX error when compiling visual counter

I asked a question about visual counters in beamer, for which I got this answer. Now I need to compile it by LuaLaTeX in order to use the package luapersian(below code), but it returns some errors. ...
4
votes
1answer
96 views

Bibliography does not render correctly for non-Latin items

Consider following tex and bib files. As you see the second bib item is not rendered correctly. Is there any solution? The squares are not the only problem, indeed all character of Persian item have ...
3
votes
2answers
185 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 ...
3
votes
2answers
391 views

Problem with beamer in persian/farsi

I tried to create slides with beamer and the babel package with Farsi option \usepackage[farsi]{babel}. When I run it, I have some errors. I use this code: \documentclass[‎ucs‎]{beamer}‎‎ ...
8
votes
2answers
198 views

Lettrine and Arabic script

I am trying to typeset texts with numbered, non-titled chapters with latex and want the chapter number always large in the text. I have used lettrine in latin script text successfully, but I get ...
3
votes
1answer
112 views

verbatim with Arabic script

I try to put together guidelines for linguists. One part concernes typesetting right to left text with the bidi package. I want to use verbatim for the code, but the Persian characters are not printed ...
0
votes
1answer
316 views

Persian Thesis Template

Is there any M.Sc. Thesis LaTeX template available ? It would be nice if it is according to rules of Sharif University in writing Thesis!
4
votes
3answers
1k views

Inserting some Arabic script in an English article

Until now I was using XePersian package to typeset Persian articles, now I want insert some Persian word in an English document, what is minimum code to do that without using XePersian package? ...
2
votes
2answers
215 views

Inserting RTL text in verbatim environment

How I can insert Persian text in verbatim environment when using XePersin package ( v11.138, 2012/05/03). Following code dose not work: \begin{verbatim} <!DOCTYPE book PUBLIC "-//OASIS//DTD ...