summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/luapersian/stabular-luapersian.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/luapersian/stabular-luapersian.def')
-rw-r--r--Master/texmf-dist/tex/lualatex/luapersian/stabular-luapersian.def50
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/luapersian/stabular-luapersian.def b/Master/texmf-dist/tex/lualatex/luapersian/stabular-luapersian.def
new file mode 100644
index 00000000000..e8ee3d291e0
--- /dev/null
+++ b/Master/texmf-dist/tex/lualatex/luapersian/stabular-luapersian.def
@@ -0,0 +1,50 @@
+%%
+%% This is file `stabular-luapersian.def',
+%% generated with the docstrip utility.
+%% ______________________________________
+%% Copyright © 2011 Vafa Khalighi
+%%
+%% License information appended.
+%%
+%%
+\ProvidesFile{stabular-luapersian.def}[2011/08/01 v0.1 adaptations for stabular package]
+\def\@stabular{\if@RTL\@RTLtabtrue\fi
+ \leavevmode \bgroup
+ \let\@acol\@tabacol
+ \let\@classz\@tabclassz
+ \let\@classiv\@tabclassiv \let\\\@tabularcr\@stabarray}
+\def\endstabular{\crcr\egroup
+ \egroup \egroup
+ \@RTLtabfalse}
+\expandafter \let \csname endstabular*\endcsname = \endstabular
+\def\@sarray[#1]#2{%
+ \bgroup
+ \setbox\@arstrutbox\hbox{%
+ \vrule \@height\arraystretch\ht\strutbox
+ \@depth\arraystretch \dp\strutbox
+ \@width\z@}%
+ \@mkpream{#2}%
+ \edef\@preamble{%
+ \ialign \noexpand\@halignto
+ \bgroup \@arstrut \@preamble \tabskip\z@skip \cr}%
+ \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox
+ \let\tabularnewline\\%
+ \let\@sharp##%
+ \set@typeset@protect
+ \lineskip\z@skip\baselineskip\z@skip
+ \if@RTLtab\textdir TRT\fi
+ \@preamble}
+%%
+%% 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 `stabular-luapersian.def'.