- publishing free software manuals
The Org Mode 7 Reference Manual
by Carsten Dominik and others
Paperback (6"x9"), 282 pages
ISBN 9781906966089
RRP £9.95 ($14.95)

Sales of this book support the Org project! Get a printed copy>>>

11.2 Images and Tables

Both the native Org-mode tables (see section 3 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:   tbl:basic-data
   | ... | ...|
   |-----|----|

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: The caption for the next figure link (or table)
#+LABEL:   fig:SED-HR4049
[[./img/a.jpg]]

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 section 4.4 Handling links.

ISBN 9781906966089The Org Mode 7 Reference ManualSee the print edition