Questions tagged [persian]

Regarding typesetting documents in Persian language.

Filter by
Sorted by
Tagged with
11
votes
1answer
3k views

Problem with inserting the symbols \times and \omega 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. \...
9
votes
1answer
595 views

How to typeset ancient Persian scripts in LaTeX

This is a simple word in Achaemenidian script (ancient Persian language) that is typeset by Parsoomash font in MS Word: Is there any LaTeX package to typeset stuffs like this?
8
votes
2answers
1k views

Latin page numbers with XePersian?

I've recently been using XePersian to typeset Persian and Arabic poems the traditional way, i.e. in two justified columns. The poetry formatting is done with the bidipoem package, and that's all fine. ...
7
votes
1answer
592 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: ...
7
votes
2answers
727 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 ...
7
votes
1answer
1k views

How To Fix Rendering of Persian Font With XeLaTeX?

I am trying to typeset a poem with XeLaTeX using the IranNastaliq font, and I am running into problems with the glyphs rendered for many words. I have a PDF file I rendered from the same source tex ...
6
votes
2answers
548 views

Replace certain Unicode character with another in XeTeX

I use XeLaTeX and XePersian to write Persian documents. Unfortunately, some frequently used fonts in Persian does support important characters like ی so I should replace them with Arabic counterparts ...
6
votes
1answer
713 views

Problem with special characters

