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. ROWS AND COLUMNSTable 11.6: Example table with fills1 2 3 4 5Q fgh jklm qwertyv as x y zg nnn } {{ }{ }} { pq dghk j t co ytrewq1 2 3\begin{tabular}{rrrrr}1 & 2 & 3 & 4 & 5 \\Q & & fgh & jklm & qwerty \\v & as & x & y & z \\g & nnn & \multicolumn{3}{c}{\upbracefill} \\\multicolumn{3}{c}{\downbracefill} & pq & dgh \\k & j & t & co & ytrewq \\1 & 2 & 3 & \multicolumn{2}{c}{\hrulefill}\end{tabular}\end{table}Here are the same fills, but this time in an array environment. are shown afterwards.Notice the $s in the array surrounding the fills. Normally $...$ is used to typeset a smallamount of math mode material in the middle of text. In this case, as the array is alreadyin math mode the $...$ are used to typeset a small amount of text material within mathmode.\begin{displaymath}\begin{array}{rrrrr}1 & 2 & 3 & 4 & 5 \\Q & & fgh & jklm & qwerty \\v & as & x & y & z \\g & nnn & \multicolumn{3}{c}{$\upbracefill$} \\\multicolumn{3}{c}{$\downbracefill$} & pq & dgh \\k & j & t & co & ytrewq \\1 & 2 & 3 & \multicolumn{2}{c}{\hrulefill}\end{array}\end{displaymath}1 2 3 4 5Q fgh jklm qwertyv as x y zg nnn } {{ }{ }} { pq dghk j t co ytrewq1 2 3You can define your own ‘fill’. For example:220

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

Saved successfully!

Ooh no, something went wrong!