summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tabularborder
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-15 23:18:28 +0000
committerKarl Berry <karl@freefriends.org>2010-04-15 23:18:28 +0000
commitd76b75890bbe6fcc8e7417b910a6e548a7a5fe42 (patch)
tree6e27f4f20eef28d193341a8813df13600d01a7a5 /Master/texmf-dist/tex/latex/tabularborder
parent01645834cb18fc3b9c16d9dfed43a85b5710d923 (diff)
new latex package tabularborder (15apr10)
git-svn-id: svn://tug.org/texlive/trunk@17885 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tabularborder')
-rw-r--r--Master/texmf-dist/tex/latex/tabularborder/tabularborder.sty71
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'.