I have not any problem with English LaTeX but today I wanted to write in Farsi (Persian) in LaTeX. I tried to write in Arabic instead but I faced an issue. I wrote this simple code: \documentclass{...
5
votes
3answers
3k 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? \...
5
votes
2answers
3k views

half space for Persian words in xepersian

I have windows 10 installed on my laptop and the system default Persian standard keyboard is also installed and used in text editors like notepad and MS Word. I have had no problem with typing half ...
5
votes
1answer
1k views

citing with a custom text not numbers or author name (Latex)

My friend is writing a math thesis in persian language. He wants to cite to references with author names and year both but in persian while the references (at the end of the thesis) are all in English....
4
votes
1answer
1k views

Getting right-to-left output in Arabic and Persian/Farsi with pdfLaTeX

I have an English document in which I need to inject a few example words from many different languages, including Arabic and Persian. I've sorta gotten it to work with the babel package and the \...
4
votes
1answer
2k views

installing the persian latex for Windows

How to install the Persian LaTeX? I searched a lot on the internet but there is not a good reference that explains how to install LaTeX. Thanks so much.
4
votes
1answer
173 views

\pageref dosen't properly show the page number when using arabi package

In the page 10 of the following document I define a label. When I give a reference to the page number of this label in the following page, the number is not shown properly. The number appears as 01 ...
4
votes
1answer
153 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 ...
4
votes
3answers
798 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 ...
4
votes
1answer
423 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]{% \marginpar{\colorbox{yellow}{\parbox{\...
4
votes
1answer
290 views

xwatermark in xepersian does not work together?

\documentclass{book} \usepackage{hyperref} \usepackage[printwatermark]{xwatermark} \usepackage{xcolor} \usepackage{graphicx} \usepackage{tikz} \usepackage{xepersian} \newwatermark[allpages,color=cyan!...
4
votes
2answers
1k 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}‎‎ ‎\...
3
votes
1answer
236 views

How can I change the default order between letters of an alphabet?

I'm writing a book in Persian. In its index there is a problem. Words are using Arabic order! So it causes a problem as in Arabic language they don't have four letters 'پ p (in pen)', 'چ ch (in cheese)...
3
votes
2answers
272 views

\cite and \bibitem reverse the digits when using Arabi package

Unfortunately I have a similar problem as in \pageref dosen't properly show the page number when using arabi package. When I use the command \cite, the digits are reversed. In fact I am not able ...
3
votes
1answer
289 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 ...
3
votes
1answer
447 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 ...
2
votes
2answers
404 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 ...
2
votes
1answer
531 views

Creating a LaTeX Table from a Microsoft Word Document

I have this multi page word document file which is consisted of a table with two columns. the left column is an English word in front of which in the left column the Persian translation is provided. I ...
2
votes
1answer
2k views

Problem with inserting the Greek letter \omega when using Arabi package [duplicate]

In the following example, the symbol \omega does not show up after compiling the file. This is the first Greek later for which I have this kind of the problem. Is there a way to solve this problem. ...
2
votes
1answer
619 views

set latin text whitout \lr while xepersian loaded

I have a problem with my university thesis template, which in in Persian language and loads xepersian package with B Nazanin Persian font, The problem is exactly with B Nazanin font. as in template ...
2
votes
1answer
234 views

LuaLaTeX error when compiling visual counter [closed]

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. ...
2
votes
0answers
57 views

Subcaption incompatible with babel-farsi

I am trying to use some farsi words in my text. I also have to use subcaption for my pics. But I am getting the following error: ! Package caption Error: The `subcaption' package does not work ...
2
votes
0answers
236 views

There is no bold text, italics in IEEEtran (using xepersian)?

I have a problem of non-working \textbf, \bfseries commands (and almost all changing fontstyle commands) in Persian document (in English, everything is okay) in \documentclass[journal,onecolumn,11pt,...
2
votes
0answers
102 views

Correct inconsistent image placement across direction boundaries in ConTeXt?

I have a serious of auto-generated documents in various languages that include a mix of LTR and RTL languages. I am trying to come up with common markup that works across both directions. I've run ...
2
votes
0answers
264 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
33 views

Problems with English and Persian baseline alignment

I have a document in English and Persian, and the Latin and Persian scripts don't quite line up along the baseline. I am using polyglossia, but xepersian didn't help me either. In the MWE below, I ...
1
vote
1answer
773 views

Problem with using footnotes in xepersian

I have a quite long document that I compile with no errors.(I got rid of most of warnings but a few of them relating to defined fonts remained!) As I try to add footnotes to my documents, it gives ...
1
vote
1answer
197 views

No Persian language in xindy/lang directory

I'm using Ubuntu 16.04 LTS and TeX Live 2015/Debian. To make a glossary for my document, my template uses xindy package. I installed it using: sudo apt install xindy When I try to compile it, the ...
1
vote
1answer
227 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 I'...
1
vote
1answer
3k 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
1answer
267 views

Problem in using Xpersian package in the predefined English template file (LaTeX)

I'm trying to compile a "*.tex" file(which contains some Persian words)with "TeXLive" using "XeLaTeX". For example, "Sample.tex" file contains below script which has Persian words. It is running ...
1
vote
2answers
211 views

Glossaries/Polyglossia error that occurs when Farsi is the default language

In the MWE below, I get an error on \glsaddall when the default language of the document is Farsi, but not when it is English. \documentclass{book} \usepackage{polyglossia} \usepackage[xindy]{...
1
vote
1answer
83 views

Should an example from the Arabi manual compile?

I tried to compile the figure 7.3 from the Arabi user-guide.pdf version 1.1 from december 16, 2006. It didnot compile instantly I had to make changes to the copy from the pdf. The problem were the ...
1
vote
1answer
952 views

Alignment of the footnote line

How I can force latex to align the footnote line in some pages to left, right or even center? As you see in this picture below, I want to push the footnote separator line to left side of this paper, ...
1
vote
1answer
237 views

Position of hamze for Farsi/Persian with ArabTeX

In the following document I want the hamze (hamza, written with ' in ArabTeX) to be above in all the examples, and not on the side as it is in the second group. How can I achieve that? \documentclass{...
1
vote
1answer
94 views

problem with persian words in tikz

I want to have a circular flow including persian words (employing xepersian package and xelatex compiler is necessary for persian language) using tikz picture, but latex makes characters of persian ...
1
vote
1answer
237 views

Persian-bib with Polyglossia and Xepersian packages

I'am writing my thesis in Latex with Polyglossia package where Arabic is the main language, I have a problem with the inverted comma in Arabic citations nad references, shows this (,) but it should be ...
1
vote
0answers
336 views

How to align an English paragraph left and write English numbers in English in a Persian beamer?

I am working on a presentation with beamer class in Persian and I have some problems with bilingual text. For writing left to right I use \LR command and it works, but the English is not aligned left. ...
1
vote
1answer
384 views

Using Tikz Calendar in Persian

I saw this question: Using Tikz Calendar in Portuguese as a Syllabus and tried to translate it to persian (solar hijri). The below example code works nice, but the problem is this: for example 1st ...
0
votes
1answer
1k 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!
0
votes
1answer
39 views

package listing disturbs table numbering

Writing a book in Persian, I use \usepackage{listing} in the preamble to include a source code into appendix. However, whenever I refer to a table or figure throughout the text, the table/figure ...
0
votes
1answer
125 views

How can type special shape of some characters?

In some languages (I mean persian or arabic) one character may has different shapes according to the next character. For example "به " and "ب ", in first one ب has one shape and in second another ...
0
votes
0answers
54 views

footnote in \Xarrangement{paragraph} does not go to the next line in reledmac

Dear members of this communication, I use reledmac for a critical edition of a Persian book. During my work, I faced a problem and would be grateful if you could answer it. Using \Xarrangement{...