diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/fancyhdr-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/fancyhdr-bidi.def | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-bidi.def new file mode 100644 index 00000000000..29dcd17192b --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-bidi.def @@ -0,0 +1,39 @@ +%% +%% This is file `fancyhdr-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `fancyhdr-bidi.def') +%% +%% __________________________________ +%% Copyright © 2009 Vafa Khalighi +%% +%% License information appended. +%% +%% +\def\@fancyhead#1#2#3#4#5{\beginR#1\endR\hbox to\headwidth{\fancy@reset + \@fancyvbox\headheight{\hbox + {\rlap{\parbox[b]{\headwidth}{\raggedright\beginR#2\endR}}\hfill + \parbox[b]{\headwidth}{\centering\beginR#3\endR}\hfill + \llap{\parbox[b]{\headwidth}{\raggedleft\beginR#4\endR}}}\headrule}}\beginR#5\endR} +\def\@fancyfoot#1#2#3#4#5{\beginR#1\endR\hbox to\headwidth{\fancy@reset + \@fancyvbox\footskip{\footrule + \hbox{\rlap{\parbox[t]{\headwidth}{\raggedright\beginR#2\endR}}\hfill + \parbox[t]{\headwidth}{\centering\beginR#3\endR}\hfill + \llap{\parbox[t]{\headwidth}{\raggedleft\beginR#4\endR}}}}}\beginR#5\endR} +%% +%% Copyright © 2009 by Vafa Khalighi <vafa@users.berlios.de> +%% +%% Distributable under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% +%% End of file `fancyhdr-bidi.def'. |