%% %% This is file `memoir-luapersian.def', %% generated with the docstrip utility. %% ______________________________________ %% Copyright © 2011 Vafa Khalighi %% %% License information appended. %% %% \ProvidesFile{memoir-luapersian.def}[2011/08/01 v0.1 adaptations for memoir class] \renewcommand{\keepthetitle}{% \@bsmtitlempty \global\let\thanks\relax \global\let\LTRthanks\relax \global\let\RTLthanks\relax \global\let\and\relax \global\let\andnext\relax \global\let\@thanks\@empty \global\let\@title\@empty \global\let\@author\@empty \global\let\@date\@empty} \renewcommand{\maketitle}{\par \begingroup \@bsmarkseries \def\@makefnmark{\@textsuperscript{% \normalfont\@bsthanksheadpre \tamark \@bsthanksheadpost}}% \long\def\@makefntext##1{\makethanksmark ##1} \if@twocolumn \ifnum \col@number=\@ne \@maketitle \else \twocolumn[\@maketitle]% \fi \else \ifdim\pagetotal>\z@ \newpage \fi \global\@topnum\z@ \@maketitle \fi \thispagestyle{title}\@thanks \endgroup \@bscontmark % \setcounter{footnote}{0}% } \ifartopt \chapterstyle{article} \counterwithout{figure}{chapter} \counterwithout{table}{chapter} \counterwithout{footnote}{chapter} \counterwithout{equation}{chapter} \renewcommand{\chaptername}{} \renewcommand{\maketitlehookb}{% \vskip -1.5\topsep\vskip -1.5\partopsep} \renewcommand{\maketitlehookc}{% \vskip -1.5\topsep\vskip -1.5\partopsep} \fi \renewenvironment{thebibliography}[1]{% \bibsection \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 \begin{bibitemlist}{#1}}{\end{bibitemlist}\postbibhook} \renewcommand{\@memfront}{% \@smemfront\pagenumbering{harfi}} \renewcommand{\setthesection}{\thechapter\@SepMark\harfi{section}} \renewcommand*{\thebook}{\@tartibi\c@book} \renewcommand*{\thepart}{\@tartibi\c@part} \renewcommand{\appendix}{\par \setcounter{chapter}{0}% \setcounter{section}{0}% \gdef\@chapapp{\appendixname}% \gdef\thechapter{\@harfi\c@chapter}% \anappendixtrue} %% %% Copyright © 2011 Vafa Khalighi %% %% 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 `memoir-luapersian.def'.