[pmwiki-users] proposed markup for rowspan in simple tables

Christian Ridderström christian.ridderstrom at gmail.com
Tue Aug 26 16:33:20 CDT 2008

On Wed, 27 Aug 2008, john.rankin at affinity.co.nz wrote:

> The primary reason is that (as alluded to in earlier messages), the 
> LaTeX table model makes supporting (:cell rowspan=3:) in advanced table 
> markup a major headache to do properly, whereas it's relatively simple 
> to do in simple tables.

How are rowspans done in LaTeX tables?  Maybe I can help you come up with 
an algorithm for the advanced markup. (Without really thinking about it, 
I'd probably fill a 2D array with the cell contents for the entire table 
and then output it. In this case I don't see how the type of table markup 
matters, so I assume I'm missing something).

> For me, this goes against the spirit of simple table markup and looks 
> like a misfit. Since all other simple table markup is markup characters, 
> and in particular we don't use (:colspan=3:), I would prefer a character 
> markup.

It's a matter of taste. I personally find the markup below confusing and 
more difficult to remember. But I have no real objection, so just use that.


> Are there any reasons not to use:
> ||text||this spans 3 rows+++ ||
> ||more||
> ||more||
> ||text||text||
> JR

Christian Ridderström, +46-8-768 39 44            http://www.md.kth.se/~chr

More information about the pmwiki-users mailing list