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 \...
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 ...
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
\...
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}
سلام
\...
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 ...
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}
\...
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 ...
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 ...
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):
\...
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 ...
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 ...
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]{...
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\...
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
\...
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 ...
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 ...
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}
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, ...
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{...
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{...
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}
\...
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-...
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]{...
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{قرار}
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 \...
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=...
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 ...
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}
{\...
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}
\...
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}
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
arabtex × 58arabic × 31
arabxetex × 7
xetex × 5
languages × 5
polyglossia × 4
html × 3
abstract × 3
persian × 3
fonts × 2
table-of-contents × 2
errors × 2
color × 2
numbering × 2
packages × 2
chapters × 2
theorems × 2
babel × 2
unicode × 2
elsarticle × 2
acm × 2
arabluatex × 2
biblatex × 1
bibliographies × 1
sectioning × 1