diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tabularborder/tabularborder.sty | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tabularborder/tabularborder.sty b/Master/texmf-dist/tex/latex/tabularborder/tabularborder.sty new file mode 100644 index 00000000000..428a055d87e --- /dev/null +++ b/Master/texmf-dist/tex/latex/tabularborder/tabularborder.sty @@ -0,0 +1,71 @@ +%% +%% This is file `tabularborder.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% tabularborder.dtx (with options: `package') +%% +%% This is a generated file. +%% Copyright (C) Johannes Fink +%% +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version +%% 1.2 of this license or (at your option) any later version. The +%% latest version of this license is in: +%% http://www.latex-project.org/lppl.txt and version 1.2 or later is +%% part of all distributions of LaTeX version 1999/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{tabularborder} + [2010/04/14 v1.0a Tabular without border] +\RequirePackage{booktabs} +\RequirePackage{array}[2003/12/17 v2.4a Tabular extension package (FMi)] +\newcommand{\tb@ialign}{\everycr{}\tabskip-\col@sep\halign} +\newcommand{\tb@tbtabarray}{\@ifnextchar[{\tb@array}{\tb@array[c]}} +\def\@tabular{% + \leavevmode + \hbox \bgroup $\col@sep\tabcolsep \let\d@llarbegin\begingroup + \let\d@llarend\endgroup + \@tb@tbtabarray} +\newcommand{\@tb@tbtabarray}{} +\newcommand{\tbon}{\global\let\@tb@tbtabarray\tb@tbtabarray} +\tbon +\newcommand{\tboff}{\global\let\@tb@tbtabarray\@tabarray} +\newcommand{\tb@array}{} +\def\tb@array[#1]#2{% + \@tempdima \ht \strutbox + \advance \@tempdima by\extrarowheight + \setbox \@arstrutbox \hbox{\vrule + \@height \arraystretch \@tempdima + \@depth \arraystretch \dp \strutbox + \@width \z@}% + \begingroup + \@mkpream{#2}% + \xdef\@preamble{\noexpand \tb@ialign \@halignto + \bgroup \@arstrut \tabskip \z@skip \@preamble + \tabskip-\col@sep \cr}% + \endgroup + \@arrayleft + \if #1t\vtop \else \if#1b\vbox \else \vcenter \fi \fi + \bgroup + \let \@sharp ##\let \protect \relax + \lineskip \z@ + \baselineskip \z@ + \m@th + \let\\\@arraycr \let\tabularnewline\\\let\par\@empty \@preamble} +\ifdefined\tabcolwidthi\else\newlength{\tabcolwidthi}\fi +\ifdefined\tabcolwidthii\else\newlength{\tabcolwidthii}\fi +\ifdefined\tabcolwidthiii\else\newlength{\tabcolwidthiii}\fi +\ifdefined\tabcolwidthiv\else\newlength{\tabcolwidthiv}\fi +\setlength{\tabcolwidthi}{\textwidth} +\addtolength{\tabcolwidthi}{-0\tabcolsep} +\setlength{\tabcolwidthii}{\textwidth} +\addtolength{\tabcolwidthii}{-2\tabcolsep} +\setlength{\tabcolwidthiii}{\textwidth} +\addtolength{\tabcolwidthiii}{-4\tabcolsep} +\setlength{\tabcolwidthiv}{\textwidth} +\addtolength{\tabcolwidthiv}{-6\tabcolsep} +\endinput +%% +%% End of file `tabularborder.sty'. |