diff options
author | Karl Berry <karl@freefriends.org> | 2015-02-16 21:41:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-02-16 21:41:05 +0000 |
commit | 6b7b72d8eb76ae970a44028cf4b89cb420824061 (patch) | |
tree | 3c9b50cfc3a862032b34e3c24afc7277765830d6 /Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty | |
parent | 68695b0b7015bb233b4f5697ebdb9def46b9cb4a (diff) |
bidi (16feb15)
git-svn-id: svn://tug.org/texlive/trunk@36297 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty b/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty index a5607264bf2..4547662b689 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty @@ -17,7 +17,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{43266} +%% \CheckSum{44128} %% \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 @@ -40,7 +40,7 @@ bidi implementation of tufte sidenote] \RequirePackage{xifthen} \RequirePackage{ragged2e} \RequirePackage{setspace} -\RequirePackage{hopatch} +\RequirePackage{biditools} \def\bidituftesidenotemarginpar{% \ifhmode \@bsphack @@ -238,7 +238,7 @@ bidi implementation of tufte sidenote] {\BR@bibitem[#1]{#2}}% \BR@c@bibitem{#2}% } -\hopatch@AfterPackage{bidi}{\nobibliography*} % pre-loads the bibliography keys +\bidi@patch@AfterPackage{bidi}{\nobibliography*} % pre-loads the bibliography keys %% \newcounter{@bidituftesidenote@num@bibkeys}% \newcommand{\@bidituftesidenote@normal@cite}[2][0pt]{% @@ -342,11 +342,11 @@ bidi implementation of tufte sidenote] \RequirePackage{optparams}% for our new sidenote commands -- provides multiple optional arguments for commands \providecommand{\footnotelayout}{\@bidituftesidenote@sidenote@font\@bidituftesidenote@sidenote@justification} \renewcommand{\footnotelayout}{\@bidituftesidenote@sidenote@font\@bidituftesidenote@sidenote@justification} -\hopatch@AfterPackage{bidi}{\long\def\@makefntext#1{\@textsuperscript{\@bidituftesidenote@sidenote@font\tiny\@thefnmark}\,\footnotelayout#1}} -\hopatch@AfterPackage{bidi}{\def\@makefnmark{\hbox{\@textsuperscript{\normalfont\footnotesize\@thefnmark}}}} +\bidi@patch@AfterPackage{bidi}{\long\def\@makefntext#1{\@textsuperscript{\@bidituftesidenote@sidenote@font\tiny\@thefnmark}\,\footnotelayout#1}} +\bidi@patch@AfterPackage{bidi}{\def\@makefnmark{\hbox{\@textsuperscript{\normalfont\footnotesize\@thefnmark}}}} \providecommand*{\multiplefootnotemarker}{3sp} \providecommand*{\multfootsep}{,} -\hopatch@AfterPackage{bidi}{% +\bidi@patch@AfterPackage{bidi}{% \renewcommand{\@footnotemark}{% \leavevmode% \ifhmode% @@ -367,7 +367,7 @@ bidi implementation of tufte sidenote] \spacefactor\@x@sf\relax% \fi } -\hopatch@AfterPackage{bidi}{% +\bidi@patch@AfterPackage{bidi}{% \renewcommand\@footnotetext[2][0pt]{% \bidituftesidenotemarginpar{% \hbox{}\vspace*{#1}% @@ -512,7 +512,7 @@ bidi implementation of tufte sidenote] \newcommand{\sidenote}{\optparams{\@bidituftesidenote@sidenote}{[][0pt]}} \newcommand{\LTRsidenote}{\optparams{\@LTRbidituftesidenote@sidenote}{[][0pt]}} \newcommand{\RTLsidenote}{\optparams{\@RTLbidituftesidenote@sidenote}{[][0pt]}} -\hopatch@AfterPackage{bidi}{% +\bidi@patch@AfterPackage{bidi}{% \renewcommand{\footnote}{\optparams{\@bidituftesidenote@sidenote}{[][0pt]}}% \renewcommand{\LTRfootnote}{\optparams{\@LTRbidituftesidenote@sidenote}{[][0pt]}}% \renewcommand{\RTLfootnote}{\optparams{\@RTLbidituftesidenote@sidenote}{[][0pt]}}% |