Questions tagged [persian]

Regarding typesetting documents in Persian language.

Filter by
Sorted by
Tagged with
0 votes
1 answer
71 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.?
  • 168
0 votes
1 answer
46 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: \...
  • 147
0 votes
2 answers
65 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....
  • 63
0 votes
1 answer
114 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{...
  • 1,880
1 vote
0 answers
262 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 ...
0 votes
1 answer
176 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,...
1 vote
0 answers
45 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 ...
  • 63
1 vote
1 answer
96 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 ...
  • 63
2 votes
2 answers
158 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 ...
  • 3,555
0 votes
0 answers
200 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 ...
  • 2,175
0 votes
3 answers
77 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 (...
  • 391
1 vote
0 answers
49 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 ...
  • 267
2 votes
2 answers
1k 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: \...
  • 1,217
1 vote
1 answer
305 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" ...
  • 11
3 votes
1 answer
812 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 ...
  • 1,037
1 vote
1 answer
761 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{...
2 votes
1 answer
250 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 ...
  • 21
3 votes
1 answer
736 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
1 answer
493 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} \...
  • 11
1 vote
1 answer
80 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 ...
  • 2,175
0 votes
0 answers
107 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
1 answer
450 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 ...
  • 13
1 vote
1 answer
249 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 ...
  • 13
2 votes
0 answers
84 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 ...
  • 33
1 vote
1 answer
601 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
1 answer
45 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 ...
  • 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?
  • 3,555
2 votes
0 answers
539 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,...
  • 21
4 votes
1 answer
1k 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 ...
  • 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 \...
  • 143
0 votes
1 answer
159 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
0 answers
124 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 = \...
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 ...
  • 393
0 votes
0 answers
268 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....
  • 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 ...
  • 393
1 vote
1 answer
354 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 ...
  • 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{...
1 vote
0 answers
645 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
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....
1 vote
2 answers
328 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,066
0 votes
0 answers
336 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
1 answer
89 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
1 answer
815 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 ...
  • 393
6 votes
2 answers
763 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 ...
  • 1,312
2 votes
0 answers
119 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 ...
  • 1,948
5 votes
1 answer
4k 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.
  • 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 ...
  • 151
3 votes
1 answer
2k 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,144
1 vote
1 answer
290 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{...
  • 4,278
7 votes
1 answer
832 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: ...
  • 73