Hot answers tagged

9 votes
Accepted

Error ! Missing } inserted

The arabtex package redefines \endabstract to do \endlist instead of \egroup (which is what elsarticle expects). \documentclass[review]{elsarticle} \usepackage{arabtex} % fix the redefinition of \...
egreg's user avatar
  • 1.1m
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
6 votes

Pashto Alphabets in Latex

Use babel, which supports Pashto. (As of 2020, polyglossia does not.) This MWE requires LuaLaTeX from 2020 or later (or lualatex-dev might work). \documentclass{article} \tracinglostchars=2 \...
Davislor's user avatar
  • 43.3k
5 votes
Accepted

Problem with special characters

A sample of arabic, farsi document with arabi package \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[LAE,LFE]{fontenc} \usepackage[farsi,arabic]{babel} \begin{document} سلام \...
touhami's user avatar
  • 19.4k
5 votes
Accepted

\tableofcontent bug using biblatex, reledpar and arabtex

As explained by moewe, your combination of all these packages make you need to many \write room. You could use morewrites package, but you will get a very slow run. It is better to optimize your ...
Maïeul's user avatar
  • 10.9k
4 votes
Accepted

Change the "arqam.sty" arabtex

Here are some quick and dirty tricks. \documentclass[12pt]{arabbook} \usepackage{fancyhdr} \usepackage{arabtex} \usepackage{amssymb} \usepackage{amsmath} \usepackage{arqam} \usepackage{graphicx} \...
touhami's user avatar
  • 19.4k
4 votes
Accepted

How to get two different colors of Arabic letters and fatah?

You can print the fatah/fatha as a separate character in a different color. However, this means that the normal positioning mechanisms of the character do not work anymore, as the fatha does not know ...
Marijn's user avatar
  • 35.9k
3 votes
Accepted

Just printing the kasra or tanwin in ArabTex

The tanwin damma is character 024 (see arabsymb.sty in the installation directory of ArabTeX). You can print that as a single character after switching to the Arabic font, see arabtex.sty for some ...
Marijn's user avatar
  • 35.9k
3 votes
Accepted

unable to set direction right to left in arabic text

I created an example for you since yours wasn't functional, and it seems that setting your arabic text within an arabic environment gives you what you want (RTL starting on right side of page): \...
AML's user avatar
  • 2,255
3 votes
Accepted

arabxetex: how to write 'ayn with a long vowel fatha (dagger alif)

See the output below. This is the standard way for doing it. The picture you uploaded is not the standard notation especially the Sukoon and the little Alif. By the way, the picture is hand-written ...
CroCo's user avatar
  • 5,872
3 votes
Accepted

Can't use "arabtex" package with this template: Option clash for package babel

The class file does \usepackage[greek,latin,english]{babel} (which in my opinion is not a thing a class should do). This is such a common problem that the babel manual has a note telling you the way ...
cgnieder's user avatar
  • 66.3k
3 votes
Accepted

Arabic text inside of listings

