On Thu, Sep 12, 2013 at 4:15 PM, Eric S Fraga <e.fr...@ucl.ac.uk> wrote:
> Matt Price <mopto...@gmail.com> writes:
>
>> sorry, another question whose answer I'm having trouble finding in the
>> manual: is it possible to remove the text "Figure X: " from a caption
>> defined with
>>
>> #+CAPTION:
>>
>> ? I'm just doing lecture slides, and the images are merely
>> illustrative, labelling them "Figure 1" is a bit grandiose.  Thanks
>> again!
>
> I guess you are exporting to Beamer?  If so, the easiest way would be to
> redefine caption to something else.  The following seems to work but I'm
> sure there are prettier ways of doing this:
>
> --8<---------------cut here---------------start------------->8---
> #+startup: beamer
> #+options: H:1
> #+latex_header: \newcommand{\mycaption}[1]{\newline \hfill #1 \hfill 
> \newline} \let\caption\mycaption
>
> * the slide
> #+caption: This is some very catchy caption
> #+attr_LaTeX: :width 0.5\textwidth
> [[file:~/test/myfig.jpg]]
> --8<---------------cut here---------------end--------------->8---
>
> hope this helps,
> eric
>

Unfortunatey, I'm exporting to HTML (deck.js) not Beamer.  I guess I
still on't understand how to use beamer -- I tried it just now and it
seemed to produce a very plain pdf, not a slideshow at all.  sigh.

Reply via email to