diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def index f4834dd871d..81d1b0881b5 100644 --- a/Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def @@ -8,7 +8,7 @@ %% License information appended. %% %% -\ProvidesFile{article-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for standard article class for XeTeX engine] +\ProvidesFile{article-xetex-bidi.def}[2010/07/25 v0.4 bidi adaptations for standard article class for XeTeX engine] \if@titlepage \renewcommand\maketitle{\begin{titlepage}% \let\footnotesize\small @@ -122,6 +122,30 @@ \fi \endgroup \fi} +\renewcommand*\l@section[2]{% + \ifnum \c@tocdepth >\z@ + \addpenalty\@secpenalty + \addvspace{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 + \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\thesubsection {\thesection\@SepMark\@arabic\c@subsection} \renewcommand\thesubsubsection{\thesubsection\@SepMark\@arabic\c@subsubsection} \renewcommand\theparagraph {\thesubsubsection\@SepMark\@arabic\c@paragraph} |