summaryrefslogtreecommitdiffstats
path: root/manual/preamble.tex
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2010-03-07 22:12:16 +0000
committerAlexander Levin <al.le@rockbox.org>2010-03-07 22:12:16 +0000
commit4c105b68060cadf625db116d7b56be2c735d4664 (patch)
treeba7f44ba8598c9e30418c6ffda60fd04c6259b89 /manual/preamble.tex
parent4ad89fdf6d8b8f2063541ff6753565982330110b (diff)
downloadrockbox-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.tex5
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 @@
% usage: \begin{tagmap}{caption}{label} Tag & Description \\ \end{tagmap}
% Note: this automatically sets the table lines.
% Note: you *need* to terminate the last line with a linebreak \\
-% Note: you still need to enclose this with \begin{table} / \end{table}
% Cheers for the usenet helping me building this up :)
-\newenvironment{tagmap}[2]{%
+\newenvironment{tagmap}{%
\rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor}
\expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
\expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
\bottomrule
\SavedEndTab%
- \if\given{#1}\caption{#1}\fi%
- \if\given{#2}\label{#2}\fi%
\endcenter%
}
\center