diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def index fa0d2efcf63..38fb24c577c 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def @@ -17,7 +17,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{47651} +%% \CheckSum{47744} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -180,9 +180,13 @@ \def\unsetfootnoteRL{\@RTL@footnotefalse} \def\setfootnoteLR{\unsetfootnoteRL} +\newcommand*{\bidi@@footnotetext@font}{\reset@font\footnotesize} +\newcommand*{\bidi@@LTRfootnotetext@font}{\reset@font\footnotesize} +\newcommand*{\bidi@@RTLfootnotetext@font}{\reset@font\footnotesize} + \long\def\@footnotetext#1{\insert\footins{% \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \reset@font\footnotesize + \bidi@@footnotetext@font% \reset@font\footnotesize \interlinepenalty\interfootnotelinepenalty \splittopskip\footnotesep \splitmaxdepth \dp\strutbox \floatingpenalty \@MM @@ -197,7 +201,7 @@ \long\def\@RTLfootnotetext#1{\insert\footins{% \@RTLtrue% - \reset@font\footnotesize + \bidi@@RTLfootnotetext@font% \reset@font\footnotesize \interlinepenalty\interfootnotelinepenalty \splittopskip\footnotesep \splitmaxdepth \dp\strutbox \floatingpenalty \@MM @@ -212,7 +216,7 @@ \long\def\@LTRfootnotetext#1{\insert\footins{% \@RTLfalse% - \reset@font\footnotesize + \bidi@@LTRfootnotetext@font% \reset@font\footnotesize \interlinepenalty\interfootnotelinepenalty \splittopskip\footnotesep \splitmaxdepth \dp\strutbox \floatingpenalty \@MM @@ -241,7 +245,7 @@ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\global\let\bidi@mpfootnoterule\right@footnoterule\fi\fi% \global\setbox\@mpfootins\vbox{\@RTLtrue% \unvbox\@mpfootins - \reset@font\footnotesize + \bidi@@RTLfootnotetext@font% \reset@font\footnotesize \hsize\columnwidth \@parboxrestore \protected@edef\@currentlabel @@ -254,7 +258,7 @@ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\global\let\bidi@mpfootnoterule\left@footnoterule\fi\fi% \global\setbox\@mpfootins\vbox{\@RTLfalse% \unvbox\@mpfootins - \reset@font\footnotesize + \bidi@@LTRfootnotetext@font% \reset@font\footnotesize \hsize\columnwidth \@parboxrestore \protected@edef\@currentlabel @@ -267,7 +271,7 @@ \ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\if@RTL@footnote\global\let\bidi@mpfootnoterule\right@footnoterule\else\global\let\bidi@mpfootnoterule\left@footnoterule\fi\fi\fi% \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% \unvbox\@mpfootins - \reset@font\footnotesize + \bidi@@footnotetext@font% \reset@font\footnotesize \hsize\columnwidth \@parboxrestore \protected@edef\@currentlabel |