summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-08-24 22:54:09 +0000
committerAlexander Levin <al.le@rockbox.org>2009-08-24 22:54:09 +0000
commit37eb6c50441e05d1105198c7a4b864cbb32e4312 (patch)
tree8943e9e142d18fad4e10d6eddcb796bc02872b3b
parent73bac43d637dd15b04e97473981f21b664ca661a (diff)
downloadrockbox-37eb6c50441e05d1105198c7a4b864cbb32e4312.tar.gz
rockbox-37eb6c50441e05d1105198c7a4b864cbb32e4312.tar.bz2
rockbox-37eb6c50441e05d1105198c7a4b864cbb32e4312.zip
Fully fill the table headers with color
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22509 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--manual/preamble.tex9
1 files changed, 6 insertions, 3 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index bbd73f8ec1..fa2ef73ae8 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -102,6 +102,9 @@
\setlength{\headheight}{18.5pt}
\newcounter{example}[chapter]
+\setlength{\belowrulesep}{0pt}
+\setlength{\aboverulesep}{0pt}
+
%% \newenvironment{example}
%% {\stepcounter{example}\paragraph{Example \theexample:}}
%% {\hfill$\Box$
@@ -233,7 +236,7 @@
}
\center
\tabularx{#1}{#2}\toprule\rowcolor{tblhdrbgcolor}
- #3\\\midrule
+ \rule{0pt}{2.9ex}#3\\\midrule
}{%
\endtabularx
}
@@ -242,7 +245,7 @@
% command to set the default table heading for button lists
-\newcommand{\taghead}{\textbf{Tag} & \textbf{Description} \\\midrule}
+\newcommand{\taghead}{\rule{0pt}{2.9ex}\textbf{Tag} & \textbf{Description} \\\midrule}
% environment intended to be used with tag maps (for wps)
% usage: \begin{tagmap}{caption}{label} Tag & Description \\ \end{tagmap}
@@ -379,7 +382,7 @@
% here is the table width defined for 2 columns
\tabularx{.75\textwidth}{>{\raggedright\arraybackslash}p{.22\textwidth}X}\toprule\rowcolor{tblhdrbgcolor}
}
- \btnhead
+ \rule{0pt}{2.9ex}\btnhead
}{%
\endtabularx
}