From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Matt Price <moptop99@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: removing "Figure x" from a caption
Date: Thu, 12 Sep 2013 21:15:09 +0100 [thread overview]
Message-ID: <87li3123w2.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAN_Dec-eD_T1b6Qw4baSTvkMHbF_Jq_f5Cbb5_ii63Z8U0RGNA@mail.gmail.com> (Matt Price's message of "Thu, 12 Sep 2013 13:42:25 -0400")
Matt Price <moptop99@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
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.6-341-g338603
next prev parent reply other threads:[~2013-09-12 20:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-12 17:42 removing "Figure x" from a caption Matt Price
2013-09-12 18:18 ` Rasmus
2013-09-13 14:50 ` Matt Price
2013-09-13 15:24 ` Nicolas Goaziou
2013-09-12 20:15 ` Eric S Fraga [this message]
2013-09-13 14:44 ` Matt Price
2013-09-14 14:28 ` Eric S Fraga
2013-09-15 13:02 ` Matt Price
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87li3123w2.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=moptop99@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).