# [texhax] tabs environment

Johan Glimming glimming at kth.se
Thu Mar 3 14:49:28 CET 2005

Hi,

Here is another refinement of the "tabs" environment. I am using
\usepackage{array} to support ! < and > (c.f. page 244 in 2ed of LaTeX
Companion). However, I do not seem to be able to insert an
environment/group like this (here: gather):

\newlength\tabsvspace
\setlength\tabsvspace{3pt}

% One argument = the number of columns
\newenvironment{tabs}[1][1]
{\begin{tabular*}{\linewidth}

{@{}*{#1}{>{\begin{gather}}c<{\end{gather}}}@{}!{\vspace{\tabvspace}}}}
{\end{tabular*}}

Why is this wrong? Can a gather environment not be nested like this
using < and >?

Johan Glimming.



More information about the texhax mailing list