diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def index 686c2fee239..b3d2d89d3d0 100644 --- a/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def @@ -12,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{mdframed-xetex-bidi.def}[2013/04/16 v0.2 bidi adaptations for mdframed package for XeTeX engine] +\ProvidesFile{mdframed-xetex-bidi.def}[2013/04/20 v0.3 bidi adaptations for mdframed package for XeTeX engine] \newif\if@bidi@mdf@RTL \def\mdf@lrbox#1{% %%patch to work with amsthm @@ -70,29 +70,16 @@ +\mdf@frametitlebelowskip@length \relax% } -\newrobustcmd*\mdf@left@footnoterule{% - \kern0\p@% - \hrule \@width 1in \kern 2.6\p@} -\newrobustcmd*\mdf@right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{\kern0\p@% - \hrule \@width 1in \kern 2.6\p@}\hfil\endR}} - -\newrobustcmd*\mdf@textwidth@footnoterule{\kern0\p@% - \hrule \@width \columnwidth \kern 2.6\p@} - -\newrobustcmd*\mdf@leftfootnoterule{% -\bidi@autofootnoterulefalse% -\renewrobustcmd*\mdf@footnoterule{\mdf@left@footnoterule}} - -\newrobustcmd*\mdf@rightfootnoterule{% -\bidi@autofootnoterulefalse% -\renewrobustcmd*\mdf@footnoterule{\mdf@right@footnoterule}} - -\newrobustcmd*\mdf@textwidthfootnoterule{% -\bidi@autofootnoterulefalse% -\renewrobustcmd*\mdf@footnoterule{\mdf@textwidth@footnoterule}} +\renewrobustcmd*\mdf@footnoteoutput{% + \ifvoid\@mpfootins\else% + \nobreak% + \vskip\mdf@footenotedistance@length% + \normalcolor% + \bidi@mpfootnoterule% + \unvbox\@mpfootins% + \fi% +} \renewrobustcmd*\mdf@footnoteinput{% \def\@mpfn{mpfootnote}% @@ -101,10 +88,6 @@ \let\@footnotetext\@mpfootnotetext% \let\@LTRfootnotetext\@mpLTRfootnotetext% \let\@RTLfootnotetext\@mpRTLfootnotetext% - \let\leftfootnoterule\mdf@leftfootnoterule% - \let\LRfootnoterule=\leftfootnoterule% - \let\rightfootnoterule\mdf@rightfootnoterule% - \let\textwidthfootnoterule\mdf@textwidthfootnoterule% } %% %% Copyright © 2009–2013 Persian TeX Group <persian-tex@tug.org> |