Skip to main content
16 votes

Overview of Arabic fonts available for LaTeX/XeTeX?

In texmf-dist/doc/latex/arabi/user_guide.pdf, pages 50–51 give samples of fonts from Microsoft and from arabeyes.org (there are .ttf versions of the latter in Debian’s fonts-arabeyes package). And ...
Thérèse's user avatar
  • 12.7k
13 votes
Accepted

Arabic Text inside Tikz decorations.text

Because Arabic is complex, characters are connected to form a word, unlike English and Latin, it can not bend to follow a path easily. To remedy this, you have to break the text into separate words ...
AboAmmar's user avatar
  • 46.8k
10 votes
Accepted

How to use Arabic symbols as mathematical variables?

You can do it, but I don't think your readers will be happy. \documentclass{article} \usepackage{amsmath} \DeclareRobustCommand{\waw}{{\text{\usefont{U}{xnsh}{m}{n}\symbol{240}}}} \begin{document} $...
egreg's user avatar
  • 1.2m
10 votes
Accepted

Arabic Numerals in Arabic Text

To get the Unicode bidirectional algorithm working correctly, you need to use babel. There are many clever things babel can now do with lualatex and right-to-left languages. Have a look through the ...
David Purton's user avatar
  • 26.5k
10 votes
Accepted

Write Urdu with LuaTex

This here should probably work (to really make use of the HarfBuzz Render you need either texlive 2020 or should use the lualatex-dev format): \documentclass{article} \usepackage{fontspec} \...
Ulrike Fischer's user avatar
8 votes

Emphasizing Arabic text characters

