Using DocBook to write GHC documentation | ||
---|---|---|
Prev |
Tables are quite complicated to write in SGML (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). |