Introduce names for header and row color in the tables so that they are the same throughout the manual and can be changed easily
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22501 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
400cd026f3
commit
4acf5d35fe
9 changed files with 16 additions and 12 deletions
|
@ -6,7 +6,7 @@
|
|||
% for the html output.
|
||||
\ifpdfoutput{\newcommand{\localendhead}{\endhead}}%
|
||||
{\newcommand{\localendhead}{}}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{longtable}{@{}>{\raggedright}p{.35\textwidth}@{}>{\raggedright}p{.4\textwidth}@{}p{.25\textwidth}@{}}
|
||||
\toprule
|
||||
\rowcolor{white} \textbf{Setting} & \textbf{Allowed Values} & \textbf{Unit}\\
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
\section{\label{ref:Supportedfileformats}Supported file formats}
|
||||
\begin{table}
|
||||
\begin{center}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{tabularx}{\textwidth}{clp{7em}X}\toprule
|
||||
\textbf{Icon} & \textbf{File Type} & \textbf{Extension}
|
||||
& \textbf{Action when selected} \\\midrule%
|
||||
|
@ -83,7 +83,7 @@
|
|||
\section{\label{ref:Supportedaudioformats}Supported audio formats}
|
||||
\begin{table}
|
||||
\begin{center}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{tabularx}{\textwidth}{lp{6em}X}\toprule
|
||||
\textbf{Format} & \textbf{Extension} & \textbf{Notes} \\\midrule
|
||||
\multicolumn{2}{c}{\textbf{Lossy codecs}}\\
|
||||
|
|
|
@ -30,7 +30,7 @@ displays files.
|
|||
be compared separately. The following table demonstrates the two sortings.
|
||||
\begin{table}
|
||||
\begin{center}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{tabularx}{.8\textwidth}{XX}
|
||||
\toprule
|
||||
\textbf{As whole numbers} & \textbf{As digits}\\
|
||||
|
|
|
@ -81,7 +81,7 @@ change to customise your listening experience.
|
|||
%
|
||||
\begin{table}
|
||||
\begin{center}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{tabularx}{\textwidth}{lX}\toprule
|
||||
\textbf{Setting} & \textbf{Description} \\\midrule
|
||||
Stereo
|
||||
|
@ -199,7 +199,7 @@ change to customise your listening experience.
|
|||
%
|
||||
\begin{table}[h!]
|
||||
\begin{center}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{tabular}{@{}lc@{}}\toprule
|
||||
Setting & Value \\\midrule
|
||||
MDB Strength & 50dB \\
|
||||
|
|
|
@ -9,7 +9,7 @@ effect, you must catch it with the paddle. Look out for the bad ones.\\
|
|||
\subsubsection{Special items}
|
||||
\begin{table}
|
||||
\begin{center}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{tabularx}{.75\textwidth}{clX}\toprule
|
||||
\textbf{Displayed} & \textbf{Name} & \textbf{Description}\\\midrule
|
||||
N & Normal & Returns paddle to normal.\\
|
||||
|
|
|
@ -35,7 +35,7 @@ these markers: \\
|
|||
|
||||
\begin{table}
|
||||
\begin{center}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{tabularx}{\textwidth}{lX}\toprule
|
||||
\textbf{Mark} & \textbf{Meaning} \\ \midrule
|
||||
\emph{+ } & There are nodes after the current node in the SGF tree. \\
|
||||
|
|
|
@ -11,7 +11,7 @@ To use the emulator to play Pacman, you need a copy of ROMs for
|
|||
``Midway Pacman''.
|
||||
\begin{table}
|
||||
\begin{center}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{tabular}{ll}\toprule
|
||||
\textbf{Filename} & \textbf{MD5 checksum}\\\midrule
|
||||
pacman.5e & 2791455babaf26e0b396c78d2b45f8f6\\
|
||||
|
|
|
@ -60,6 +60,10 @@
|
|||
|
||||
\newcommand{\fixme}[1]{\textbf{\textcolor{red}{#1}}}
|
||||
|
||||
% Colors used to typeset table headers and alternating table rows
|
||||
\colorlet{tblhdrbgcolor}{gray!60} % Background color for headers
|
||||
\colorlet{tblrowbgcolor}{gray!30} % Background color for rows
|
||||
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{verbatim}
|
||||
|
@ -210,7 +214,7 @@
|
|||
% Note: you still need to enclose this with \begin{table} / \end{table}
|
||||
% Cheers for the usenet helping me building this up :)
|
||||
\newenvironment{tagmap}[2]{%
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
|
||||
\expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
|
||||
\bottomrule
|
||||
|
@ -320,7 +324,7 @@
|
|||
% Main Unit Key & Remote Key & Description \\
|
||||
|
||||
\newenvironment{btnmap}[2]{%
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
|
||||
\expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
|
||||
\bottomrule
|
||||
|
|
|
@ -114,7 +114,7 @@ to RAM.}%
|
|||
|
||||
\begin{table}
|
||||
\begin{center}
|
||||
\rowcolors{1}{}{gray!30}
|
||||
\rowcolors{1}{}{tblrowbgcolor}
|
||||
\begin{tabularx}{.75\textwidth}{XXX}%
|
||||
\toprule%
|
||||
\textbf{Tag} & \textbf{Type} & \textbf{Origin} \\
|
||||
|
|
Loading…
Reference in a new issue