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: Eric S Fraga
Subject: Re: [O] removing "Figure x" from a caption
Date: Thu, 12 Sep 2013 21:15:09 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

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


-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.6-341-g338603




reply via email to

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