Your support for our advertisers helps cover the cost of hosting, research, and maintenance of this document

Formatting Information — An introduction to typesetting with LATEX

Chapter 4: Lists, tables, figures

In this chapter…

  1. Lists
  2. Tables
  3. Figures
  4. Images
  5. Quotations
  6. Boxes, sidebars, and panels
  7. Verbatim text

It is perfectly possible to write whole documents using nothing but section headings and paragraphs. As mentioned in § 2.6, novels, for example, usually consist just of chapters divided into paragraphs. However, it’s more common to need other features as well, especially if the document is technical in nature or complex in structure.

In Chapter 2 ‘Basic structures’ we saw how to create a hierarchical document structure with chapters and sections and paragraphs; this chapter covers the other building-blocks which you need within your structure: lists, tables, figures (including images), boxes like sidebars and panels, block quotations, and verbatim text (computer program listings). In Chapter 5 ‘Textual tools’ we will cover the textual tools that you need inside text: footnotes, marginal notes, cross-references, citations, indexes, and glossaries.

  1. It’s worth pointing out that ‘technical’ doesn’t necessarily mean ‘computer technical’ or ‘engineering technical’, least of all ‘mathematical technical’: it just means it contains a lot of τέχνη, Greek for specialist material or artistry. A literary analysis such as La Textualisation de Madame Bovary (on the marginal notes in the manuscripts of Gustave Flaubert’s novel) is every bit as technical in the literary or linguistic field as the maintenance manual for the Airbus 380 is in the aircraft engineering field. 

  2. In fact, any time you define a counter in LATEX, you automatically get a command to reproduce its value. So if you defined a new counter example to use in a teaching book, by saying \newcounter{example}, that automatically makes available the command \theexample for use when you want to display the current value of example

  3. You may find a lot of old files which use a package called epsf. Don’t use it: it’s obsolete. 

  4. The original term Uniform Resource Locator (URL) is now deprecated in favour of the more accurate Uniform Resource Indicator (URI). For details see Unfortunately the older term still persists, especially in this LATEX package and its command, and in some XML markup vocabularies. 

  5. A number of environments which do complicated things with the category codes of characters have this requirement to end the environment with the \end{...} command on a line by itself, at the start of the line. These include the Verbatim environment from the fancyvrb package, and any of the \end{...} commands taken over by the endfloat package.