Next: , Previous: Structural markup elements, Up: Markup

11.2 Images and Tables

Both the native Org mode tables (see Tables) and tables formatted with the table.el package will be exported properly. For Org mode tables, the lines before the first horizontal separator line will become table header lines. You can use the following lines somewhere before the table to assign a caption and a label for cross references, and in the text you can refer to the object with \ref{tab:basic-data}:

     #+CAPTION: This is the caption for the next table (or link)
     #+LABEL:   tab:basic-data
        | ... | ...|

Optionally, the caption can take the form:

     #+CAPTION: [Caption for list of figures]{Caption for table (or link).}

Some backends (HTML, LaTeX, and DocBook) allow you to directly include images into the exported document. Org does this, if a link to an image files does not have a description part, for example [[./img/a.jpg]]. If you wish to define a caption for the image and maybe a label for internal cross references, make sure that the link is on a line by itself and precede it with #+CAPTION and #+LABEL as follows:

     #+CAPTION: This is the caption for the next figure link (or table)
     #+LABEL:   fig:SED-HR4049

You may also define additional attributes for the figure. As this is backend-specific, see the sections about the individual backends for more information.

See the discussion of image links.