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.8. Free tabulars〈width〉 = -1ptone two three four fivesix seven eight nine teneleven twelve thirteen fourteen〈width〉 = 0pt (the default)one two three four fivesix seven eight nine teneleven twelve thirteen fourteen〈width〉 = 0.9\textwidthone two three four fivesix seven eight nine teneleven twelve thirteen fourteenFigure 11.4: Changing the width of a row ordered table\begin{figure}...\autorows[-1pt]{c}{5}{c}{one, two, three, four, five,six, seven, eight, nine, ten,eleven, twelve, thirteen, fourteen }...\autorows[0pt]{c}{5}{c}{one, two, three,... fourteen }...\autorows[0.9\textwidth]{c}{5}{c}{one, two, three,... fourteen }\caption{Changing the width of a row ordered table}\label{fig:arw}\end{figure}\autocols[〈width〉]{〈pos〉}{〈num〉}{〈style〉}{〈entries〉}<strong>The</strong> \autocols macro lists its 〈entries〉 in columns, proceeding top to bottom and left toright. <strong>The</strong> arguments, are the same as for \autorows, except that a negative 〈width〉 istreated as if it were zero. <strong>The</strong> column width is always constant throughout the table andis normally sufficient for the widest entry. A positive or zero 〈width〉 has the same effect asfor \autorows.If you need to include a comma within one of the entries in the list for either \autorowsor \autocols you have to use a macro. For instance:\newcommand*{\comma}{,}<strong>The</strong> examples in Figure 11.5, from the following code elements, illustrate these points.\begin{figure}...\autocols{c}{5}{c}{one\comma{} two, three, four, five,six, seven, eight, nine, ten,229

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

Saved successfully!

Ooh no, something went wrong!