summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def686
1 files changed, 7 insertions, 679 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
index faf36f6c746..311fb68ba1b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
@@ -7,696 +7,24 @@
%% xepersian.dtx (with options: `extrafootnotefeatures-xepersian.def')
%%
%% ______________________________________
-%% Copyright © 2008–2011 VAFA KHALIGHI
+%% Copyright © 2008–2012 Vafa Khalighi
%%
%% License information appended.
%%
%%
-\ProvidesFile{extrafootnotefeatures-xepersian.def}[2011/08/01 v0.1 footnote macros for extrafootnotefeatures option of xepersian package]
-\renewcommand{\@twocolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@twocolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@twocolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@twocolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@twocolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@twocolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mptwocolfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@twocolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mptwocolLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \if@RTLcolumnfootnotes\beginL\fi
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@twocolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mptwocolRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@twocolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@threecolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@threecolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@threecolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@threecolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@threecolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@threecolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpthreecolfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@threecolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpthreecolLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \if@RTLcolumnfootnotes\beginL\fi
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@threecolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpthreecolRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@threecolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@fourcolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fourcolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@fourcolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fourcolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@fourcolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fourcolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpfourcolfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fourcolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpfourcolLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \if@RTLcolumnfootnotes\beginL\fi
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fourcolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpfourcolRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fourcolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@fivecolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fivecolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@fivecolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fivecolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@fivecolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fivecolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpfivecolfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fivecolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpfivecolLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \if@RTLcolumnfootnotes\beginL\fi
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fivecolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpfivecolRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@fivecolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@sixcolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sixcolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@sixcolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sixcolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@sixcolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sixcolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpsixcolfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sixcolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpsixcolLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \if@RTLcolumnfootnotes\beginL\fi
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sixcolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpsixcolRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sixcolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@sevencolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sevencolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@sevencolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sevencolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@sevencolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sevencolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpsevencolfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sevencolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpsevencolLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \if@RTLcolumnfootnotes\beginL\fi
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sevencolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpsevencolRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@sevencolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@eightcolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@eightcolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@eightcolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@eightcolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@eightcolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@eightcolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpeightcolfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@eightcolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpeightcolLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \if@RTLcolumnfootnotes\beginL\fi
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@eightcolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpeightcolRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@eightcolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@ninecolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@ninecolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@ninecolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@ninecolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@ninecolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@ninecolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpninecolfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@ninecolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpninecolLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \if@RTLcolumnfootnotes\beginL\fi
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@ninecolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mpninecolRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@ninecolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@tencolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@tencolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@tencolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@tencolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@tencolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue%
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \color@begingroup
- \@tencolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mptencolfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@tencolfootfmt{\if@RTL@footnote\else\latinfont\fi#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mptencolLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \if@RTLcolumnfootnotes\beginL\fi
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@tencolfootfmt{\latinfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@mptencolRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \color@begingroup
- \@tencolfootfmt{\persianfont#1}%
- \color@endgroup}%
- \m@mmf@prepare}
-\renewcommand{\@parafootnotetext}[1]{\insert\footinsv@r{\@RTLfalse
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \setbox0=\vbox{\hsize=\maxdimen
- \color@begingroup
- \noindent \@parafootfmt{\if@RTL@footnote\beginR\else\beginL\latinfont\fi#1\if@RTL@footnote\endR\else\endL\fi}%
- \color@endgroup}%
- \m@mungebox}\m@mmf@prepare}
-\renewcommand{\@paraLTRfootnotetext}[1]{\insert\footinsv@r{\@RTLfalse
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \setbox0=\vbox{\hsize=\maxdimen
- \color@begingroup
- \noindent \@parafootfmt{\beginL\latinfont#1\endL}%
- \color@endgroup}%
- \m@mungebox}\m@mmf@prepare}
-\renewcommand{\@paraRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLfalse
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \@preamfntext
- \protected@edef\@currentlabel{%
- \csname p@footnote\endcsname\@thefnmark}%
- \setbox0=\vbox{\hsize=\maxdimen
- \color@begingroup
- \noindent \@parafootfmt{\beginR\persianfont#1\endR}%
- \color@endgroup}%
- \m@mungebox}\m@mmf@prepare}
-\renewcommand{\@mpparafootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \setbox0=\vbox{\hsize=\maxdimen
- \color@begingroup
- \noindent \@parafootfmt{\if@RTL@footnote\beginR\else\beginL\latinfont\fi#1\if@RTL@footnote\endR\else\endL\fi}%
- \color@endgroup}%
- \m@mungebox}\m@mmf@prepare}
-\renewcommand{\@mpparaLTRfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \setbox0=\vbox{\hsize=\maxdimen
- \color@begingroup
- \noindent \@parafootfmt{\beginL\latinfont#1\endL}%
- \color@endgroup}%
- \m@mungebox}\m@mmf@prepare}
-\renewcommand{\@mpparaRTLfootnotetext}[1]{%
- \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse%
- \unvbox\@mpfootinsv@r
- \def\baselinestretch{\m@m@footnote@spacing}%
- \reset@font\foottextfont
- \hsize\columnwidth \@parboxrestore
- \protected@edef\@currentlabel{%
- \csname p@mpfootnote\endcsname\@thefnmark}%
- \setbox0=\vbox{\hsize=\maxdimen
- \color@begingroup
- \noindent \@parafootfmt{\beginR\persianfont#1\endR}%
- \color@endgroup}%
- \m@mungebox}\m@mmf@prepare}
+\ProvidesFile{extrafootnotefeatures-xepersian.def}[2012/01/01 v0.2 footnote macros for extrafootnotefeatures option of xepersian package]
+\renewcommand{\foottextfont}{\footnotesize\if@RTL@footnote\else\latinfont\fi}
+\renewcommand{\LTRfoottextfont}{\footnotesize\latinfont}
+\renewcommand{\RTLfoottextfont}{\footnotesize\persianfont}
%%
-%% Copyright © 2008–2011 VAFA KHALIGHI <vafaklg@gmail.com>
+%% Copyright © 2008–2012 Vafa Khalighi <vafaklg@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.
+%% by Vafa Khalighi.
%%
%%
%%