Questions tagged [persian]
Regarding typesetting documents in Persian language.
71
questions
0
votes
1
answer
22
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:
\...
0
votes
2
answers
56
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....
0
votes
1
answer
68
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
vote
0
answers
158
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
102
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
40
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 ...
1
vote
1
answer
78
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 ...
2
votes
2
answers
110
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 ...
0
votes
0
answers
146
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 ...
0
votes
3
answers
65
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 (...
1
vote
0
answers
40
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 ...
2
votes
2
answers
809
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
vote
1
answer
244
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" ...
3
votes
1
answer
633
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
vote
1
answer
640
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
196
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
1
answer
593
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
416
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
1
answer
75
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
0
answers
103
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
431
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
1
answer
222
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
0
answers
79
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
1
answer
551
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
43
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
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?
2
votes
0
answers
505
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,...
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 ...
4
votes
1
answer
2k
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
1
answer
155
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 ...
0
votes
0
answers
245
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....
7
votes
2
answers
5k
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
1
answer
343
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
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
623
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
324
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
0
answers
326
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
88
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
783
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
2
answers
740
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
0
answers
116
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 ...
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.
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 ...
3
votes
1
answer
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
1
answer
287
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
1
answer
815
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
1
answer
474
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 ...