Skip to content Skip to navigation

OpenStax-CNX

You are here: Home » Content » CALS Table Samples

Navigation

Recently Viewed

This feature requires Javascript to be enabled.
 

CALS Table Samples

Module by: Chuck Bearden. E-mail the author

Based on: penguin by Zhihua Tang

Summary: Need summary

Table 1: 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
Table 2: 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 coffee from 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 coffee from 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!"
Table 3: Simple table with explicit colwidths
col1,1 col1,2 col1,3
col2,1 col2,2 col2,3
Table 4: 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.
Table 5: 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
Table 6: 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
Table 7: Simple table with explicit colwidths, and thead
col1,1 col1,2 col1,3
col2,1 col2,2 col2,3
colF,1 colF,2 colF,3
colF,1-3

Max's samples

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

Content actions

Download module as:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks