diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def new file mode 100644 index 00000000000..3231a9305fb --- /dev/null +++ b/Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def @@ -0,0 +1,58 @@ +%% +%% This is file `bookest-xetex-bidi.def', + +%% +%% __________________________________ +%% Copyright © 2009-2010 Vafa Khalighi +%% +%% 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-2010 by Vafa Khalighi <vafakh84@gmail.com> +%% +%% Distributable 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 Vafa Khalighi. +%% +%% +%% +%% +%% +%% End of file `bookest-xetex-bidi.def'. |