%% %% This is file `bookest-xetex-bidi.def', %% generated with the docstrip utility. %% %% The original source files were: %% %% bidi.dtx (with options: `bookest-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Persian TeX Group %% %% License information appended. %% %% \ProvidesFile{bookest-xetex-bidi.def}[2010/07/25 v0.4 bidi adaptations for bookest class for XeTeX engine] \def\@makechapterhead#1{% \vspace*{20\p@} {\parindent \z@ \if@RTL\raggedleft\else\raggedright\fi \normalfont \ifnum \c@secnumdepth >\m@ne \if@mainmatter {\colorA\huge\scshape \@chapapp\space \thechapter} \par\nobreak \vskip 10\p@ \fi \fi \interlinepenalty\@M {\colorB\hrule} \vskip 15\p@ \if@RTL\begin{flushleft}\else\begin{flushright}\fi {\colorA\Huge \bfseries #1}\par\nobreak \if@RTL\end{flushleft}\else\end{flushright}\fi \vskip 5\p@ {\colorB\hrule} \vskip 30\p@ }} \def\@makeschapterhead#1{% \vspace*{20\p@} {\parindent \z@ \raggedright \normalfont {\colorB\hrule} \vskip 15\p@ \begin{center} {\colorA\Huge \bfseries #1}\par\nobreak \end{center} \vskip 5\p@ {\colorB\hrule} \vskip 30\p@ }} %% %% Copyright © 2009–2013 Persian TeX Group %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of %% this license is at: http://www.latex-project.org/lppl.txt %% %% This work is “maintained” (as per LPPL maintenance status) %% by Persian TeX Group. %% %% %% %% %% End of file `bookest-xetex-bidi.def'.