summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manual/preamble.tex32
1 files changed, 20 insertions, 12 deletions
diff --git a/manual/preamble.tex b/manual/preamble.tex
index a9ace76d12..5177616ddd 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -239,15 +239,17 @@
239 \rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor} 239 \rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor}
240 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname 240 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
241 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% 241 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
242 \rbbottomrule% 242 \ifpdfoutput{\rbbottomrule}{\bottomrule}
243 \SavedEndTab% 243 \SavedEndTab%
244 \if\given{#4}\caption{#4}\fi% 244 \if\given{#4}\caption{#4}\fi%
245 \if\given{#5}\label{#5}\fi% 245 \if\given{#5}\label{#5}\fi%
246 \endcenter% 246 \endcenter%
247 } 247 }
248 \center 248 \center
249 \tabularx{#1}{#2}\rbtoprule\rowcolor{tblhdrbgcolor} 249 \ifpdfoutput{\tabularx{#1}{#2}\rbtoprule\rowcolor{tblhdrbgcolor}
250 #3\\\rbmidrule 250 #3\\\rbmidrule}
251 {\tabularx{#1}{#2}\toprule\rowcolor{tblhdrbgcolor}
252 \rule{0pt}{2.9ex}#3\\\midrule}
251}{% 253}{%
252 \endtabularx 254 \endtabularx
253} 255}
@@ -256,7 +258,8 @@
256 258
257 259
258% command to set the default table heading for button lists 260% command to set the default table heading for button lists
259\newcommand{\taghead}{\textbf{Tag} & \textbf{Description} \\\rbmidrule} 261\ifpdfoutput{\newcommand{\taghead}{\textbf{Tag} & \textbf{Description} \\\rbmidrule}}
262 {\newcommand{\taghead}{\rule{0pt}{2.9ex}\textbf{Tag} & \textbf{Description} \\\midrule}}
260 263
261% environment intended to be used with tag maps (for wps) 264% environment intended to be used with tag maps (for wps)
262% usage: \begin{tagmap}{caption}{label} Tag & Description \\ \end{tagmap} 265% usage: \begin{tagmap}{caption}{label} Tag & Description \\ \end{tagmap}
@@ -268,14 +271,15 @@
268\rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor} 271\rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor}
269 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname 272 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
270 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% 273 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
271 \rbbottomrule% 274 \ifpdfoutput{\rbbottomrule}{\bottomrule}%
272 \SavedEndTab% 275 \SavedEndTab%
273 \if\given{#1}\caption{#1}\fi% 276 \if\given{#1}\caption{#1}\fi%
274 \if\given{#2}\label{#2}\fi% 277 \if\given{#2}\label{#2}\fi%
275 \endcenter% 278 \endcenter%
276 } 279 }
277 \center 280 \center
278\tabularx{\textwidth}{lX}\rbtoprule\rowcolor{tblhdrbgcolor} % here is the table width defined 281\ifpdfoutput{\tabularx{\textwidth}{lX}\rbtoprule\rowcolor{tblhdrbgcolor}} % here is the table width defined
282 {\tabularx{\textwidth}{lX}\toprule\rowcolor{tblhdrbgcolor}} % here is the table width defined
279 \taghead 283 \taghead
280}{% 284}{%
281 \endtabularx 285 \endtabularx
@@ -359,8 +363,10 @@
359\makeindex 363\makeindex
360 364
361% command to set the default table heading for button lists 365% command to set the default table heading for button lists
362\newcommand{\btnhead}{\textbf{Key} \opt{HAVEREMOTEKEYMAP}{% 366\ifpdfoutput{\newcommand{\btnhead}{\textbf{Key} \opt{HAVEREMOTEKEYMAP}{%
363 & \textbf{Remote Key}} & \textbf{Action} \\\rbmidrule} 367 & \textbf{Remote Key}} & \textbf{Action} \\\rbmidrule}}
368 {\newcommand{\btnhead}{\textbf{Key} \opt{HAVEREMOTEKEYMAP}{%
369 & \textbf{Remote Key}} & \textbf{Action} \\\midrule}}
364% environment intended to be used with button maps 370% environment intended to be used with button maps
365% usage: \begin{btnmap}{caption}{label} Button & ButtonAction \\ \end{btnmap} 371% usage: \begin{btnmap}{caption}{label} Button & ButtonAction \\ \end{btnmap}
366% Note: this automatically sets the table lines. 372% Note: this automatically sets the table lines.
@@ -377,7 +383,7 @@
377 \rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor} 383 \rowcolors{2}{tbloddrowbgcolor}{tblevenrowbgcolor}
378 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname 384 \expandafter\let\expandafter\SavedEndTab\csname endtabular*\endcsname
379 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{% 385 \expandafter\renewcommand\expandafter*\csname endtabular*\endcsname{%
380 \rbbottomrule% 386 \ifpdfoutput{\rbbottomrule}{\bottomrule}%
381 \SavedEndTab% 387 \SavedEndTab%
382 \if\given{#1}\caption{#1}\fi% 388 \if\given{#1}\caption{#1}\fi%
383 \if\given{#2}\label{#2}\fi% 389 \if\given{#2}\label{#2}\fi%
@@ -386,13 +392,15 @@
386 \center 392 \center
387 \opt{HAVEREMOTEKEYMAP}{ 393 \opt{HAVEREMOTEKEYMAP}{
388 % here is the table width defined for 3 columns 394 % here is the table width defined for 3 columns
389 \tabularx{.95\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\rbtoprule\rowcolor{tblhdrbgcolor} 395 \ifpdfoutput{\tabularx{.95\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\rbtoprule\rowcolor{tblhdrbgcolor}}
396 {\tabularx{.95\textwidth}{>{\raggedright\arraybackslash}p{.2\textwidth}>{\raggedright\arraybackslash}p{.2\textwidth}X}\toprule\rowcolor{tblhdrbgcolor}}
390 } 397 }
391 \nopt{HAVEREMOTEKEYMAP}{ 398 \nopt{HAVEREMOTEKEYMAP}{
392 % here is the table width defined for 2 columns 399 % here is the table width defined for 2 columns
393 \tabularx{.75\textwidth}{>{\raggedright\arraybackslash}p{.22\textwidth}X}\rbtoprule\rowcolor{tblhdrbgcolor} 400 \ifpdfoutput{\tabularx{.75\textwidth}{>{\raggedright\arraybackslash}p{.22\textwidth}X}\rbtoprule\rowcolor{tblhdrbgcolor}}
401 {\tabularx{.75\textwidth}{>{\raggedright\arraybackslash}p{.22\textwidth}X}\toprule\rowcolor{tblhdrbgcolor}}
394 } 402 }
395 \btnhead 403 \ifpdfoutput{\btnhead}{\rule{0pt}{2.9ex}\btnhead}
396}{% 404}{%
397 \endtabularx 405 \endtabularx
398} 406}