Questions tagged [persian]

Regarding typesetting documents in Persian language.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

xepersian & polyglossia: section numbering is rtl, even though german is main language

I have a document with Persian elements. To get them typeset properly, I am using xepersian. Unfortunately, this results in all subsections being numbered RTL instead of LTR, thus 1.2.3 instead of 3.2....
Floris's user avatar
  • 65
0 votes
0 answers
76 views

Mixed Content Latin and Arabic script

I am working on a project that requires me to cite Instagram posts with their post content. The specific ones that I am working with are often mixed content in English and Farsi. Does anyone have an ...
Floris's user avatar
  • 65
3 votes
0 answers
66 views

fontspec not recognizing custom bold font

I'm trying to convert a persian book written in MS Word to LaTeX (i'm using Overleaf as i'm a noob) and said book has a lot of words in bold. \textbf{} doesn't seem to be working with the custom font ...
mashedpotatoes's user avatar
0 votes
1 answer
977 views

How to set the spell check in TexMaker to other languages in Ubuntu

Is there any way to change the spell check language in TexMaker to Persian or any other language such as Spannish, Russian, and etc.?
Shayan's user avatar
  • 168
0 votes
1 answer
140 views

Use persian footnotes inside latin environment of xepersian

When I'm inside latin environment, I'm unable to change footnote mark from Arabic style to Persian(Arabic-Indic) style. Here is the code I use: \documentclass[a4paper, 12pt]{article} %packages: \...
milad's user avatar
  • 147
0 votes
2 answers
112 views

Looking to typeset 2-columned Persian poem in classicthesis document that is otherwise Latin script and LTR

I am looking to typeset a classical Persian poem in a classicthesis-styled document which is otherwise in German or English. Based on this question I tried this: % article example for classicthesis....
Floris's user avatar
  • 65
0 votes
1 answer
199 views

Persian letters do not work

I'm trying to use Persian letters. How can I add a Persian word now ? I do not follow the doc here. \documentclass{article} \usepackage{xepersian} \settextfont{XB Niloofar} \begin{document} \begin{...
user2925716's user avatar
  • 1,928
2 votes
0 answers
538 views

Writing Persian text in latex in vs code

I want to use VS code as my new latex editor because it offers lots of great features. But since I write lots of Persian text, VS code doesn't show them correctly. It doesn't have an RTL option to ...
Pouya Esmaili's user avatar
0 votes
1 answer
383 views

How to integrate right-to-left (Persian) in a left-to-right line (English)?

I am writing a paper in English that has some Persian in it. To do that I am using \usepackage{polyglossia}. The problem is that the Persian script appears left-to-right like the main English sentence,...
Kendoka3's user avatar
1 vote
0 answers
54 views

Line numbering with memoir in Persian

I'm typesetting Persian poems alongside their translations. It would be useful to have line numbers for this. I am using memoir, but now I came across an issue I cannot solve. The line number appear ...
Floris's user avatar
  • 65
1 vote
1 answer
150 views

Persian and German poetry side by side

I am looking to typeset a document of Persian poems side by side with their German translations. I have some experience with Latex, but have never type-set Persian before. I have looked into this a ...
Floris's user avatar
  • 65
2 votes
2 answers
289 views

How to write numerals of equations by the digits of a non-Latin-based language?

I am typesetting a document in Persian using polyglossia. Thanks to fontspec under XeLaTeX, I can copy/paste Persian digits in the text, but when I do the same for equations, compilation render ...
User's user avatar
  • 2,997
0 votes
0 answers
271 views

Persian/Farsi polyglossia font error

I am getting this error: Package polyglossia error. The current latin font PersianModern(0) does not contain the "Arabic" script!(polyglossia) Please define \arabicfont with \newfontfamily ...
AML's user avatar
  • 2,255
0 votes
3 answers
94 views

arabtex: how to write two consecutive identical Farsi characters without adding Arabic shadda

I'm using the arabtex to write som Persian/Farsi words in Latex. When I'm trying to write two consecutive ن like نن in a word like کنند, arabtex adds shadda since it's part of its commands by default (...
Pedram's user avatar
  • 411
1 vote
0 answers
63 views

Can we use specific packages for some parts of the LaTeX document, or how can we handle possible interference between English and Persian Styling?

I am trying to build my Ph.D thesis in a template which has been basically set for Persian language. The template is wonderful when everything is persian. But there is a problem. I need to add my ...
Mike's user avatar
  • 277
2 votes
2 answers
2k views

Rendering Farsi / Persian text with xelatex / pdflatex

A little while ago I asked some questions about the Greek and Korean languages in LaTeX and got some excellent responses. In the same context I'm looking now to the Farsi / Persian language. The MWE: \...
albert's user avatar
  • 1,291
1 vote
1 answer
492 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" ...
MdRaHP's user avatar
  • 11
3 votes
1 answer
1k 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 ...
Matt's user avatar
  • 1,087
1 vote
1 answer
1k 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{...
Mehdi Haghgoo's user avatar
2 votes
1 answer
400 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 ...
Fatemeh's user avatar
  • 21
3 votes
1 answer
875 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 ...
Amir Shabani's user avatar
1 vote
1 answer
722 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} \...
Salar's user avatar
  • 11
1 vote
1 answer
122 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 ...
AML's user avatar
  • 2,255
0 votes
0 answers
118 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{...
mir salar Razavi's user avatar
1 vote
1 answer
471 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 ...
Hanieh's user avatar
  • 13
1 vote
1 answer
303 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 ...
Ali's user avatar
  • 13
2 votes
0 answers
92 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 ...
Phima's user avatar
  • 33
1 vote
1 answer
762 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 ...
Abdelhak Elfengour's user avatar
0 votes
1 answer
46 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 ...
Ali's user avatar
  • 353
10 votes
2 answers
1k 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?
User's user avatar
  • 2,997
2 votes
0 answers
661 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,...
Hamed's user avatar
  • 21
4 votes
1 answer
2k 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 ...
SirSaleh's user avatar
  • 255
4 votes
1 answer
3k 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 \...
burr's user avatar
  • 143
0 votes
1 answer
179 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 ...
Abdollah's user avatar
0 votes
0 answers
125 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 = \...
Omid Ghayour's user avatar
3 votes
1 answer
1k 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 ...
Gigili's user avatar
  • 393
0 votes
0 answers
350 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....
Gigili's user avatar
  • 393
7 votes
2 answers
6k 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 ...
Gigili's user avatar
  • 393
1 vote
1 answer
395 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 ...
frogatto's user avatar
  • 255
6 votes
1 answer
1k 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{...
heaven-of-intensity's user avatar
1 vote
0 answers
710 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. ...
Yousef Ahmadi's user avatar
5 votes
1 answer
4k 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....
user106597's user avatar
1 vote
2 answers
359 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]{...
adam.baker's user avatar
  • 1,096
0 votes
0 answers
391 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} \...
Bernhard Kleine's user avatar
1 vote
1 answer
91 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 ...
Bernhard Kleine's user avatar
2 votes
1 answer
858 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 ...
nima's user avatar
  • 393
6 votes
2 answers
794 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 ...
Ho1's user avatar
  • 1,312
2 votes
0 answers
120 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 ...
Caleb's user avatar
  • 1,978
5 votes
1 answer
5k 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.
Isatis's user avatar
  • 53
9 votes
1 answer
2k 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 ...
syakhmi's user avatar
  • 161