diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-25 22:16:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-25 22:16:53 +0000 |
commit | 86e8221f09069b58618c78721f104b3628f8fb16 (patch) | |
tree | d592d29a49f3fdacd496e7125337ac294927797f /Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def | |
parent | ddf8cba3d16f5a0e842e9426ce0234a91fd7a49c (diff) |
bidi (25sep11)
git-svn-id: svn://tug.org/texlive/trunk@24087 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def index cbe42c58748..13ee4ee867b 100644 --- a/Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def @@ -12,7 +12,38 @@ %% License information appended. %% %% -\ProvidesFile{scrlettr-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for scrlettr class for XeTeX engine] +\ProvidesFile{scrlettr-xetex-bidi.def}[2011/09/24 v0.2 bidi adaptations for scrlettr class for XeTeX engine] +\renewcommand\deffootnote[4][]{% + \long\def\@makefntext##1{% + \edef\@tempa{#1}\ifx\@tempa\@empty + \@setpar{\@@par + \@tempdima = \hsize + \addtolength{\@tempdima}{-#2} + \if@RTL\parshape \@ne 0pt \@tempdima\else\parshape \@ne #2 \@tempdima\fi}% + \else + \@setpar{\@@par + \@tempdima = \hsize + \addtolength{\@tempdima}{-#1} + \@tempdimb = \hsize + \addtolength{\@tempdimb}{-#2} + \if@RTL\parshape \tw@ 0pt \@tempdima 0pt \@tempdimb\else\parshape \tw@ #1 \@tempdima #2 \@tempdimb\fi}% + \fi + \par + \parindent #3\noindent + \hbox to \z@{\hss\@@makefnmark}##1} + \def\@@makefnmark{\hbox{#4}} +} +\deffootnote[1em]{1.5em}{1em} + {\textsuperscript{\thefootnotemark}} +\def\left@footnote{\kern-1\p@ + \hrule width 0.4\columnwidth + \kern .6\p@} +\def\right@footnote{% + \hbox to \columnwidth + {\beginR \vbox{\kern -3\p@ + \kern-1\p@ + \hrule width 0.4\columnwidth + \kern .6\p@}\hfil\endR}} \def\@datefield{\@reffalse \ifx\varyourref\@empty \else \@reftrue \fi \ifx\varyourmail\@empty \else \@reftrue \fi |