all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: Matt Price <moptop99@gmail.com>, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: removing "Figure x" from a caption
Date: Fri, 13 Sep 2013 10:44:56 -0400	[thread overview]
Message-ID: <CAN_Dec-zxRpxmv8co91PP5K4p-XiLQQfSmzM0R85U9QC=H1hwg@mail.gmail.com> (raw)
In-Reply-To: <87li3123w2.fsf@ucl.ac.uk>

On Thu, Sep 12, 2013 at 4:15 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> 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
>

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	other threads:[~2013-09-13 14:45 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
2013-09-13 14:44   ` Matt Price [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN_Dec-zxRpxmv8co91PP5K4p-XiLQQfSmzM0R85U9QC=H1hwg@mail.gmail.com' \
    --to=moptop99@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.