3. Tables
Prev |  |

## 3. Tables

Tables are quite complicated to write in DocBook XML (as in HTML, there are lots of fiddly tags), so here's an example you can cannibalise. In the spirit of the LaTeX short introduction I don't repeat all the markup verbatim; you have to look at the source for that.

Here's | a sample | table
With differently | aligned | cells
There's not much else to it. Entries can span both extra rows and extra columns; just be careful when using block markup (such as `<para>`s) within an `<entry>` that there is no space between the open and close `<entry>` tags and the adjacent text, as otherwise you will suffer from Pernicious Mixed Content (the parser will think you're using inline markup).

Prev |  |
2. Document layout | Home |