• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Tabular Material > 5.7. Further extensions

5.7. Further extensions

Two other package files extend the array package with additional functionality. The first provides for table entries spanning more than one row. The second makes it easier to align decimal numbers in a column.

You can simulate a cell spanning a few rows vertically by putting the material in a zero-height box and raising it.

5-7-1
Image

Similarly, you can use a standard tabular preamble of the form r@{.}l to create two table columns and produce the effect of a column aligned on a decimal point, but then the input looks rather strange. For an alternative solution, see Section 5.7.2 on page 274.

5-7-2
Image

This strategy is not always convenient, because you have to be aware that the “column” is really two columns of the table. This consideration becomes important when counting columns for the \multicolumn or \cline commands. Also, you need to locally set \extracolsep to 0pt if you use this construct in a tabular* environment, otherwise TeX may insert space after the decimal point to spread the table to the specified width.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint