Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arabic]

Questions about using TeX for typesetting documents in Arabic script.

2
votes
2answers
344 views

pdflatex + Babel + Arabic & Hebrew

I'm trying to use Babel for Arabic & Hebrew (both as secondary to English) in pdflatex. I had it working for just Arabic with \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \...
3
votes
1answer
61 views

How do I add an Arabic abstract before the English abstract?

I want to add an Arabic abstract before the English abstract, at the beginning of an English document. I also want the title of the abstract to appear in Arabic (ملخص) in the Table of Contents.
1
vote
1answer
82 views

changing page numbering style from Arabic to roman doesn't work

I want to use Roman numbers and Arabic numbers in my thesis. the main language of the document is Arabic and I use command \pagenumbering to change page number's style. I tried most of the solutions ...
0
votes
0answers
36 views

Hashtag inside \begin{Arabic} \end{Arabic}

When I do something like this: \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{english} \setotherlanguage{arabic} \newfontfamily\arabicfont[]{Geeza Pro ...
2
votes
1answer
41 views

Arabic and greek inline text in russian document pdflatex

I'm quite new to Latex. Maybe this can be easily solved, but I could not find the solution. I'm trying to make document in Russian language with Arabic and Greek inline text in pdflatex. But it keeps ...
4
votes
4answers
428 views

How to write Muḥammad ibn Mūsā al-Khwārizmī?

How can I write this name with LaTeX: Also is the last letter an "l"?
14
votes
1answer
585 views

What happened to \luatextextdir?

As of today, the command \luatextextdir does no longer seem to work. I employ the command in order to be able to typeset Arabic. To that end I created the following commands: \newcommand{\arabtext}[1]...
2
votes
2answers
235 views

tufte-book and arabic text (bidi problem?)

I am typesetting a tufte-book document with XeLaTeX that has both English and Arabic text. The Tufte-style title pages consistently break, whether I use the package arabxetext or polyglossia. I ...
2
votes
1answer
68 views

Hyperref form with RTL main language like Arabic

I would like to typeset an electronic form with Arabic as the main language and English as another language in the same document. I used the xetex engine without success, the layout was messy as you ...
4
votes
1answer
1k views

How write a one-sentence arabic text in a latin document?

Is it possible to write one line with arabic letter in a latin-alphabet document? something like ... How are you... سۆمتینگ سۆمتینگ... now the latin is continued here ... How about mixing with ...
1
vote
2answers
96 views

arabluatex: Underlining an Arabic text

How to fix the following underlined Arabic text? \documentclass{article} \usepackage[tuenc]{fontspec} \newfontfamily\arabicfont{Amiri}[Script=Arabic, RawFeature={+anum}] \usepackage{arabluatex} \...
4
votes
1answer
478 views

Beamer in arabic language doesn't accept footnotes

Using beamer in arabic language, we adapt many of its commands and themes to this language, but when I put a footnote if the arabic language is charged, I have the error message '! LaTeX Error: No ...
8
votes
1answer
352 views

Arabic Numerals in Arabic Text

In the document below, the text in Arabic is from right to left as it should be, but the numbers inside \textLR{} are also from right to left, while I would like to have them from left to right, like ...
1
vote
1answer
75 views

Arabic letter in initial, middle and final form

I want to make a table with the Arabic alphabet. This table will contain English text as well as Arabic symbols. I'm using a code that looks like this: \usepackage[utf8]{inputenc} \inputencoding{utf8}...
11
votes
1answer
197 views

Arabic Text inside Tikz decorations.text

I am trying to create a TikZ figure as below, but the compilation is problematic when one adds some Arabic text. \documentclass[tikz, border=5pt, multi]{standalone} \usepackage{polyglossia} \...
1
vote
1answer
56 views

Arabic Shapepar

I want to use a text in Arabic in a form that works very well with a text in French or English but I can not. Can you please help me? Thank you \documentclass[letterpaper,12pt,oneside,final]{article} ...
1
vote
2answers
61 views

How can I disable the automatic transliteration of Arabic?

How can I disable the automatic transliteration of Arabic? I want to write my French report including some Arabic sentences. So I am using the arabtex package but when writing an Arabic sentence like ...
1
vote
0answers
58 views

tcolorbox listing in XeLaTex compiler

I want to write a document whose main language is Arabic with listings by using the package \usepackage{polyglossia} \documentclass[14pt]{extarticle} \usepackage[listings,minted,breakable,skins]{...
6
votes
2answers
4k views

Overview of Arabic fonts available for LaTeX/XeTeX?

is there an overview available for Arabic fonts in LaTeX / XeTeX? Ideally with output examples, so that it becomes clear how they compare. So far, I'm aware of Geeza Pro, Amiri (and its variants), ...
1
vote
1answer
88 views

Entering Arabic hamza (ء) with LaTeX

I need to enter some words that begin with an Arabic hamza. Because of publishers' limitation, I don't use Lua/XeLaTeX, and I experience conflicts with ucs package. LaTeX returns error when it ...
3
votes
1answer
49 views

command \pagenumbering can't change numbers style i

I want to use Roman numbers and Arabic numbers in my thesis. the total language of the document is Arabic and I use command \pagenumbering to change page number's style. I tried most of the ...
1
vote
1answer
80 views

Problems Inserting Arabic Transcripts

I have been having difficulty inserting my Arabic transcripts and translations into my paper written in English. In order to typeset the Arabic I have been using polyglossia; however, in my paper, I ...
1
vote
1answer
189 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
1answer
60 views

Arabic/Polyglossia/Bidi incompatibility with `abnt` package

Using bidi redefines chapter headings and also figure counters with chngcntr back to the default book class behavior. I tried to change the order of the packages, even in the .sty file, to no avail. \...
1
vote
1answer
85 views

Using Arabic packages in LaTex gives this error: (inputting `fleqn.clo' instead of obsolete `fleqn.sty'.)

I am working with LaTex, the script is working fine without the last 6 lines related to Arabic text, I tried many different Arabic packages the problem always same, the issue is: Fatal fontspec error:...
1
vote
1answer
59 views

How to define proof and corollary in polyglossia

\documentclass[12pt]{book} \usepackage{titlesec} \usepackage{titletoc} \usepackage{etoolbox} \usepackage{multicol} \usepackage{titleps} \usepackage{amsmath,amssymb} %\usepackage{framed} %\...
0
votes
0answers
380 views

Transliteration problem with arabxetex package

The following code is not producing properly formatted transliteration of the arabic text. I have no trouble producing proper arabic characters with the [voc] option, but the [trans] option is not ...
2
votes
2answers
171 views

Support Arabic in LaTeX .cls file

Can you please add some lines to the following .cls file to support Arabic language? \ProvidesClass{bandar-cv}[2012/04/30 CV class] \NeedsTeXFormat{LaTeX2e} \DeclareOption{print}{\def\@cv@print{}} \...
5
votes
1answer
372 views

Arabic Right to Left using Luatex

I need to write some text in arabic using Latex. It is important for me to compile the tex file using Lualatex (here I report a minimal working example, but the document class I am originally using ...
2
votes
0answers
102 views

Arabic letters using the “Scripts for data acquisition with paper-based surveys”

I am designing a questionnaire with the "Scripts for data acquisition with paper-based surveys" (SDAPS) - available here: https://sdaps.org/ Although from version 1.1.11 released on 27.12.2015 Arabic ...
2
votes
1answer
177 views

Remove particular characters from some string

Consider this code: \documentclass[12pt]{article} \usepackage{arabxetex} \usepackage{newunicodechar} \begin{document} \begin{arab} إِبرٰهۦمَِ \end{arab} \end{document} Output: The arabic ...
0
votes
0answers
35 views

Arabxetex plus missing glyph

The default font for arabxetex is Amiri. Here I want to use different font which is Markazi Text together with quran package. \documentclass[b5paper,11pt]{memoir} \usepackage[left=1.8cm,right=1.8cm,...
3
votes
1answer
217 views

Quran package with Hussaini Nastaleeq font

It's recommended (from the documentation) to use Amiri or Scheherazade font for the quran package, but I want to try different font in this case Hussaini Nastaleeq. Consider this code. \documentclass[...
0
votes
0answers
56 views

Question about compilation in Arabic tex

I found this tex files but it gives me many errors (in \fancyhfoffset,\mainmatter,..): i compile with xelatex and texlive 2017 how to do ? thank you \documentclass{book} \usepackage[dvips]{...
1
vote
1answer
90 views

Add Arabic Abstract at the end of a document

I am using this template for my master's thesis; however, I can not add the Arabic language to the output. Is there any way to add an Arabic abstract at the end of the document? P.S: I am using ...
4
votes
2answers
907 views

How to typeset (automatically) Qurʾānic verses?

I was reading the other day a book in Arabic, and I remarked how concisely the Qurʾānic verses were written, compare for example how the verse in that picture (it's between those brackets, 7th line) ...
1
vote
0answers
89 views

Beautiful section styles with polyglossia

I would like to us polyglossia to be able to write in arabic and english on the following code beautiful section styles It's compile without errors but the output doesn't show any Arabic language \...
1
vote
1answer
38 views

How do I fix the following problem in Arabic?

I am trying to compile a tex file that has some arabic. MWE: \documentclass{article} \usepackage{acl2018} \usepackage{arabtex} \begin{document} \begin{abstract} aa \end{abstract} \begin{tabular}...
27
votes
2answers
4k views

Typesetting Right-to-Left math

UPDATE: I've managed to produce something that is aesthetically correct, however with a lot of "hardcoding" and trial and error to manually measure my spaces. Not to mention that I have to write my ...
0
votes
1answer
80 views

Put a picture between two text (Arab)

How to prut an image between these two text \documentclass[12pt]{arabbook} \usepackage{color} \usepackage[utf8]{inputenc} \usepackage[english, arabic]{babel} \usepackage[LAE]{fontenc} \usepackage{...
4
votes
1answer
446 views

How to solve subcaption package compatibility issue when using babel package with arabic option?

I am trying to include some Arabic text but I am getting the following error: ! Package caption Error: The `subcaption' package does not work correctly (caption) in compatibility mode. ...
0
votes
1answer
204 views

unable to set direction right to left in arabic text

I need to insert arabic text. It works fine but text display is from left to right. How can I deal with that. \usepackage{polyglossia} \setmainlanguage{french} \setotherlanguage{arabic} \...
1
vote
0answers
227 views

“cannot-use-pdftex” even with “xelatex” and “lualatex” [closed]

\documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{Times New Roman} \newfontfamily\arabicfont [Script=Arabic, % to get correct arabic shaping ...
1
vote
1answer
202 views

Right-Left Control Character in Arabic when using Brackets

I am trying to enclose arabic text in Parentheses but the left parentheses prints before the first word. Example: %!TEX TS-program = xelatex \documentclass[14pt]{article} \usepackage{polyglossia} \...
3
votes
1answer
171 views

Linguistic trees and right to left

\documentclass[12pt]{article} \usepackage{csvsimple,filecontents} \usepackage{fontspec} \usepackage[american]{babel} \usepackage{libertine} \newfontfamily\arabicfont[Script=Arabic,Scale=2]{Amiri} \...
2
votes
1answer
430 views

Babel or polyglossia for Hebrew and Arabic in XeLaTeX?

I am trying to get an article formatted for someone who needs to use English and German but with two words each of Hebrew and Arabic. It appears that babel/hebrew requires inputenc, which makes it ...
9
votes
1answer
1k views

Arabic text in \begin{arab} displays properly but titles, sections, and everything else doesn't

Titles and Sections are not displayed properly in Arabic. They are shown as separated characters while other parts of the document is displayed perfectly. If I remove \setmainfont[Ligatures=TeX]{...
1
vote
1answer
133 views

Write real UTF32 in Latex?

Is it possible to write a Latex document independent of the input language (Latin, Arabic, Japanese, Hindi)? I though \usepackage[utf8]{inputenc} was there to do exactly that, but for instance ...
1
vote
1answer
109 views

Chapter Style Error When Using Polyglossia Package With Arabic Language

I am trying to use the following chapter style for Arabic language. My following code works perfectly for English only, and produced the following output. However, when I include polyglossia and ...
0
votes
1answer
97 views

Omitting the wasla sign

\documentclass[border=1cm]{standalone} \usepackage[fullvoc]{arabxetex} \newfontfamily\arabicfont[Script=Arabic]{Scheherazade-Regular.ttf} \begin{document} \begin{arab} be-al-ll-_ahi \end{...