%% %% This is file `bookest-luapersian.def', %% generated with the docstrip utility. %% ______________________________________ %% Copyright © 2011 Vafa Khalighi %% %% License information appended. %% %% \ProvidesFile{bookest-luapersian.def}[2011/08/01 v0.1 adaptations for bookest class] \def\@makechapterhead#1{% \vspace*{20\p@} {\parindent \z@ \raggedright \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@ }} \renewcommand \thepart {\@tartibi\c@part} \renewcommand\appendix{\par \setcounter{chapter}{0}% \setcounter{section}{0}% \gdef\@chapapp{\appendixname}% \gdef\thechapter{\@harfi\c@chapter} }%end appendix %% %% Copyright © 2011 Vafa Khalighi %% %% 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 “author-maintained” (as per LPPL maintenance status) %% by Vafa Khalighi. %% %% %% %% %% End of file `bookest-luapersian.def'.