emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] removing "Figure x" from a caption


From: Matt Price
Subject: Re: [O] removing "Figure x" from a caption
Date: Fri, 13 Sep 2013 10:44:56 -0400

On Thu, Sep 12, 2013 at 4:15 PM, Eric S Fraga <address@hidden> wrote:
> Matt Price <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]