diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def index fc467dc29da..6bc9539492b 100644 --- a/Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def @@ -8,7 +8,7 @@ %% License information appended. %% %% -\ProvidesFile{refrep-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for refrep class for XeTeX engine] +\ProvidesFile{refrep-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for refrep class for XeTeX engine] \if@titlepage \renewcommand\maketitle{\begin{titlepage}% \let\footnotesize\small @@ -132,6 +132,34 @@ \everypar{\global\@nobreakfalse\everypar{}}% \endgroup \fi} +\renewcommand*\l@chapter[2]{% + \ifnum \c@tocdepth >\m@ne + \addpenalty{-\@highpenalty}% + \vskip 1.0em \@plus\p@ + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \if@RTL\leftskip\else\rightskip\fi \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\if@RTL\rightskip\else\leftskip\fi\@tempdima + \hskip -\if@RTL\rightskip\else\leftskip\fi + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \penalty\@highpenalty + \endgroup + \fi} +\renewcommand\secshape{\if@RTL\rightskip\else\leftskip\fi=-\leftmarginwidth% + \if@RTL\leftskip\else\rightskip\fi=\@flushglue% + \hyphenpenalty=2000} +\renewcommand\left@footnote{% + \kern-3\p@ + \hrule\@width.4\columnwidth + \kern 2.6\p@} +\renewcommand\right@footnote{% + \hbox to \columnwidth + {\beginR \vbox{% + \kern-3\p@ + \hrule\@width.4\columnwidth + \kern 2.6\p@}\hfil\endR}} \renewcommand\theequation {\ifnum \c@chapter>\z@ \thechapter\@SepMark\fi \@arabic\c@equation} \renewcommand\thefigure |