1

I have this files:

\documentclass[12pt,a4paper]{extbook}
%---------------------------------------------

\usepackage{fontspec}
\setmainfont{Times New Roman}
\setsansfont{Arial}
\setmonofont{Courier New}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.1]{Amiri}
%---------------------------------------------
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{amssymb}
%---------------------------------------------
\usepackage{polyglossia}
\makeatletter 
\AtBeginDocument{\bidi@isloaded{arabxetex}}
\makeatother
\setdefaultlanguage{arabic}
\setotherlanguage{english}
%---------------------------------------------
\usepackage[novoc]{arabxetex}
%---------------------------------------------
\pagestyle{fancy}
\renewcommand{\headrulewidth}{1.5pt}
\renewcommand{\footrulewidth}{1.5pt}
\renewcommand{\baselinestretch}{1.5}
% bdAyt Alw_tyqT
\rhead{\textarab{Alf.sl Al'awl}}
\lhead{\textarab{`nwAn Alf.sl}}
%---------------------------------------------
\newtheorem{theorem}{n.zryT}
\renewcommand{\thetheorem}{\textLR{\arabic{theorem}}}
%---------------------------------------------
\begin{document}
\chapter{\textarab{alqsmT}}
\begin{arab}
\begin{theorem}
kl `dad yqbl alqsmT `l 1.
\end{theorem}
\begin{theorem}
kl `dad yqbl alqsmT `l nfsh.
\end{theorem}
\end{arab}
\end{document}

I want to have numbers 1,2,...

and instid of "bab" i want "Alf.sl "

How to do please ?

Thank you very much

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.