From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: removing "Figure x" from a caption Date: Thu, 12 Sep 2013 21:15:09 +0100 Message-ID: <87li3123w2.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKDXH-000716-Km for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 16:30:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKDX9-00083T-1S for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 16:30:43 -0400 Received: from va3outboundsmtppool1.messaging.microsoft.com ([157.55.133.163]:35181 helo=VA3EHSNDR001.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKDX8-00081g-RL for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 16:30:34 -0400 In-Reply-To: (Matt Price's message of "Thu, 12 Sep 2013 13:42:25 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Price Cc: Org Mode Matt Price 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