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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11.4. Tables\begin{array}[t]({c}) 1\\2\\3 \end{array}\begin{array}[c]({c}) 1\\2\\3 \end{array}\begin{array}[b]({c}) 1\\2\\3 \end{array}\quad\mbox{not}\quad\left(\begin{array}[t]{c} 1\\2\\3 \end{array}\right)\left(\begin{array}[c]{c} 1\\2\\3 \end{array}\right)\left(\begin{array}[b]{c} 1\\2\\3 \end{array}\right)⎛⎝123⎛⎞⎝⎠123⎛⎞⎝⎠123⎞⎠not⎛ ⎞⎛⎜⎝ 1 ⎝⎟2 ⎠3123⎛⎞⎠⎜⎝123⎞⎟⎠11.4 TABLESA table is one way of presenting a large amount of information in a limited space. Evena simple table can presents facts that could require several wordy paragraphs — it is notonly a picture that is worth a thousand words.A table should have at least two columns, otherwise it is really a list, and many timeshas more. <strong>The</strong> leftmost column is often called the stub and it typically contains a verticallisting of the information categories in the other columns. <strong>The</strong> columns have heads (orheadings) at the top indicating the nature of the entries in the column, although it is notalways necessary to provide a head for the stub if the heading is obvious from the table’scaption. Column heads may include subheadings, often to specify the unit of measurementfor numeric data.A less simple table may need two or more levels of headings, in which case decked headsare used. A decked head consists of a spanner head and the two or more column heads itapplies to. A horizontal spanner rule is set between the spanner and column heads to showwhich columns belong to the spanner.Double decking, and certainly triple decking or more, should be avoided as it can makeit difficult following them down the table. It may be possible to use a cut-in head instead ofdouble decking. A cut-in head is one that cuts across the columns of the table and appliesto all the matter below it. To try and clarify, the parts of a table are shown diagrammaticallyin Table 11.2.No mention has been made of vertical rules in a table, and this is deliberate. <strong>The</strong>reshould be no vertical rules in a table. Rules, if used at all, should be horizontal only, andthese should be single, not double or triple. It’s not that ink is expensive, or that practicallyno typesetting is done by hand any more, it is simply that the visual clutter should beeliminated.For example, in Table 11.3 which was produced from the code below, Table 11.3(a) isfrom the La<strong>TeX</strong> book and Table 11.3(b) is how Simon Fear [Fea03] suggests it should becleaned up. Notice how both the revised code and the table are generally simpler than theoriginals.\begin{table}\centering\caption{Two views of one table} \label{tab:twoviews}215

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

Saved successfully!

Ooh no, something went wrong!