%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % arabart.cls % ArabTeX extension % Arabic version of article.cls % for use with ArabTeX Version 3.04 % % Copyright (C) 1995 by Klaus Lagally % 19.03.96 % % reusing article.cls of 23 Jun 1995 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat {LaTeX2e} \ProvidesClass {arabart}[1996/03/19 v0.04 arabic article format] \DeclareOption* {\PassOptionsToClass {\CurrentOption}{article}} \ProcessOptions \LoadClass {article} % load the LaTeX standard style and patch it %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \RequirePackage {arabtex} % load the ArabTeX processor \ifx \a@@var \a@@LaTeXiizix \UsePackage {nashbf}} \fi \UsePackage {latexext} % load local patches for LaTeX \UsePackage {arabext} % load local patches for ArabTeX % **************************************** % * PAGE STYLES * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \if@twoside \def\ps@headings{% \let\@oddfoot\@empty\let\@evenfoot\@empty \def\@evenhead{\thepage\hfil\slshape\leftmark}% \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% \let\@mkboth\markboth \def\sectionmark##1{% \markboth {\MakeUppercase{% \ifnum \c@secnumdepth >\z@ \thesection\quad \fi ##1}}{}}% \def\subsectionmark##1{% \markright {% \ifnum \c@secnumdepth >\@ne \thesubsection\quad \fi ##1}}} \else \def\ps@headings{% \let\@oddfoot\@empty \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% \let\@mkboth\markboth \def\sectionmark##1{% \markright {\MakeUppercase{% \ifnum \c@secnumdepth >\m@ne \thesection\quad \fi ##1}}}} \fi \def\ps@myheadings{% \let\@oddfoot\@empty\let\@evenfoot\@empty \def\@evenhead{\thepage\hfil\slshape\leftmark}% \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% \let\@mkboth\@gobbletwo \let\sectionmark\@gobble \let\subsectionmark\@gobble } \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \if@twoside % If two-sided printing. \def \ps@headings {% for arabic mode \let\@mkboth\markboth \def\@oddfoot{} \def\@evenfoot{}% \def \@evenhead {\edef \a@page {\thepage }% left heading \leftmark \hfil \expandafter \<\a@page >}% \def \@oddhead {\edef \a@page {\thepage }% right heading \expandafter \<\a@page >\hfil \rightmark }% \def \sectionmark ##1{\markboth {##1\ifnum \c@secnumdepth >\z@ \hskip 1em\relax \<\thesection >\fi }{}}% % \def \subsectionmark ##1{\markright {##1\ifnum \c@secnumdepth >\z@ \def \subsectionmark ##1{\markleft {##1\ifnum \c@secnumdepth >\z@ \hskip 1em\relax \<\thesubsection >\fi }}} \else % If one-sided printing. \def \ps@headings {% for arabic mode \let \@mkboth\markboth \def \@oddfoot{}\def \@evenfoot{}% \def \@oddhead {\edef \a@page {\thepage }% \expandafter \<\a@page >\hfil \rightmark }% \def \sectionmark ##1{\markright {##1\ifnum \c@secnumdepth >\z@ \hskip 1em\relax \<\thesection >\fi }}} \fi \def \ps@plain {% for arabic mode \let \@mkboth\@gobbletwo \let\@oddhead\@empty \let\@evenhead\@empty \def \@oddfoot {\edef \a@page {\thepage}\hfil \expandafter \<\a@page>\hfil }% \let \@evenfoot\@oddfoot } \def \ps@myheadings {% for arabic mode \let\@mkboth\@gobbletwo \def\@oddfoot{} \def\@evenfoot {}% \def \@oddhead {\edef \a@page {\thepage }% right heading \expandafter \<\a@page >\hfil \rightmark }% \def \@evenhead {\edef \a@page {\thepage }% left heading \leftmark \hfil \expandafter \<\a@page >}% \def\sectionmark ##1{}\def\subsectionmark ##1{}} % **************************************** % * TITLE AND ABSTRACT * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \if@titlepage \newcommand\maketitle{\begin{titlepage}% \let\footnotesize\small \let\footnoterule\relax \null\vfil \vskip 60\p@ \begin{center}% {\LARGE \@title \par}% \vskip 3em% {\large \lineskip .75em% \begin{tabular}[t]{c}% \@author \end{tabular}\par}% \vskip 1.5em% {\large \@date \par}% % Set date in \large size. \end{center}\par \@thanks \vfil\null \end{titlepage}% \setcounter{footnote}{0}% \let\thanks\relax\let\maketitle\relax \gdef\@thanks{}\gdef\@author{}\gdef\@title{}} \else \newcommand\maketitle{\par \begingroup \renewcommand\thefootnote{\@fnsymbol\c@footnote}% \def\@makefnmark{\hb@xt@\z@{$\m@th^{\@thefnmark}$\hss}}% \long\def\@makefntext##1{\parindent 1em\noindent \hb@xt@1.8em{\hss\@makefnmark}##1}% \if@twocolumn \ifnum \col@number=\@ne \@maketitle \else \twocolumn[\@maketitle]% \fi \else \newpage \global\@topnum\z@ % Prevents figures from going at top of page. \@maketitle \fi \thispagestyle{plain}\@thanks \endgroup \setcounter{footnote}{0}% \let\thanks\relax \let\maketitle\relax\let\@maketitle\relax \gdef\@thanks{}\gdef\@author{}\gdef\@title{}} \def\@maketitle{% \newpage \null \vskip 2em% \begin{center}% {\LARGE \@title \par}% \vskip 1.5em% {\large \lineskip .5em% \begin{tabular}[t]{c}% \@author \end{tabular}\par}% \vskip 1em% {\large \@date}% \end{center}% \par \vskip 1.5em} \fi \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % **************************************** % * UNITS * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \setcounter{secnumdepth}{3} \newcounter {part} \newcounter {section} \newcounter {subsection}[section] \newcounter {subsubsection}[subsection] \newcounter {paragraph}[subsubsection] \newcounter {subparagraph}[paragraph] \renewcommand\thepart {\@Roman\c@part} \renewcommand\thesection {\@arabic\c@section} \renewcommand\thesubsection {\thesection.\@arabic\c@subsection} \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection} \renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph} \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setcounter{secnumdepth}{5} % for test only \iffalse \at@arabtext {% switch to Arabic terms \def\thepart {\Roman{part}} % Roman numeral part numbers. \def\thepart {\arabic{part}} % Roman numeral part numbers. \def\thesection {\arabic{section}} \def\thesubsection {\arabic{subsection}.\thesection} \def\thesubsubsection {\arabic{subsubsection}.\thesubsection} \def\theparagraph {\arabic{paragraph}.\thesubsubsection} \def\thesubparagraph {\arabic{subparagraph}.\theparagraph} } \fi \def\thepart {\arabic{part}} % Roman numeral part numbers. \all@w@ne \arabic \all@w@ne \Roman % **************************************** % * PARTS * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand\part{\par \addvspace{4ex}% \@afterindentfalse \secdef\@part\@spart} \def\@part[#1]#2{% \ifnum \c@secnumdepth >\m@ne \refstepcounter{part}% \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% \else \addcontentsline{toc}{part}{#1}% \fi {\parindent \z@ \raggedright \interlinepenalty \@M \normalfont \ifnum \c@secnumdepth >\m@ne \Large\bfseries \partname~\thepart \par\nobreak \fi \huge \bfseries #2% \markboth{}{}\par}% \nobreak \vskip 3ex \@afterheading} \def\@spart#1{% {\parindent \z@ \raggedright \interlinepenalty \@M \normalfont \huge \bfseries #1\par}% \nobreak \vskip 3ex \@afterheading} \def\@endpart{\vfil\newpage \if@twoside \hbox{}% \thispagestyle{empty}% \newpage \fi \if@tempswa \twocolumn \fi} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \allowarab \thepart \newcommand \a@c@part {\a@@par %\tracingmacros 1 \addvspace {4ex}\@afterindentfalse \secdef \a@part \a@spart } \def \a@part [#1]#2{% numbered part \ifnum \c@secnumdepth >\m@ne \refstepcounter {part}% \addcontentsline {toc}{part}{\protect\RL {\protect\abjad{\thepart}\hspace {1em} #1 }}% \else \addcontentsline {toc}{part}{\protect\RL {#1}}% \fi \begingroup \let \end \a@@par \a@parindent \z@ % \raggedright ? \ifnum \c@secnumdepth >\m@ne \Large \nashbf \set@arabfont % \test@token \partname {} \abjad{\thepart } \end \test@token \partname \abjad{\thepart } \end \fi \huge \nashbf \set@arabfont \test@token #2 \end \markboth{}{}% \endgroup \nobreak \vskip 3ex \a@afterheading \test@token } \def \a@spart #1{% unnumbered part \begingroup \let \end \a@@par \a@parindent \z@ % \raggedright ? \huge \nashbf \set@arabfont \test@token #1 \end \endgroup \nobreak \vskip 3ex \a@afterheading \test@token } % **************************************** % * SECTIONS * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand\section{\@startsection {section}{1}{\z@}% {-3.5ex \@plus -1ex \@minus -.2ex}% {2.3ex \@plus.2ex}% {\normalfont\Large\bfseries}} \newcommand\subsection{\@startsection{subsection}{2}{\z@}% {-3.25ex\@plus -1ex \@minus -.2ex}% {1.5ex \@plus .2ex}% {\normalfont\large\bfseries}} \newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% {-3.25ex\@plus -1ex \@minus -.2ex}% {1.5ex \@plus .2ex}% {\normalfont\normalsize\bfseries}} \newcommand\paragraph{\@startsection{paragraph}{4}{\z@}% {3.25ex \@plus1ex \@minus.2ex}% {-1em}% {\normalfont\normalsize\bfseries}} \newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% {3.25ex \@plus1ex \@minus .2ex}% {-1em}% {\normalfont\normalsize\bfseries}} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def \a@c@section {\a@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus -.2ex}{2.3ex plus.2ex}% {\reset@font \Large\setnashbf }} \def \a@c@subsection {\a@startsection {subsection}{2}{\z@}{-3.25ex plus-1ex minus-.2ex}{1.5ex plus.2ex}% {\reset@font \large\setnashbf }} \def \a@c@subsubsection {\a@startsection {subsubsection}{3}{\z@}{-3.25ex plus -1ex minus-.2ex}{1.5ex plus.2ex}% {\reset@font \normalsize\setnashbf }} \def \a@c@paragraph {\a@startsection {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}% {\reset@font \normalsize\setnashbf }} \def\a@c@subparagraph {\a@startsection {subparagraph}{4}{\parindent}{3.25ex plus1ex minus .2ex}{-1em}% {\reset@font \normalsize\setnashbf }} % **************************************** % * LISTS * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \if@twocolumn \setlength\leftmargini {2em} \else \setlength\leftmargini {2.5em} \fi \setlength\leftmarginii {2.2em} \setlength\leftmarginiii {1.87em} \setlength\leftmarginiv {1.7em} \if@twocolumn \setlength\leftmarginv {.5em} \setlength\leftmarginvi {.5em} \else \setlength\leftmarginv {1em} \setlength\leftmarginvi {1em} \fi \setlength\leftmargin {\leftmargini} \setlength \labelsep {.5em} \setlength \labelwidth{\leftmargini} \addtolength\labelwidth{-\labelsep} \@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty -\@lowpenalty \renewcommand\theenumi{\@arabic\c@enumi} \renewcommand\theenumii{\@alph\c@enumii} \renewcommand\theenumiii{\@roman\c@enumiii} \renewcommand\theenumiv{\@Alph\c@enumiv} \newcommand\labelenumi{\theenumi.} \newcommand\labelenumii{(\theenumii)} \newcommand\labelenumiii{\theenumiii.} \newcommand\labelenumiv{\theenumiv.} \renewcommand\p@enumii{\theenumi} \renewcommand\p@enumiii{\theenumi(\theenumii)} \renewcommand\p@enumiv{\p@enumiii\theenumiii} \newcommand\labelitemi{$\m@th\bullet$} \newcommand\labelitemii{\normalfont\bfseries --} \newcommand\labelitemiii{$\m@th\ast$} \newcommand\labelitemiv{$\m@th\cdot$} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \at@arabtext {% switch to Arabic terms \def\theenumii{\arabic{enumii}} \def\theenumiii{\arabic{enumiii}} \def\theenumiv{\arabic{enumiv}} % \def\labelenumi{\theenumi\space-} % \def\labelenumi{\theenumi-} \def\labelenumii{\abj@d{\theenumii}-} \def\labelenumiii{\theenumiii\nospace(} \def\labelenumiv{\abj@d{\theenumiv}\nospace)} % \def\labelitemi{$\circ$} \def\labelitemii{$-$} \def\labelitemiii{$\star$} \def\labelitemiv{$+$} } % **************************************** % * OTHER ENVIRONMENTS * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newenvironment{description} {\list{}{\labelwidth\z@ \itemindent-\leftmargin \let\makelabel\descriptionlabel}} {\endlist} \newcommand*\descriptionlabel[1]{\hspace\labelsep \normalfont\bfseries #1} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % DESCRIPTION \def \descriptionlabel #1{\setnashbf \<#1>\hskip \labelsep } % THEOREM %%%%%%%%%%%%% NOT IMPLEMENTED % EQUATION and EQNARRAY %%%%%%%%%%%%% NOT IMPLEMENTED % TITLEPAGE %%%%%%%%%%%%% NOT IMPLEMENTED % TABBING %%%%%%%%%%%%% NOT IMPLEMENTED % MINIPAGE %%%%%%%%%%%%% NOT IMPLEMENTED % FRAMEBOX %%%%%%%%%%%%% NOT IMPLEMENTED % **************************************** % * ABSTRACT * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \if@titlepage \newenvironment{abstract}{% \titlepage \null\vfil \begin{center}% \bfseries \abstractname \@endparpenalty\@M \end{center}}% {\par\vfil\null\endtitlepage} \else \newenvironment{abstract}{% \if@twocolumn \section*{\abstractname}% \else \small \begin{center}% {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}% \end{center}% \quotation \fi} {\if@twocolumn\else\endquotation\fi} \fi % **************************************** % * OTHER ENVIRONMENTS * % **************************************** \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newenvironment{verse} {\let\\=\@centercr \list{}{\itemsep \z@ \itemindent -1.5em% \listparindent\itemindent \rightmargin \leftmargin \advance\leftmargin 1.5em}% \item[]} {\endlist} \newenvironment{quotation} {\list{}{\listparindent 1.5em% \itemindent \listparindent \rightmargin \leftmargin \parsep \z@ \@plus\p@}% \item[]} {\endlist} \newenvironment{quote} {\list{}{\rightmargin\leftmargin}% \item[]} {\endlist} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def \a@c@verse {% \tracingmacros 1 %{\let \a@short@line \last@line % \@centercr %{\def \a@last@line {\last@line \a@@par \a@spacefalse }% \@centercr %{\let\\=\@centercr %{\let \a@last@line \short@line \let \endverse \a@@endtrivlist %{% \a@@list{}{\itemsep\z@ \itemindent -1.5em \listparindent \itemindent \rightmargin\leftmargin \advance\leftmargin 1.5em}\a@@item[]} %\iffalse \def \a@c@quotation {% \tracingmacros 1 %\let \endquotation \a@@endtrivlist \a@@list{}{\listparindent 1.5em \itemindent\listparindent \rightmargin\leftmargin \parsep \z@ plus\p@}\a@@item[]} \def \a@c@quote {% \tracingmacros 1 \let \endquote \a@@endtrivlist \a@@list{}{\rightmargin\leftmargin}\a@@item[]} %\fi % **************************************** % * TITLE PAGE * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newenvironment{titlepage} {% \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse\newpage \fi \thispagestyle{empty}% \if@compatibility \setcounter{page}{0} \else \setcounter{page}{1}% \fi}% {\if@restonecol\twocolumn \else \newpage \fi \setcounter{page}{1}% } \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % **************************************** % * APPENDIX * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand\appendix{\par \setcounter{section}{0}% \setcounter{subsection}{0}% \renewcommand\thesection{\@Alph\c@section}} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % **************************************** % * FIGURES AND TABLES * % **************************************** % \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \setlength\arraycolsep{5\p@} \setlength\tabcolsep{6\p@} \setlength\arrayrulewidth{.4\p@} \setlength\doublerulesep{2\p@} \setlength\tabbingsep{\labelsep} \skip\@mpfootins = \skip\footins \setlength\fboxsep{3\p@} \setlength\fboxrule{.4\p@} \renewcommand\theequation{\@arabic\c@equation} \newcounter{figure} \renewcommand\thefigure{\@arabic\c@figure} \def\fps@figure{tbp} \def\ftype@figure{1} \def\ext@figure{lof} \def\fnum@figure{\figurename~\thefigure} \newenvironment{figure} {\@float{figure}} {\end@float} \newenvironment{figure*} {\@dblfloat{figure}} {\end@dblfloat} \newcounter{table} \renewcommand\thetable{\@arabic\c@table} \def\fps@table{tbp} \def\ftype@table{2} \def\ext@table{lot} \def\fnum@table{\tablename~\thetable} \newenvironment{table} {\@float{table}} {\end@float} \newenvironment{table*} {\@dblfloat{table}} {\end@dblfloat} \newlength\abovecaptionskip \newlength\belowcaptionskip \setlength\abovecaptionskip{10\p@} \setlength\belowcaptionskip{0\p@} \long\def\@makecaption#1#2{% \vskip\abovecaptionskip \sbox\@tempboxa{#1: #2}% \ifdim \wd\@tempboxa >\hsize #1: #2\par \else \global \@minipagefalse \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% \fi \vskip\belowcaptionskip} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % **************************************** % * TABLE OF CONTENTS, ETC. * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand\@pnumwidth{1.55em} \newcommand\@tocrmarg{2.55em} \newcommand\@dotsep{4.5} \setcounter{tocdepth}{3} \newcommand\tableofcontents{% \section*{\contentsname \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% \@starttoc{toc}% } \newcommand*\l@part[2]{% \ifnum \c@tocdepth >-2\relax \addpenalty\@secpenalty \addvspace{2.25em \@plus\p@}% \begingroup \setlength\@tempdima{3em}% \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth {\leavevmode \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par \nobreak \if@compatibility \global\@nobreaktrue \everypar{\global\@nobreakfalse\everypar{}} \fi \endgroup \fi} \newcommand*\l@section[2]{% \ifnum \c@tocdepth >\z@ \addpenalty\@secpenalty \addvspace{1.0em \@plus\p@}% \setlength\@tempdima{1.5em}% \begingroup \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth \leavevmode \bfseries \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par \endgroup \fi} \newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}} \newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}} \newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}} \newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}} \newcommand\listoffigures{% \section*{\listfigurename \@mkboth{\MakeUppercase\listfigurename}% {\MakeUppercase\listfigurename}}% \@starttoc{lof}% } \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} \newcommand\listoftables{% \section*{\listtablename \@mkboth{\MakeUppercase\listtablename}{\MakeUppercase\listtablename}}% \@starttoc{lot}% } \let\l@table\l@figure \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setcounter{tocdepth}{5} % for test only \def \a@c@tableofcontents {\a@t@ble {\contentsname }{toc}} % \a@t@ble, \a@@lsection etc. in "asect.sty" \def \a@l@section #1#2{% for arabic mode \addpenalty {\@secpenalty }\addvspace {1.0em plus\p@ } \if@twocolumn \@tempdima 1.0em \else \@tempdima 1.5em \fi \a@@lsection {#1}{#2}{\setnashbf }} \def \a@l@part #1#2{% for arabic mode \addpenalty {\@secpenalty }\addvspace {2.25em plus\p@ } \if@twocolumn \@tempdima 2.0em \else \@tempdima 3.0em \fi \a@@lsection {#1}{#2}{\large \setnashbf }} \at@arabtext {% switch to Arabic terms \let \l@part \a@l@part \let \l@section \a@l@section } \if@twocolumn \def\l@subsection{\@dottedtocline{2}{1.0em}{1.5em}} \def\l@subsubsection{\@dottedtocline{3}{2.5em}{2.3em}} \def\l@paragraph{\@dottedtocline{4}{4.8em}{3.1em}} \def\l@subparagraph{\@dottedtocline{5}{7.9em}{3.9em}} \def\@tocrmarg {1.55em} \fi \def \a@c@listoffigures {\a@t@ble {\listfigurename }{lof}} % \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} \def \a@c@listoftables {\a@t@ble {\listtablename }{lot}} % \let\l@table\l@figure % **************************************** % * BIBLIOGRAPHY * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newdimen\bibindent \bibindent=1.5em \newenvironment{thebibliography}[1] {\section*{\refname \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \if@openbib \advance\leftmargin\bibindent \itemindent -\bibindent \listparindent \itemindent \parsep \z@ \fi \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \if@openbib \renewcommand\newblock{\par}% \else \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}% \fi \sloppy\clubpenalty4000\widowpenalty4000% \sfcode`\.=\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % **************************************** % * THE INDEX * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand\newblock{} \newenvironment{theindex} {\if@twocolumn \@restonecolfalse \else \@restonecoltrue \fi \columnseprule \z@ \columnsep 35\p@ \twocolumn[\section*{\indexname}]% \@mkboth{\MakeUppercase\indexname}% {\MakeUppercase\indexname}% \thispagestyle{plain}\parindent\z@ \parskip\z@ \@plus .3\p@\relax \let\item\@idxitem} {\if@restonecol\onecolumn\else\clearpage\fi} \newcommand\@idxitem{\hangindent 40\p@} \newcommand\subitem{\par\hangindent 40\p@ \hspace*{20\p@}} \newcommand\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}} \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % **************************************** % * FOOTNOTES * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \renewcommand\footnoterule{% \kern-3\p@ \hrule\@width.4\columnwidth \kern2.6\p@} \long\def\@makefntext#1{% \parindent 1em% \noindent \hb@xt@1.8em{\hss\@makefnmark}#1} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Default definition \def\@makefnmark{\hbox{$^{\@thefnmark}\m@th$}} % see also "alatex.sty" % **************************************** % * LANGUAGE DEPENDENT NAMES * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand\contentsname{Contents} \newcommand\listfigurename{List of Figures} \newcommand\listtablename{List of Tables} \newcommand\refname{References} \newcommand\indexname{Index} \newcommand\figurename{Figure} \newcommand\tablename{Table} \newcommand\partname{Part} \newcommand\appendixname{Appendix} \newcommand\abstractname{Abstract} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \at@arabtext {% switch to Arabic terms \def\contentsname {al-mu.htawayAtu} \def\listfigurename {qA'imaTu a.s-.suwari} \def\listtablename {qA'imaTu al-^gadAwili} \def\partname {al-^guz'u} % \def\refname {\} \def\indexname {\} \def\figurename {\<.sUraTuN>} \def\tablename {\<^gadwaluN>} \def\abstractname {\} } \allowarab \contentsname \allowarab \listfigurename \allowarab \listtablename \allowarab \partname % **************************************** % * MISCELLANEOUS * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand\today{\ifcase\month\or January\or February\or March\or April\or May\or June\or July\or August\or September\or October\or November\or December\fi \space\number\day, \number\year} \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \iffalse \edef \a@@today {\number\day \space \ifcase\month\or yanAyir \or febrAyir \or mAris \or 'abrIl \or mAyU \or yUniyU \or yUliyU \or 'a.gus.tus \or sibtambar \or 'uktUbar \or nUfambar \or disambar \fi , \number\year} \def \a@c@today {\expandafter \a@c@mbox \expandafter {\a@@today }} \fi % see "acmd.sty" % **************************************** % * INITIALIZATION * % **************************************** \iffalse %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%% \setlength\columnsep{10\p@} \setlength\columnseprule{0\p@} \pagestyle{plain} \pagenumbering{arabic} \if@twoside \else \raggedbottom \fi \if@twocolumn \twocolumn \sloppy \flushbottom \else \onecolumn \fi \fi %%%%%%%%%%%%%%%% article.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Default initializations \iffalse \columnsep 20pt \columnseprule .4pt \headheight 18pt \fi % see "asizex.clo" \ps@plain % 'plain' page style \pagenumbering{arabic} % Arabic page numbers % **************************************** % * SIZE DEPENDENT PATCHES * % **************************************** \input {asize1\@ptsize.clo} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % end of file arabart.cls \endinput %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%