<< Chapter < Page Chapter >> Page >
Need summary
Simple table with small cell contents, and colspans for all columns (all widths are '*')
a b c d e
f g h i j
k l m n o
Simple table with wide cell contents
A Sultan sat on his oriental mat, in his harem in downtown Persia, He took a sip of his coffee, just a drip, and he said to his servant Kersia, "Ah, curse ya, curse ya, curse ya, That's the worst cup of coffee in Persia!"
"Cause... All I want is a proper cup of coffee,made from a proper copper coffee pot, I may be off my nut, but I want a proper cup of coffeefrom a proper copper pot. Iron coffee pots and tin coffee pots, they're no good to me! If I can't have a proper cup of coffee from a proper copper coffee pot,I'll Throw you in the sea
In old Baghdad in old Baghdad, in old Baghdad Very often I have had cups of coffee by the dozen And you all should make my coffee just as good and without my blasted cussing "Ah, curse ya, curse ya, curse ya, That's the worst cup of coffee in Persia!"
Oh All I want is a proper cup of coffee, made from a proper copper coffee pot, I may be off my nut, but I want a proper cup of coffeefrom a proper copper pot. Brass coffee pots, glass coffee pots They're no good to me If I can't have a proper cup of coffee From a proper copper coffee pot,I'll have a cup of tea!"
Simple table with explicit colwidths
col1,1 col1,2 col1,3
col2,1 col2,2 col2,3
Simple table with mixed colwidths and a colspan
col1,1 col1,2 col1,3
col2,1 col2,2 col2,3
col3,1 col3,2-3; I'm using a spanname attribute to refer to a spanspec in my containing tgroup. The spanspec in turn refers to the starting and ending colspecs, which I need to compute my width correctly.
col4,1-2; I'm using a spanname attribute to refer to a spanspec in my containing tgroup. The spanspec in turn refers to the starting and ending colspecs, which I need to compute my width correctly. col4,3
col5,1 col5,2-3; I'm using namest and nameend attributes to refer directly to the starting and ending colspecs for this span, which I need to compute my width correctly.
col6,1-2; I'm using namest and nameend attributes to refer directly to the starting and ending colspecs for this span, which I need to compute my width correctly. col6,3
col7,1-3; I'm using namest and nameend attributes to refer directly to the starting and ending colspecs for this span, which I need to compute my width correctly.
col8,1-3; I'm using a spanname attribute to refer to a spanspec in my containing tgroup. The spanspec in turn refers to the starting and ending colspecs, which I need to compute my width correctly.
Simple table with small cell contents; no colspans, so this table should be set in lr mode
a b c d e
f g h i j
k l m n o
Simple table with explicit colwidths, and thead
colH,1 colH,2 colH,3
colH,1-2 colH,3
col1,1 col1,2 col1,3
col2,1 col2,2 col2,3
Simple table with explicit colwidths, and thead
colF,1 colF,2 colF,3
colF,1-3
col1,1 col1,2 col1,3
col2,1 col2,2 col2,3

Max's samples

long long long long long long
a b
c d
e f g

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Pdf generation test course. OpenStax CNX. Dec 16, 2009 Download for free at http://legacy.cnx.org/content/col10278/1.5
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Pdf generation test course' conversation and receive update notifications?

Ask