Recent Changes · Search:

Support the Project

Wikipublisher

PmWiki

edit SideBar

 

Wikipublisher automatically formats tables to fit the page.

1.  Simple tables have automatic column widths

For simple tables, any column width settings are ignored and it calculates suitable widths based on the contents of the cells. The alignment of columns is based on the most used alignment in any given colum.

2.  Simple tables normally float

Tables normally do not break across page boundaries; rather they float to the top of the next available page. The following text flows back to fill the space left behind. If the table is longer than one page, it will run off the bottom of the page.

3.  Long tables have running headers and footers

Add “class=long” to the attributes of a simple table that is longer than a single page. This will:

  • prevent the table from floating
  • treat the first row as a running header, if this uses table head markup
  • automatically insert continued on next page as a running footer

4.  Advanced tables do not float

It treats the cells of advanced tables as discrete blocks — it always breaks these on row boundaries, never part way through a row. By default, all columns of advanced tables are equal width. However, if the cells include a width attribute, it uses the last occurrence of this attribute in each column to determine the width of the column.

Other advanced table attributes, such as styles, are currently ignored.

5.  TAB markup creates table cross-references

To create a cross-reference from the text to a table, add %id=reference"summary text"% to the table attributes and use the TAB(reference) markup. Wikipublisher uses the table summary text as the cross-reference text. In the PDF, the cross-reference includes the table number. Because tables can float to another page, it is good practice to use cross-references when referring to a table in the body text.

Table captions always print above the table.

« Links | User Guide | Images »

Creative Commons License
Edit · History · Print · Recent Changes · Search · Links
Page last modified on 06 April 2011 at 11:58 PM