|
From: | Giles Chamberlin |
Subject: | [O] src blocks, listings package and captions |
Date: | Wed, 24 Aug 2011 16:58:35 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (darwin) |
I'm using the listings package and org-version 7.4 to generate latex/pdf output including source snippets. I'd like to add captions: "Figure 1: My code" and tried with the following to no avail: #+caption: My code #+begin_src clojure ;; stuff #+end_src Do I have to wrap this in \begin{figure}\caption{} or is there a simpler way? -- Giles Chamberlin Engineering Director Cisco Systems Ltd
[Prev in Thread] | Current Thread | [Next in Thread] |