12.07.2015 Views

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

11.5. Fear’s rulesa whole line space.\doublerulesep.If another rule follows the amount of whitespace is increased by\specialrule{〈width〉}{〈abovespace〉}{〈belowspace〉}You can, but should not, generate peculiar spacing between rules by using \specialrule.<strong>The</strong> three required arguments are the width, 〈width〉, of the rule and the spaces above(〈abovespace〉) and below (〈belowspace〉). \specialrule ignores a preceding rule but ifthere is a following one then 〈belowspace〉 will be increased by \doublerulesep.<strong>The</strong> default dimensions are\heavyrulewidth = 0.08em\lightrulewidth = 0.05em\cmidrulewidth = 0.03em\belowrulesep = 0.65ex\aboverulesep = 0.4ex\defaultaddspace = 0.5em\cmidrulekern = 0.25em<strong>The</strong> last of these, \cmidrulekern, is the amount by which a \cmidrule is trimmed at theends indicated in the () option. In the construction\cmidrule(r){1-2}\cmidrule(l){3-4}there is a total of 0.5em separating the two rules. Currently the only way to get specialeffects is to reset \cmidrulekern as appropriate; the amount of trimming is not availableas an argument in the current implementation of \cmidrule.An example of the commands in use was given by the code to produce Table 11.3(b) onpage 216:\begin{tabular}{@{}llr@{}} \toprule\multicolumn{2}{c}{Item} \\ \cmidrule(r){1-2}Animal & Description & Price (\$)\\ \midruleGnat & per gram & 13.65 \\& each & 0.01 \\Gnu & stuffed & 92.50 \\Emu & stuffed & 33.33 \\Armadillo & frozen & 8.99 \\ \bottomrule\end{tabular}11.5.1 Fills<strong>The</strong> rules described previously go between rows. Sometimes it may be desirable to to puta rule or something similar within a row.\downbracefill \hrulefill \upbracefillExamples of \downbracefill, \hrulefill, and \upbracefill are illustrated in Table11.6, typeset from the code below. Surprisingly these are ordinary text commands, notmath mode commands.\begin{table}\centering\caption{Example table with fills} \label{tab:fills}219

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!