From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Malone Subject: Re: Short title in beamer export Date: Wed, 5 Jan 2011 17:02:10 -0500 Message-ID: References: <5526A353-3403-4464-9FFE-D574F7347CF3@tsdye.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0055974002==" Return-path: Received: from [140.186.70.92] (port=45596 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PabQr-0001gy-E3 for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 17:02:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PabQp-0006oe-Ds for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 17:02:12 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:36371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PabQp-0006oX-7R for emacs-orgmode@gnu.org; Wed, 05 Jan 2011 17:02:11 -0500 Received: by iyj17 with SMTP id 17so16141262iyj.0 for ; Wed, 05 Jan 2011 14:02:10 -0800 (PST) In-Reply-To: <5526A353-3403-4464-9FFE-D574F7347CF3@tsdye.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --===============0055974002== Content-Type: multipart/alternative; boundary=00032557563a6a1f2d049920895e --00032557563a6a1f2d049920895e Content-Type: text/plain; charset=ISO-8859-1 Hi Tom, I didn't want to do this to start with because I didn't think LaTeX would be happy with overriding the title - it turns out it doesn't mind, so thanks for pointing that out! The problem with your suggestion is that the overriding doesn't take place (by default) until after the \maketitle command. This has the effect of not setting the short title on the title slide (it really shouldn't be there anyway) or the table of contents slide. I just found a way around this by exploiting the fact that the BEAMER_HEADER_EXTRA lines are exported /after/ the \title command is exported. In other words, including the line #+BEAMER_HEADER_EXTRA: \title[XRBs in Multi-d]{Multidimensional Simulations of Convection Preceding Type I X-ray Bursts} overrides the title and performs as I want. Chris On Wed, Jan 5, 2011 at 4:43 PM, Thomas S. Dye wrote: > Aloha Chris, > > Perhaps this will work: > > #+begin_latex > > \title[XRBs in Multi-d]{Multidimensional Simulations of Convection > Preceding Type I X-ray Bursts} > #+end_latex > > hth, > Tom > > > On Jan 5, 2011, at 11:19 AM, Chris Malone wrote: > > Hi, >> >> Is there an org-mode way to use a short title for export to beamer? >> >> Some of the beamer templates (or manual setting) show the title of the >> talk in a footer or header, but the box-size is often too small. To >> counter-act this issue, the LaTeX \title command takes an optional short >> title, which is what is actually displayed in the footer/header mentioned >> above. >> >> For example, my presentation has a title >> >> #+TITLE: Multidimensional Simulations of Convection Preceding Type I >> X-ray Bursts >> >> which is way too long for the small space allocated to the title in the >> footer/header. It would be nice if, in org-mode, one could specify >> >> #+TITLE: Multidimensional Simulations of Convection Preceding Type I >> X-ray Bursts >> #+SHORT_TITLE: XRBs in Multi-d >> >> which then is exported as >> >> \title[XRBs in Multi-d]{Multidimensional Simulations of Convection >> Preceding Type I X-ray Bursts} >> >> >> >> Maybe this is already do-able through some other means within org-mode >> without having to modify the .tex file? >> >> Chris >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > --00032557563a6a1f2d049920895e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Tom,

I didn't want to do this to start with because I didn= 9;t think LaTeX would be happy with overriding the title - it turns out it = doesn't mind, so thanks for pointing that out!=A0

The problem w= ith your suggestion is that the overriding doesn't take place (by defau= lt) until after the \maketitle command.=A0 This has the effect of not setti= ng the short title on the title slide (it really shouldn't be there any= way) or the table of contents slide.=A0 I just found a way around this by e= xploiting the fact that the BEAMER_HEADER_EXTRA lines are exported /after/ = the \title command is exported.=A0 In other words, including the line

#+BEAMER_HEADER_EXTRA: \title[XRBs in Multi-d]{Multidimensional Simulat= ions of Convection Preceding Type I X-ray Bursts}

overrides the titl= e and performs as I want.=A0

Chris

On Wed, Jan 5, 2011 at 4:43 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
Aloha Chris,

Perhaps this will work:

#+begin_latex

\title[XRBs in Multi-d]{Multidimensional Simulations of Convection Precedin= g Type I X-ray Bursts}
#+end_latex

hth,
Tom


On Jan 5, 2011, at 11:19 AM, Chris Malone wrote:

=
Hi,

Is there an org-mode way to use a short title for export to beamer?

Some of the beamer templates (or manual setting) show the title of the talk= in a footer or header, but the box-size is often too small. =A0To counter-= act this issue, the LaTeX \title command takes an optional short title, whi= ch is what is actually displayed in the footer/header mentioned above.

For example, my presentation has a title

#+TITLE: =A0 =A0 Multidimensional Simulations of Convection Preceding Type = I X-ray Bursts

which is way too long for the small space allocated to the title in the foo= ter/header. =A0It would be nice if, in org-mode, one could specify

#+TITLE: =A0 =A0 Multidimensional Simulations of Convection Preceding Type = I X-ray Bursts
#+SHORT_TITLE: XRBs in Multi-d

which then is exported as

\title[XRBs in Multi-d]{Multidimensional Simulations of Convection Precedin= g Type I X-ray Bursts}



Maybe this is already do-able through some other means within org-mode with= out having to modify the .tex file?

Chris
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


--00032557563a6a1f2d049920895e-- --===============0055974002== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0055974002==--