Skip to content Skip to navigation

Connexions

You are here: Home » Content » Exhaustive Figure and Table Combinations

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

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

      What is in a lens?

      Lens makers point to Connexions 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 Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Recently Viewed

Exhaustive Figure and Table Combinations

Module by: Max Starkenburg

Summary: This module provides examples of figures, subfigures, and captions in varying in shapes and sizes. It also provides examples of CALS tables in many different variations and attribute permutations for style testing purposes.

No Subfigures, Unstretched Caption

Figure 1
Tall and Narrow Media, Without Caption
Tall and Narrow Media, Without Caption (tall.png)

No Subfigures, Short Unstretched Caption

Figure 2: Damn.
Figure 2 (tall.png)

No Subfigures, Stretched Caption

Figure 3: The codeblock above is inside a figure which likely will have a center alignment, yet it retains its natural left alignment because of the way it is styled. It also stretches out this caption, which normally would have a width of 50%
Codeblock in a Centered Table Cell

this is some               pretend codeblock
      please
          
just use
                 your
    imagination
this last line is longer than the rest to see how well the caption stretches
        

Horizontal Subfigures, Unstretched Figure

Figure 4
Tall and Narrow Media, Without CaptionShort and Wide Media
Subfigure 4.1: The picture is tall and narrow. Some people are tall and narrow. Additionally, some trees are tall and narrow. Thus, there are many things that could fill this picture. Subfigure 4.2: This picture is short and wide. Most people aren't shaped that way, unless they are lying down.
Tall and Narrow Media, Without Caption (tall.png)Short and Wide Media (wide.png)

Horizontal Subfigures, Stretched Figure

Figure 5: I don't have anything to say about this figure, except that I don't like it very much.
Name of Figure
Tall and Narrow MediaShort and Wide Media
Subfigure 5.1: This picture is tall and narrow. Some people are tall and narrow. Additionally, some trees are tall and narrow. Thus, there are many things that could fill this picture. Subfigure 5.2Subfigure 5.3: This picture is tall and narrow.
Tall and Narrow Media (tall.png)Short and Wide Media (wide.png)Name of Figure, Subfigure 5.3 (tall.png)

Vertical Subfigures, Unstretched Figure

Figure 6
Your Name Goes Here, Without Caption
Square Media
Subfigure 6.1: This picture is square. It's width is equal to it's height.
Square Media (square.png)
Short and Wide Media
Subfigure 6.2
Short and Wide Media (wide.png)
Tall and Narrow Media
Subfigure 6.3: This picture is rectangular as well. However, it is taller than it is wide.
Tall and Narrow Media (tall.png)

Vertical Subfigures, Stretched Figure

Figure 7: This is the caption for the figure above. This figure, which contains all the subfigures, is fixed at a width of 50% of the screen. If any subfigure is wider than this caption, the figure will stretch itself for it, but not for a large caption, as can be seen by this long caption. Brilliant, eh? Let's see, will it work only with CSS? More length. More length. More length. More length.
Subfigure 7.1: This is a square. It's width is equal to it's height.
Subfigure 7.1 (square.png)
Name here
Subfigure 7.2: The above is wider than it is tall

This is some              pretend codeblock
     please
        
just use
          your imagination
this last line will be longer to see if the table will stretch well.  a little longer.
          
Name of this figure, which is ridiculously longer than the size of the subfigure, and is also longer than the 50% which will normally be the width of the figure. Making it even longer.
Subfigure 7.3

	      Name of this figure, which is ridiculously longer than
            the size of the subfigure, and is also longer than the 50%
            which will normally be the width of the figure.  Making it
            even longer.   (tall.png)
Figure 8: This image should have a height attribute and alt attribute via param elements.
Testing params
This image has an alt attribute
Figure 9: Though these images have the same size on screen, they will have different sizes in the PDF (print) version, because they all have different print resolutions. This is useful to change when using images such as screenshots, which appear normal on screen, but too large and pixely in print.
Testing different print resolutions
Subfigure 9.1: 72dpiSubfigure 9.2: 150dpiSubfigure 9.3: 300dpi
Testing different print resolutions, Subfigure 9.1 (square-72.png)Testing different print resolutions, Subfigure 9.2 (square-150.png)Testing different print resolutions, Subfigure 9.3 (square-300.png)

