t...@tsdye.com (Thomas S. Dye) writes:
> A caption-aware LaTeX environment is provided by the minted package.
Thanks to Eric, Bastien and Thomas for their help. I've switched from
listings to minted as I wasn't particularly wed to either and have
successfully implemented Thomas' suggestions.
Bastien writes:
> Hi Giles,
>
> Giles Chamberlin writes:
>
>> 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
>> #+be
Giles Chamberlin writes:
> 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
>
Hi Giles,
Giles Chamberlin writes:
> 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
>
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}\