The following can be improved in various ways (e.g. using tikz is probably a bit overkill and also doesn't work well in RTL mode; there should be a way to select the glyphs which gets a frame and to ...
Ulrike Fischer's user avatar
8 votes
Accepted

Prophet symbol in LaTeX

There are many ways to work with the Arabic script. My preference is the arabluatex package, which requires you to choose LuaLaTeX as your compiler. With arabluatex, your desired output can be ...
Thérèse's user avatar
  • 12.7k
7 votes

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

You didn't say what you had tried, but with xelatex, this works \documentclass{article} \begin{document} Muḥammad ibn Mūsā al-Khwārizmī \end{document}
David Carlisle's user avatar
7 votes
Accepted

Can't write in Arabic: Package babel Error: Language definition file main=arabic.ldf not found. \ProcessOptions*

The arabic.ldf of babel (and also the arabtex package) make many changes to various commands which can clash in various places (e.g. in the combination of minitoc and microtype). Both are also rather ...
Ulrike Fischer's user avatar
7 votes
Accepted

xelatex+polyglossia+hebrew: how to avoid parasitic blank space

Don't use the xltxtra package, it is outdated (and gives your error). The space is a bug which has been already reported: https://github.com/reutenauer/polyglossia/issues/459 Until polyglossia is ...
Ulrike Fischer's user avatar
7 votes
Accepted

fontspec/babel: Language 'Arabic' not available for font(fontspec) 'ScheherazadeNew' with script 'Arabic'

That MWE looks mostly correct for LuaLaTeX. You don.t need both \babelfont and \arabicfont: the first is for babel, which you’re using, and the second would be what you would use with polyglossia. ...
Davislor's user avatar
  • 45.8k
6 votes

How to set up the font Scheherazade for use with XeLaTeX?

You should uninstall the WOFF version of the fonts, these are meant for use on the web and XeTeX does not support them. It seems that XeTeX (the engine) will happily process WOFF files since it uses ...
خالد حسني's user avatar
6 votes
Accepted

How to quickly romanize Arabic in LaTeX?

I am not entirely sure what you are looking for. 1. Option If you want to automatically transform words written in the original Arabic (such as كان) into its grammatically correct transliteration (...
ClintEastwood's user avatar
6 votes
Accepted

Babel or polyglossia for Hebrew and Arabic in XeLaTeX?

Use polyglossia. Here is an example of how you can do it. Change the fonts as you see fit. Simply encase the Hebrew or Arabic text in \begin{hebrew} ... \end{hebrew} or \begin{Arabic} ... \end{Arabic}...
AML's user avatar
  • 2,265
6 votes

Problem when trying to make arabic text follow the path using TikZ

The characters are not distorted, but they are just the isolated forms. Arabic can’t easily be typeset on a curved path because the characters won’t be attached properly to each other. It is possible, ...
Jasper Habicht's user avatar
6 votes
Accepted

Write real UTF32 in Latex?

XeTeX does have built in support for UTF-32 (and it could be coded in Lua for luatex) For example was produced from \XeTeXinputencoding UTF-32 XXX\...
David Carlisle's user avatar
6 votes
Accepted

Emphasizing Arabic text characters

Robert's answer with babel, added \arbboxi, \arbboxr, \arbboxl and \arbboxb for isolated, beginning, end, middle form of letters. boxes are drawn with TikZ you can customize them with boxstyle as you ...
Salim Bou's user avatar
  • 17.1k
6 votes
Accepted

Trouble in biber with "ḥʼḤ"

You can help LaTeX and provide the representation of the unknown characters. \begin{filecontents*}{\jobname.bib} @book{suhrawardiPhilosophieErleuchtungHikmat2011a, title = {Philosophie der ...
egreg's user avatar
  • 1.2m
6 votes
Accepted

How can I display eastern arabic numbers (in the output) while using pdfLaTeX?

\documentclass{book} \usepackage[english]{babel} \usepackage[LAE,T1]{fontenc} \begin{document} Some arabic numbers {\fontencoding{LAE}\selectfont1234567890} \end{document}
Ulrike Fischer's user avatar
6 votes
Accepted

The current roman font does not contain the Arabic (polyglossia)

A current polyglossia will give a better error message: ! Package polyglossia Error: The current latin monospace font does not contain the "Arabic" script! (polyglossia) ...
Ulrike Fischer's user avatar
5 votes

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

Khaled Hosny has created the font Amiri, which is, in his own words a digital typeface to be used in typesetting Koranic verses. It is is a revival of the beautiful typeface pioneered in early 20th ...
brian-ammon's user avatar
  • 2,425
5 votes

List environments in ArabLuaTeX

Thank you for this report. I have to confess that list environments have slipped my mind so far! Very sorry about that. The next release of arabluatex, which I hope to publish soon, will support ...
Robert Alessi's user avatar
5 votes
Accepted

Arabic/Russian interlinear text

Since you need to have your \gla lines be in Arabic and you want those lines to be set RTL, it's best to set the whole example in an {Arabic} environment, and then make the other gloss lines to use ...
Alan Munn's user avatar
  • 221k
5 votes
Accepted

Getting right-to-left output in Arabic and Persian/Farsi with pdfLaTeX

Short answer: Instead of \foreignlanguage{arabic} and \foreignlanguage{farsi}, use \AR and \FR. Firstly, the MWE given in the question (at least as of the current revision) is most certainly not ...
ShreevatsaR's user avatar
  • 46.1k
5 votes
Accepted

ConTeXt: How to typeset Arabic text?

[Disclaimer: Neither do I speak arabic nor do I have any understanding of the arabic script.] I copied the relevant stuff to setup the arabic font from ara-sty.tex. That is the font features and ...
Henri Menke's user avatar
5 votes

Arabic with Exam class: Incompatible?

The class is buggy. It uses in various places formatting commands as numbers, and this breaks as soon as \@arabic no longer gives a number. An incomplete sample of problematic places: \ifnum \...
Ulrike Fischer's user avatar
5 votes
Accepted

Assimilated alif (arabxetex)

I have found the solution. Type humu "A"l-mufsidUna The quotes suppress the diacritics on the alif. You can find further information in section 4.1.3 of the ArabTeX manual which ArabXeTeX relies on. ...
EuklidAlexandria's user avatar
5 votes
Accepted

Remove particular characters from some string

The character in the input is U+06E6 defining that to do nothing changes the output, but I can not read either form so I can not tell if this is a good result. \documentclass[12pt]{article} \...
David Carlisle's user avatar
5 votes
Accepted

How can I disable the automatic transliteration of Arabic?

The command you want is \transfalse. For example, \documentclass[12pt]{article} \usepackage{arabtex} \begin{document} \setarab \novocalize \spreadtrue \transfalse \begin{RLtext} klAm fI m.h.d al-...
Thérèse's user avatar
  • 12.7k

Only top scored, non community-wiki answers of a minimum length are eligible