Figure 10
name and caption on table
one tgroupmore than one tgroup
Subfigure 10.1Subfigure 10.2
table name text
1 2
3 4

table caption text

table name text
1 2
3 4
a b
c d

table caption text

TABLE attributes

frame

Figure 11: These, like the borders of the cells themselves, are done with inline CSS declarations.
frame="sides"frame="top"frame="bottom"frame="topbot"frame="all"frame="none"
Subfigure 11.1Subfigure 11.2Subfigure 11.3Subfigure 11.4Subfigure 11.5Subfigure 11.6
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2

colsep, rowsep

Figure 12
colsep="0"colsep="1"rowsep="0"rowsep="1"rowsep="0" (no tfoot)rowsep="0" (no thead or tfoot)
Subfigure 12.1Subfigure 12.2Subfigure 12.3Subfigure 12.4Subfigure 12.5Subfigure 12.6
a1a2a3
b1b2b3
a1a2a3
b1b2b3
a1a2a3
b1b2b3
a1a2a3
b1b2b3
a1a2a3
b1b2b3
a1a2a3
b1b2b3
a1a2
b1b2
c1c2
a1a2
b1b2
c1c2
a1a2
b1b2
c1c2
a1a2
b1b2
c1c2
a1a2
b1b2
c1c2
a1a2
b1b2
c1c2
a1a2
b1b2
c1c2
a1a2
b1b2
c1c2
a1a2
b1b2
c1c2

orient, pgwide

Figure 13
orient="port"orient="land"pgwide="0"pgwide="1"
Subfigure 13.1Subfigure 13.2: This should be impossible in HTML, as far as I know.Subfigure 13.3Subfigure 13.4: I'm not exactly sure how this should work inside a figure.
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
pgwide="0" outside figure
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2

This should take only the space needed.

pgwide="1" outside figure
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2

This should extend to the edges of the page.

TGROUP attributes

colsep, rowsep

Figure 14: Remember, the column separator is to the right of the cell, and the row separator is to the bottom of the cell. The last cells' right and bottom separator, respectively, are ignored and instead dictated by the table's frame attribute.
colsep="0"colsep="1"rowsep="0"rowsep="1"rowsep="0" (no tfoot)rowsep="0" (no thead or tfoot)
Subfigure 14.1Subfigure 14.2Subfigure 14.3Subfigure 14.4Subfigure 14.5Subfigure 14.6
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2
a1a2
b1b2

align, char, charoff

Figure 15
align="left"align="right"align="center"align="justify"
Subfigure 15.1Subfigure 15.2Subfigure 15.3Subfigure 15.4
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. another string, but not as long as the last.
long word or phrase short
a long string of text, used to encourage wrapping in order to test align. a nother string, but not as long as the last.
Figure 16: There are char and charoff attributes in HTML, but I don't believe they are supported by browsers yet.
align="char", char="."align="char", char=".", charoff="25"align="char", char=".", charoff="75"
Subfigure 16.1Subfigure 16.2Subfigure 16.3
1. blah 22222. blah
aa. blah b. blah
1. blah 22222. blah
aa. blah b. blah
1. blah 22222. blah
aa. blah b. blah
1. blah 22222. blah
aa. blah b. blah
1. blah 22222. blah
aa. blah b. blah
1. blah 22222. blah
aa. blah b. blah
1. blah 22222. blah
aa. blah b. blah
1. blah 22222. blah
aa. blah b. blah
1. blah 22222. blah
aa. blah b. blah

COLSPEC attributes

colwidth

Figure 17
colwidth="72pt"colwidth="1.5in"
Subfigure 17.1Subfigure 17.2
a1a2
a1a2
a1a2
a1a2
a1a2
a1a2
Figure 18
colwidth="100px"colwidth="10em"
Subfigure 18.1Subfigure 18.2
a1a2
a1a2
a1a2
a1a2
a1a2
a1a2
Figure 19
colwidth="50%"colwidth="150%"
Subfigure 19.1Subfigure 19.2
a1a2
a1a2
a1a2
a1a2
a1a2
a1a2
Figure 20
colwidth="