summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/luapersian/scrartcl-luapersian.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/luapersian/scrartcl-luapersian.def')
-rw-r--r--Master/texmf-dist/tex/lualatex/luapersian/scrartcl-luapersian.def295
1 files changed, 0 insertions, 295 deletions
diff --git a/Master/texmf-dist/tex/lualatex/luapersian/scrartcl-luapersian.def b/Master/texmf-dist/tex/lualatex/luapersian/scrartcl-luapersian.def
deleted file mode 100644
index e8cc10cdb65..00000000000
--- a/Master/texmf-dist/tex/lualatex/luapersian/scrartcl-luapersian.def
+++ /dev/null
@@ -1,295 +0,0 @@
-%%
-%% This is file `scrartcl-luapersian.def',
-%% generated with the docstrip utility.
-%% ______________________________________
-%% Copyright © 2011 Vafa Khalighi
-%%
-%% License information appended.
-%%
-%%
-\ProvidesFile{scrartcl-luapersian.def}[2011/08/01 v0.1 adaptations for scrartcl class]
-\renewcommand*\maketitle[1][1]{%
- \if@titlepage
- \begin{titlepage}
- \setcounter{page}{%
- #1%
- }%
- \let\footnotesize\small
- \let\right@footnote\relax
- \let\left@footnote\relax
- \let\textwidth@footnote\relax
- \let\footnote\thanks
- \let\LTRfootnote\LTRthanks
- \let\RTLfootnote\RTLthanks
- \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
- \let\@oldmakefnmark\@makefnmark
- \renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}%
- \ifx\@extratitle\@empty \else
- \noindent\@extratitle\next@tpage\cleardoubleemptypage
- \thispagestyle{empty}%
- \fi
- \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
- \ifx\@titlehead\@empty \else
- \begin{minipage}[t]{\textwidth}%
- \@titlehead
- \end{minipage}\par
- \fi
- \null\vfill
- \begin{center}
- \ifx\@subject\@empty \else
- {\subject@font \@subject \par}%
- \vskip 3em
- \fi
- {\titlefont\huge \@title\par}%
- \vskip 1em
- {\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}%
- \vskip 2em
- {\Large \lineskip 0.75em
- \begin{tabular}[t]{c}
- \@author
- \end{tabular}\par
- }%
- \vskip 1.5em
- {\Large \@date \par}%
- \vskip \z@ \@plus3fill
- {\Large \@publishers \par}%
- \vskip 3em
- \end{center}\par
- \@thanks
- \vfill\null
- \if@twoside\next@tpage
- \begin{minipage}[t]{\textwidth}
- \@uppertitleback
- \end{minipage}\par
- \vfill
- \begin{minipage}[b]{\textwidth}
- \@lowertitleback
- \end{minipage}
- \fi
- \ifx\@dedication\@empty \else
- \next@tpage\null\vfill
- {\centering \Large \@dedication \par}%
- \vskip \z@ \@plus3fill
- \if@twoside \next@tpage\cleardoubleemptypage \fi
- \fi
- \end{titlepage}
- \else
- \par
- \@tempcnta=%
- #1%
- \relax\ifnum\@tempcnta=1\else
- \ClassWarning{\KOMAClassName}{%
- Optional argument of \string\maketitle\space ignored
- at\MessageBreak
- notitlepage-mode%
- }%
- \fi
- \begingroup
- \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
- \let\@oldmakefnmark\@makefnmark
- \renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}
- \if@twocolumn
- \ifnum \col@number=\@ne
- \@maketitle
- \else
- \twocolumn[\@maketitle]%
- \fi
- \else
- \newpage
- \global\@topnum\z@
- \@maketitle
- \fi
- \thispagestyle{\titlepagestyle}\@thanks
- \endgroup
- \fi
- \setcounter{footnote}{0}%
- \let\thanks\relax
- \let\LTRthanks\relax
- \let\RTLthanks\relax
- \let\maketitle\relax
- \let\@maketitle\relax
- \global\let\@thanks\@empty
- \global\let\@author\@empty
- \global\let\@date\@empty
- \global\let\@title\@empty
- \global\let\@subtitle\@empty
- \global\let\@extratitle\@empty
- \global\let\@titlehead\@empty
- \global\let\@subject\@empty
- \global\let\@publishers\@empty
- \global\let\@uppertitleback\@empty
- \global\let\@lowertitleback\@empty
- \global\let\@dedication\@empty
- \global\let\author\relax
- \global\let\title\relax
- \global\let\extratitle\relax
- \global\let\titlehead\relax
- \global\let\subject\relax
- \global\let\publishers\relax
- \global\let\uppertitleback\relax
- \global\let\lowertitleback\relax
- \global\let\dedication\relax
- \global\let\date\relax
- \global\let\and\relax
-}%
-\renewcommand*{\@maketitle}{%
- \clearpage
- \let\footnote\thanks
- \let\LTRfootnote\LTRthanks
- \let\RTLfootnote\RTLthanks
- \ifx\@extratitle\@empty \else
- \noindent\@extratitle \next@tpage \if@twoside \null\next@tpage \fi
- \fi
- \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
- \ifx\@titlehead\@empty \else
- \begin{minipage}[t]{\textwidth}
- \@titlehead
- \end{minipage}\par
- \fi
- \null
- \vskip 2em%
- \begin{center}%
- \ifx\@subject\@empty \else
- {\subject@font \@subject \par}
- \vskip 1.5em
- \fi
- {\titlefont\huge \@title \par}%
- \vskip .5em
- {\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}%
- \vskip 1em
- {\Large
- \lineskip .5em%
- \begin{tabular}[t]{c}
- \@author
- \end{tabular}\par
- }%
- \vskip 1em%
- {\Large \@date \par}%
- \vskip \z@ \@plus 1em
- {\Large \@publishers \par}
- \ifx\@dedication\@empty \else
- \vskip 2em
- {\Large \@dedication \par}
- \fi
- \end{center}%
- \par
- \vskip 2em
-}%
-\renewenvironment{thebibliography}[1]{%
- \if@bib@break@
- \bib@beginhook
- \else
- \bib@heading
- \ifx\bibpreamble\relax\else\ifx\bibpreamble\@empty\else
- \noindent\bibpreamble\par\nobreak
- \fi\fi
- \bib@beginhook
- \bib@before@hook
- \fi
- \renewcommand{\BreakBibliography}[1]{%
- \@bib@break
- \end{thebibliography}%
- \begingroup ##1\endgroup
- \begin{thebibliography}{#1}
- }%
- \if@RTL\if@LTRbibitems\@RTLfalse\bodydir TLT\pardir TLT\textdir TLT\else\fi\else\if@RTLbibitems\@RTLtrue\bodydir TRT\pardir TRT\textdir TRT\else\fi\fi
- \list{%
- \@biblabel{\@arabic\c@enumiv}%
- }{%
- \settowidth\labelwidth{\@biblabel{#1}}%
- \leftmargin\labelwidth
- \advance\leftmargin\labelsep
- \@openbib@code
- \if@bib@break@
- \edef\@tempa{%
- \noexpand\usecounter{enumiv}%
- \noexpand\setcounter{enumiv}{\the\c@enumiv}%
- }\@tempa
- \no@bib@break
- \else
- \usecounter{enumiv}%
- \fi
- \let\p@enumiv\@empty
- \renewcommand*\theenumiv{\@arabic\c@enumiv}%
- }%
- \sloppy\clubpenalty4000 \widowpenalty4000
- \sfcode`\.=\@m
-}{%
- \if@bib@break@
- \def\@noitemerr{%
- \@latex@warning{%
- \string\BreakBibliography\space at begin of `thebibliography'
- environment\MessageBreak
- or following \string\BreakBibliography}%
- }%
- \else
- \def\@noitemerr{%
- \@latex@warning{%
- Empty `thebibliography' environment or
- \string\BreakBibliography\MessageBreak
- before end of `thebibliography' environment}%
- }%
- \fi
- \endlist
- \if@bib@break@
- \else
- \bib@after@hook
- \let\bib@before@hook\@empty
- \let\bib@after@hook\@empty
- \fi
- \bib@endhook
-}
-\renewcommand*\right@footnote{%
- \kern-3\p@
- \ifx\@textbottom\relax\else\vskip \z@ \@plus.05fil\fi
- \hrule\@width.4\columnwidth
- \kern 2.6\p@}
-\renewcommand*\left@footnote{%
- \hbox dir TLT to \columnwidth
- {\vbox{%
- \kern-3\p@
- \ifx\@textbottom\relax\else\vskip \z@ \@plus.05fil\fi
- \hrule\@width.4\columnwidth
- \kern 2.6\p@}\hfil}}
-\renewcommand*{\thepart}{\@tartibi\c@part}
-\renewcommand*\appendix{\par%
- \setcounter{section}{0}%
- \setcounter{subsection}{0}%
- \gdef\thesection{\@harfi\c@section}%
- \csname appendixmore\endcsname
-}
-\renewcommand*{\@@maybeautodot}[1]{%
- \ifx #1\@stop\let\@@maybeautodot\relax
- \else
- \ifx #1\harfi \@autodottrue\fi
- \ifx #1\adadi \@autodottrue\fi
- \ifx #1\tartibi \@autodottrue\fi
- \ifx #1\Alph \@autodottrue\fi
- \ifx #1\alph \@autodottrue\fi
- \ifx #1\Roman \@autodottrue\fi
- \ifx #1\roman \@autodottrue\fi
- \ifx #1\@harfi \@autodottrue\fi
- \ifx #1\@adadi \@autodottrue\fi
- \ifx #1\@tartibi \@autodottrue\fi
- \ifx #1\@Alph \@autodottrue\fi
- \ifx #1\@alph \@autodottrue\fi
- \ifx #1\@Roman \@autodottrue\fi
- \ifx #1\@roman \@autodottrue\fi
- \ifx #1\romannumeral \@autodottrue\fi
- \fi
- \@@maybeautodot
-}
-%%
-%% 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 `scrartcl-luapersian.def'.