Sub Navigation

Print this Page. Send this Page.

Figures and Tables

Figures

Figures are marked up by the tag <figure></figure>. Figures mostly have a title, which is stored in <head></head>.

Figures are often accompanied not only by a title or heading, but by a paragraph or so of commentary or caption. One or more <p> elements following the <head> may be used to transcribe any caption or discussion of the figure in the source.  

As encoders, we can give a short description of the image, preparing for the situation that users may not be able to open the image. This description is stored in  <figDesc></figDesc>. 

In normal case, the figure should be displayed in the database, therefore the figure needs to be cropped, saved as png file, and the filename inserted as value of the attribute facs (facsimile).

Abstract example:

Example from Encyclopedia Britannica (here embedded into a paragraph of text):

  1. <p>The Laccadives and Maldives are groups of small coral islands,
  2. <figure facs="images/EncBrit.ed11.v02.0735.f1.png">
  3. <head>ASIA.</head>
  4. <p>Scale 1: 30,000,000</p>
  5. <p>Political coloring: British, U.S.A. (Philippines), German, French, Dutch, Portuguese</p>
  6. <p>Drawn and Engraved by Justus Perthos, Gotha, Germany</p>
  7. <p>Copyright in the United States of America, 1910, by The Encyclopedia Britannica Co.</p>
  8. <figDesc>Political division and physical landshaft.</figDesc>
  9. </figure>
  10. <pb n="737" facs="images/EncBrit.ed11.v02.0737.png"/> situated along the 73rd meridian, at no great distance from the Indian peninsula, on which they have a political dependency.</p>
  11.  

Tables

Tables contain an optional header and one or more columns and rows; each intersection of a column and a row is a cell. The following example illustrates how to mark up a simple table. First the table, followed by the TEI markup:

Poor Mans Lodgings in Norfolk (Mayhew, 1843)

Dossing Cribs or Lodging Houses

Beds

Needys or Nightly Lodgers

Bury St Edmund's

5

8

128

Thetford

3

6

36

  1. <table rows="3" cols="4">
  2. <head>Poor Mans Lodgings in Norfolk (Mayhew, 1843)</head>
  3. <row role="label">
  4. <cell></cell>
  5. <cell>Dossing Cribs or Lodging Houses</cell>
  6. <cell>Beds</cell>
  7. <cell>Needys or Nightly Lodgers</cell>
  8. </row>
  9. <row>
  10. <cell role="label">Bury St Edmunds</cell>
  11. <cell>5</cell>
  12. <cell>8</cell>
  13. <cell>128</cell>
  14. </row>
  15. <row>
  16. <cell role="label">Thetford</cell>
  17. <cell>3</cell>
  18. <cell>6</cell>
  19. <cell>36</cell>
  20. </row>
  21. </table>

Some tables in the encyclopedias may be more complex than that. In TEI, rows can also span over more than one cells, and cells can span over more than one rows. The following example from Encyclopédie du dix-neuvième siècle shows how to mark this up:

SYSTÈME HIMALAYEN.

Hauteur en mètres.

Groupe d'Altai.

L'Alta-Iin-Miro,

3,576

L'Iyiktou ou Alas-Tau,

3,508

L'Italitzkoi,

3,270

Le Tugtau,

3,080

Groupe du Thian-Chan.

Le Bokhda-Oola,

5,800?

Le volcan appele Pe-Chan,

4,200?

SYSTÈME CAUCASIQUE.

Groupe du Taurus.

Le Sagout-Tagh,

4,675?

Le Toughtalon,

1,975?

Groupe de l'anti-Taurus.

Le mont Ardjs,

4,872?

 

  1. <table rows="5" cols="3">
  2.   <row>
  3.     <cell cols="3">SYSTÈME HIMALAYEN.</cell>
  4.   </row>
  5.   <row>
  6.     <cell/>
  7.     <cell/>
  8.     <cell>Hauteur en mètres.</cell>
  9.   </row>
  10.   <row>
  11.     <cell rows="5">Groupe d Altai.</cell>
  12.   </row>
  13.   <row>
  14.     <cell>L Alta-Iin-Miro,</cell>
  15.     <cell>3,576</cell>
  16.   </row>
  17.   <row>
  18.     <cell>L Iyiktou ou Alas-Tau,</cell>
  19.     <cell>3,508</cell>
  20.   </row>
  21.   <row>
  22.     <cell>L Italitzkoi,</cell>
  23.     <cell>3,270</cell>
  24.   </row>
  25.   <row>
  26.     <cell>Le Tugtau,</cell>
  27.     <cell>3,080</cell>
  28.   </row>
  29.   <row>
  30.     <cell rows="4">Groupe du Thian-Chan.</cell>
  31.   </row>
  32.   <row>
  33.     <cell>Le Bokhda-Oola,</cell>
  34.     <cell>5,800?</cell>
  35.   </row>
  36.   <row>
  37.     <cell>Le volcan appele Pe-Chan,</cell>
  38.     <cell>4,200?</cell>
  39.   </row>
  40.   <row>
  41.     <cell cols="3">SYSTÈME CAUCASIQUE.</cell>
  42.   </row>
  43.   <row>
  44.     <cell rows="3">Groupe du Taurus.</cell>
  45.   </row>
  46.   <row>
  47.     <cell>Le Sagout-Tagh,</cell>
  48.     <cell>4,675?</cell>
  49.   </row>
  50.   <row>
  51.     <cell>Le Toughtalon,</cell>
  52.     <cell>1,975?</cell>
  53.   </row>
  54.   <row>
  55.     <cell rows="2">Groupe de lanti-Taurus.</cell>
  56.   </row>
  57.   <row>
  58.     <cell>Le mont Ardjs,</cell>
  59.     <cell>4,872?</cell>
  60.   </row>
  61. </table>
  

Search