diff options
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/simurgh/simurgh-boek3.sty')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/simurgh/simurgh-boek3.sty | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/simurgh/simurgh-boek3.sty b/Master/texmf-dist/tex/lualatex/simurgh/simurgh-boek3.sty new file mode 100644 index 00000000000..be82845635d --- /dev/null +++ b/Master/texmf-dist/tex/lualatex/simurgh/simurgh-boek3.sty @@ -0,0 +1,70 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{simurgh-boek3}[2013/12/01 v0.01a changes to `boek3.cls'] +\renewcommand*\left@footnoterule{% + \hbox dir TLT to \columnwidth + {\vbox{% + \kern-3\p@ + \kern.5\baselineskip + \hrule\@width\unitindent + \kern.4\baselineskip}\hfil} +} +\renewcommand*\right@footnoterule{% + \hbox dir TRT to \columnwidth + {\vbox{% + \kern-3\p@ + \kern.5\baselineskip + \hrule\@width\unitindent + \kern.4\baselineskip}\hfil} +} +\renewenvironment{thebibliography}[1] + {\chapter*{\bibname}% + \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% + \if@RTL% + \if@LTRbibitems% + \@RTLfalse% + \simurgh@pardir TLT% + \simurgh@textdir TLT% + \fi% + \else% + \if@RTLbibitems% + \@RTLtrue% + \simurgh@pardir TRT% + \simurgh@textdir TRT% + \fi% + \fi% + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand*\theenumiv{\@arabic\c@enumiv}}% + \sloppy\clubpenalty4000\widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist} +\renewcommand*\thesection{\thechapter\@SepMark\@arabic\c@section} +\renewcommand*\thesubsection{\thesection\@SepMark\@arabic\c@subsection} +\renewcommand*\thesubsubsection{\thesubsection\@SepMark\@arabic\c@subsubsection} +\renewcommand*\theparagraph{\thesubsubsection\@SepMark\@arabic\c@paragraph} +\renewcommand*\thesubparagraph{\theparagraph\@SepMark\@arabic\c@subparagraph} +\renewcommand*\theequation{% + \ifnum \c@chapter>\z@ \thechapter\@SepMark\fi\@arabic\c@equation} +\renewcommand*\thefigure{% + \ifnum\c@chapter>\z@\thechapter\@SepMark\fi\@arabic\c@figure} +\renewcommand*\thetable{% + \ifnum\c@chapter>\z@\thechapter\@SepMark\fi\@arabic\c@table} + +\renewcommand*\thepart{\@tartibi\c@part} +\renewcommand*\frontmatter{% + \cleardoublepage + \@mainmatterfalse + \pagenumbering{harfi}} +\renewcommand*\appendix{\par + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \gdef\@chapapp{\appendixname}% + \gdef\thechapter{\@harfi\c@chapter}} +\endinput
\ No newline at end of file |