diff options
Diffstat (limited to 'manual/preamble.tex')
-rw-r--r-- | manual/preamble.tex | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex index 1e3ccce95a..7969ca98c2 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex | |||
@@ -255,16 +255,13 @@ | |||
255 | % usage: \begin{tagmap}{caption}{label} Tag & Description \\ \end{tagmap} | 255 | % usage: \begin{tagmap}{caption}{label} Tag & Description \\ \end{tagmap} |
256 | % Note: this automatically sets the table lines. | 256 | % Note: this automatically sets the table lines. |
257 | % Note: you *need* to terminate the last line with a linebreak \\ | 257 | % Note: you *need* to terminate the last line with a linebreak \\ |
258 | % Note: you still need to enclose this with \begin{table} / \end{table} | ||
259 | % Cheers for the usenet helping me building this up :) | 258 | % Cheers for the usenet helping me building this up :) |
260 | \newenvironment{tagmap}[2]{% | 259 | \newenvironment{tagmap}{% |
261 | \rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor} | 260 | \rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor} |
262 | \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname | 261 | \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname |
263 | \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% | 262 | \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% |
264 | \bottomrule | 263 | \bottomrule |
265 | \SavedEndTab% | 264 | \SavedEndTab% |
266 | \if\given{#1}\caption{#1}\fi% | ||
267 | \if\given{#2}\label{#2}\fi% | ||
268 | \endcenter% | 265 | \endcenter% |
269 | } | 266 | } |
270 | \center | 267 | \center |