diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def index c1d0a3e00d1..c14ca3634e1 100644 --- a/Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def @@ -8,7 +8,7 @@ %% License information appended. %% %% -\ProvidesFile{report-xetex-bidi.def}[2010/07/25 v0.4 bidi adaptations for standard report class for XeTeX engine] +\ProvidesFile{report-xetex-bidi.def}[2010/07/25 v0.5 bidi adaptations for standard report class for XeTeX engine] \if@titlepage \renewcommand\maketitle{\begin{titlepage}% \let\footnotesize\small @@ -120,6 +120,31 @@ \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\left@footnote{% + \kern-3\p@ + \hrule\@width.4\columnwidth + \kern2.6\p@} +\renewcommand\right@footnote{% + \hbox to \columnwidth + {\beginR \vbox{% + \kern-3\p@ + \hrule\@width.4\columnwidth + \kern2.6\p@}\hfil\endR}} \renewcommand\theequation {\ifnum \c@chapter>\z@ \thechapter\@SepMark\fi \@arabic\c@equation} \renewcommand \thefigure |