diff options
author | Alexander Levin <al.le@rockbox.org> | 2010-03-07 22:12:16 +0000 |
---|---|---|
committer | Alexander Levin <al.le@rockbox.org> | 2010-03-07 22:12:16 +0000 |
commit | 4c105b68060cadf625db116d7b56be2c735d4664 (patch) | |
tree | ba7f44ba8598c9e30418c6ffda60fd04c6259b89 /manual/preamble.tex | |
parent | 4ad89fdf6d8b8f2063541ff6753565982330110b (diff) | |
download | rockbox-4c105b68060cadf625db116d7b56be2c735d4664.tar.gz rockbox-4c105b68060cadf625db116d7b56be2c735d4664.zip |
Remove the caption and label parameters from the tagmap macro. They are never used. Also don't embed tagmaps into a table environment since we want the tables exactly where they are in the source, i.e. we don't want them to float. This speeds up typesetting and makes vertical spaces nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25065 a1c6a512-1295-4272-9138-f99709370657
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 |