diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def new file mode 100644 index 00000000000..afd79d3d542 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def @@ -0,0 +1,44 @@ +%% +%% This is file `quotchap-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `quotchap-xetex-bidi.def') +%% +%% ______________________________________ +%% Copyright © 2009–2013 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{quotchap-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for quotchap package for XeTeX engine] +\renewcommand{\qauthor}[1]{% + \par\smallskip + {\if@RTL\raggedright\else\raggedleft\fi\upshape #1\qquad\hbox{}\par}\bigskip} +\renewcommand{\@makechapterhead}[1]{\chapterheadstartvskip% + {\size@chapter{\sectfont\if@RTL\raggedright\else\raggedleft\fi + {\chapnumfont + \ifnum \c@secnumdepth >\m@ne% + \if@mainmatter\thechapter% + \fi\fi + \par\nobreak}% + {\if@RTL\raggedright\else\raggedleft\fi\advance\if@RTL\rightmargin\else\leftmargin\fi10em\interlinepenalty\@M #1\par}} + \nobreak\chapterheadendvskip}} +\renewcommand*{\@iprintcites}{% + \vbox to\z@{\leavevmode\copy\@quotebox\vss} + \global\let\@printcites\relax} +%% +%% Copyright © 2009–2013 Vafa Khalighi <vafa[dot]kgh[at]gmail[dot]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 `quotchap-xetex-bidi.def'. |