Questions tagged [persian]

Regarding typesetting documents in Persian language.

Filter by
Sorted by
Tagged with
1
vote
1answer
20 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" ...
2
votes
1answer
16 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 ...
0
votes
1answer
62 views

How to Write Persian TexT in TexMaker

I am trying to write Persian text in TexMaker on Fedora. I have installed xepersian, but this basic example fails to build and run. \documentclass{minimal} \usepackage{xepersian} \usepackage{...
0
votes
1answer
39 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 ...
3
votes
1answer
215 views

Beamer presentation with Pandoc and Markdown - Using xelatex as the pdf engine doesn't show most Persian fonts properly

I'm trying to create a beamer presentation using pandoc and markdown, and since I'm writing it in Persian, I need to use --pdf-engine=xelatex. I have a pres.md file with this content: --- dir: rtl ...
1
vote
1answer
101 views

Using babel package to add Persian text into English document

I'm trying to add some Persian text into an English document (Springer style) using the babel package. Here is my tex file as follow: \RequirePackage{fix-cm} \documentclass[smallextended]{svjour3} \...
1
vote
1answer
40 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 ...
0
votes
0answers
74 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{...
1
vote
1answer
333 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
1answer
133 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 ...
2
votes
0answers
64 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 ...
1
vote
1answer
320 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 ...
0
votes
1answer
42 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 ...
10
votes
2answers
729 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?
2
votes
0answers
327 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
1answer
777 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 ...
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 \...
0
votes
1answer
136 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
121 views

Who made Farsi/Persian typesetting available in TeX (Plain TeX, LaTeX2.09, and LaTeX2e)?

I found a code somewhere in a community as: %!tex program=xetex % Enable right to left typesetting \TeXXeTstate=1 % define a font (this is one I have) \font\frmnorm = "IRCompset" at 24pt \let\rm = \...
2
votes
1answer
849 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 ...
0
votes
0answers
94 views

Bold font does not work in xepersian [duplicate]

My documents language is Persian and I am using xepersian package for the matter. The font I defined for my document which is an MS thesis is B nazanin, we are told to use the font and can't change it....
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 ...
1
vote
1answer
250 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 ...
6
votes
1answer
881 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{...
1
vote
0answers
400 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. ...
5
votes
1answer
2k 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....
1
vote
2answers
256 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]{...
0
votes
0answers
286 views

How to add a UTF8 arabic or farsi symbol to Texlive?

the following MWE gives a error \documentclass{article} \usepackage{etex} %\usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[LFE,LAE,OT1]{fontenc} \usepackage[farsi,arabic]{babel} \...
1
vote
1answer
87 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 ...
2
votes
1answer
642 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 ...
6
votes
2answers
607 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 ...
2
votes
0answers
105 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 ...
4
votes
1answer
3k 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.
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 ...
2
votes
1answer
1k 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
260 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{...
7
votes
1answer
690 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
1answer
402 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 ...
3
votes
2answers
297 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 ...
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. ...
3
votes
1answer
274 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)...
4
votes
1answer
202 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 ...
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. \...
4
votes
1answer
169 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
1answer
261 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
4k 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} \...
2
votes
0answers
268 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,...
4
votes
1answer
446 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
303 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!...
2
votes
1answer
237 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. ...