# [XeTeX] sectioning commands with arabxetex

Vafa Khalighi vafakhlgh at gmail.com
Tue Mar 15 06:55:36 CET 2011

Do not put your sectioning commands inside RTL environment (arab).

2011/3/15 Abdulrahman Al-Abdusalalm <abdulrhman.niz at cas.edu.om>

> Hi,
>
> I am preparing a manuscript with arabxetex and facing a problem with
> sectioning commands (\section,\subsec...),
> basically the problem is that I get Arabic digits instead of Arabic-indic
> and also the numbering is typeset right to
> left (i.e. 1.3 for 3.1) the code snippet looks as follows:
>
> \begin{arab}
> ...
>
> \subsection{\textarab{الخطوط الرقمية} \textLR{(Fonts)}}
>
> ...
> \end{arab}
>
> I am also planning to include figures with captions and presume the same
> problem.
>
> --
> Abdulrahman AAl Abdulsalam
> Assistant Lecturer - IT Department
> College of Applied Science
> P.O. Box 699
> Nizwa, 611
> Oman
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>
>

--
If some one say: "You divide ten into two parts: multiply the one by itself;
it will be equal to the other taken eighty-one times." Computation: You say,
ten less thing, multiplied by itself, is a hundred plus a square less twenty
things, and this is equal to eighty-one things. Separate the twenty things
from a hundred and a square, and add them to eighty-one. It will then be a
hundred plus a square, which is equal to a hundred and one roots. Halve the
roots; the moiety is fifty and a half. Multiply this by itself, it is two
thousand five hundred and fifty and a quarter. Subtract from this one
hundred; the remainder is two thousand four hundred and fifty and a quarter.
Extract the root from this; it is forty-nine and a half. Subtract this from
the moiety of the roots, which is fifty and a half. There remains one, and
this is one of the two parts.