summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/luapersian/fancyhdr-luapersian.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/luapersian/fancyhdr-luapersian.def')
-rw-r--r--Master/texmf-dist/tex/lualatex/luapersian/fancyhdr-luapersian.def35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/luapersian/fancyhdr-luapersian.def b/Master/texmf-dist/tex/lualatex/luapersian/fancyhdr-luapersian.def
new file mode 100644
index 00000000000..cb800e2f238
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/luapersian/fancyhdr-luapersian.def
@@ -0,0 +1,35 @@
+%%
+%% This is file `fancyhdr-luapersian.def',
+%% generated with the docstrip utility.
+%% ______________________________________
+%% Copyright © 2011 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{fancyhdr-luapersian.def}[2011/08/01 v0.1 adaptations for fancyhdr package]
+\def\@fancyhead#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset
+ \@fancyvbox\headheight{\hbox
+ {\rlap{\parbox[b]{\headwidth}{\bidiraggedright#2}}\hfill
+ \parbox[b]{\headwidth}{\centering#3}\hfill
+ \llap{\parbox[b]{\headwidth}{\bidiraggedleft#4}}}\headrule}}#5}
+
+\def\@fancyfoot#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset
+ \@fancyvbox\footskip{\footrule
+ \hbox{\rlap{\parbox[t]{\headwidth}{\bidiraggedright#2}}\hfill
+ \parbox[t]{\headwidth}{\centering#3}\hfill
+ \llap{\parbox[t]{\headwidth}{\bidiraggedleft#4}}}}}#5}
+%%
+%% Copyright © 2011 Vafa Khalighi <vafa018@gmail.com>
+%%
+%% It may be distributed and/or modified 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 “author-maintained” (as per LPPL maintenance status)
+%% by Vafa Khalighi.
+%%
+%%
+%%
+%%
+%% End of file `fancyhdr-luapersian.def'.