groups

name language licence
Struts in tables Latex Other
Tabs to spaces Other Other
Untitled Snippet
Write data to a file Perl Other
Make a file containing a list of files in a directory Perl Other
Command line arguments C++ Other
Read data from a file C++ Other
History Shell Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 >



language: Latex
licence: Other

Struts in tables

options: view full snippetsend to code collector
\hline
\mcl{1}{one} & \mcc{1}{two} & \mcc{1}{three} \bstb \\
\hline
A & B & C  \bst\\
A & B & C  \\
A & B & C  \\
A & B & C  \bsb\\
\hline

%\bstb puts a little extra space above and below; \bst above only; and \bsb below only.
%You need to define:

\newcommand{\bsb}{\bigstrut[b]}
\newcommand{\bst}{\bigstrut[t]}
\newcommand{\bstb}{\bigstrut[t]\bigstrut[b]}
	
(Continues...)