Without arabtex, you need just LAE option for fontenc package and to activate right to left writing with \TeXXeTstate=1. \documentclass[cmyk]{article} \usepackage[utf8]{inputenc} \usepackage[LAE,T1]{...
Salim Bou's user avatar
  • 16.8k
2 votes

Arabtex & elsarticle

this error happens with acm template as well. Here is an answer to your question: https://tex.stackexchange.com/a/299880/34604 The idea is to add this after loading arabtex package: \def\...
Karim's user avatar
  • 73
2 votes
Accepted

Change numbers format in arabtex

Maybe something like this? \documentclass[a4paper,12pt]{article} \usepackage{arabtex} \usepackage{utf8} \XeTeXinterchartokenstate=1 \chardef\CharNormal=0 \chardef\CharBound=255 \...
PieCot's user avatar
  • 351
2 votes
Accepted

\end{abstract} conflicts with arabtext package

The arabtex package (precisely, asect.sty) does a redefinition of the \endabstract command, assuming it should be the same as in the standard classe article. You can easily restore the definition of ...
egreg's user avatar
  • 1.1m
2 votes
Accepted

Problem of using arabtex in memoir

I don't have texmaker, but there is also a problem with your file when running TeX from the command line. Add the line \let\notr@ce\relax\let\dotr@ce\relax before \makeatother. arabtex.sty ...
gernot's user avatar
  • 48.7k
2 votes

arabxetex: how to write 'ayn with a long vowel fatha (dagger alif)

\documentclass[12pt,a4paper]{article} \usepackage{arabtex} \begin{document} \setarab \fullvocalize \arabtrue \begin{RLtext} al`_alamiyna \end{RLtext} \end{document}
Suhari's user avatar
  • 21
2 votes

different fonts for arabtex package

Quoting from the arabtex manual, section 3.3 Font selection: For producing the extended Arabic script ArabTeX uses a special strategy to build up character shapes from a collection of fragments, ...
gernot's user avatar
  • 48.7k
2 votes
Accepted

Coloring text in Arabtex (and booktabs) package

Be sure you have the most recent version of acolor (the documentation should be dated 31 July 2014), and use it this way: \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage{...
Thérèse's user avatar
  • 12.6k
2 votes
Accepted

Typing Arabic IPA phoneme symbol

I have managed to fix the issue using XeLaTeX. My code: %!TEX TS-program = xelatex \documentclass[a4paper,10pt]{article} \usepackage{booktabs} \usepackage{xunicode} \usepackage{...
NuminousName's user avatar
2 votes
Accepted

theorem environment in Arabtex

Here is a solution with xelatex and the package arabxetex. \documentclass{book} %--------------------------------------------- \usepackage{fontspec} \setmainfont{Times New Roman} \setsansfont{Arial} \...
touhami's user avatar
  • 19.4k
2 votes

Arabic text in latex

I update my answer from here: https://tex.stackexchange.com/a/46627/12277 This is the new version with two small fixes*. It needs to run with LuaLaTeX (or as suggested with lualatexmk): % !TEX TS-...
ClintEastwood's user avatar
2 votes

Arabic text in latex

Why not using transliteration mode of arabic letters https://en.wikipedia.org/wiki/ArabTeX You can insert short english text inside arabtex environment with \LR{english text} \documentclass[12pt]{...
Salim Bou's user avatar
  • 16.8k
2 votes
Accepted

Add an Arab Word within an English Document

A very simple way (while sticking with pdfLaTeX) is as follows \usepackage{arabtex} \usepackage{utf8} \setcode{utf8} and then in the text: \RL{قرار}
Janothan's user avatar
  • 178
2 votes
Accepted

Title of the chapter "in the center" arabtext

Here is a solution. We need to redefine \a@makechapterhead command, like this \def\a@makechapterhead #1{% make heading with number \null \vfil \begingroup \let \end \a@@par \a@@centering \...
touhami's user avatar
  • 19.4k
2 votes
Accepted

Can't write in Arabic in Latex using "arabluatex" package

arabluatex has changed somewhat since the answer you cite, and you’re missing \txarb{...}. Use it this way: \documentclass{article} \usepackage[novoc]{arabluatex} \newfontfamily\arabicfont[Script=...
Thérèse's user avatar
  • 12.6k
2 votes

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

First off, you don't want the main language is Arabic, do you? Second, arabtex does several redefinitions that clash with the document class; leave it out. You also need to restore a Latin output ...
egreg's user avatar
  • 1.1m
2 votes

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

The way to go with arabtex is to use the 'pipe' character (|) which prevents the šadda from being generated, like so:— \documentclass[11pt,a4paper]{article} \usepackage{arabtex} \begin{document} {\...
Robert Alessi's user avatar
2 votes

How to add custom footer to a specific page?

I cannot run your code because I don't have the fonts, but you could use the fancyhdr package and then put your coloured footer in with \fancyfoot[C]{...your code...} Like \usepackage{fancyhdr} \...
Pieter van Oostrum's user avatar
2 votes

Transliteration asked of a Arabic word for use with arabtex / LaTeX

\documentclass{article} \usepackage{arabtex} \begin{document} \Huge \RL{ju--mhwriyaT mi.sr al-`arabiya--T} \end{document}
Salim Bou's user avatar
  • 16.8k

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