On 2 June 2013 07:42, Tong Sun <[email protected]> wrote: > Hi, > > I made many attempts trying to make the asciidoc table colspan and rowspan > working, but wasn't able to. > > Can someone explain me in plain and simple terms how to do asciidoc > colspan and rowspan please? > > FYI, In Ms Excel terms, I want to cover the following table, > > Col 1ACol 2ACol 2B > > Col 1B > > Item H > > H2 > > 2 > > Item 2 > > b > > 3 > > Item 3 > > c > > 6 > > Three items > > d > so as to "merge & center" the Col 2A and Col 2B together into one cell, Col > 2. Also "merge & center" the Col 1A and Col 1B together into one cell, Col > 1. > > I thought the setting would be: > > [cols=3,options="header",width="50%"] > |======================= > .2|Col 1 2|Col 2 >
Spans are followed by + eg .2+| col 1 2 See http://www.methods.co.nz/asciidoc/userguide.html#X84 Cheers Lex > |Item H | H2 > |2 |Item 2 |b > |3 |Item 3 |c > |6 |Three items|d > |======================= > > But that doesn't work for me. > > Please help. > > Thanks > > PS, my asciidoc: > > $ apt-cache policy asciidoc > asciidoc: > Installed: 8.6.7-1 > Candidate: 8.6.7-1 > Version table: > *** 8.6.7-1 0 > 500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 > Packages > 100 /var/lib/dpkg/status > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
