summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/simurgh/tex/simurgh-artikel1.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/latex/simurgh/tex/simurgh-artikel1.sty')
-rw-r--r--macros/luatex/latex/simurgh/tex/simurgh-artikel1.sty59
1 files changed, 59 insertions, 0 deletions
diff --git a/macros/luatex/latex/simurgh/tex/simurgh-artikel1.sty b/macros/luatex/latex/simurgh/tex/simurgh-artikel1.sty
new file mode 100644
index 0000000000..c941523877
--- /dev/null
+++ b/macros/luatex/latex/simurgh/tex/simurgh-artikel1.sty
@@ -0,0 +1,59 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{simurgh-artikel1}[2013/09/18 v0.01a changes to `artikel1.cls']
+\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}
+\renewenvironment{thebibliography}[1]
+ {\section*{\refname}%
+ \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
+ \if@RTL%
+ \if@LTRbibitems%
+ \@RTLfalse%
+ \pardir TLT%
+ \textdir TLT%
+ \fi%
+ \else%
+ \if@RTLbibitems%
+ \@RTLtrue%
+ \pardir TRT%
+ \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*\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}
+}
+
+\renewcommand*\thepart{\@tartibi\c@part}
+\renewcommand*\appendix{\par
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \gdef\thesection{\@harfi\c@section}}
+
+\endinput \ No newline at end of file