/usr/share/texlive/texmf-dist/tex/lualatex/luapersian/bookest-luapersian.def is in texlive-luatex 2012.20120611-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | %%
%% 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 <vafa018@gmail.com>
%%
%% 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'.
|