emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Insert #+BEAMER_HEADER_EXTRA before \begin{document}?
Date: Thu, 08 May 2014 15:38:21 +0200	[thread overview]
Message-ID: <86a9asie5u.fsf@somewhere.org> (raw)
In-Reply-To: 20140508013829.GC2785@chitra.no-ip.org

Suvayu Ali wrote:
> On Wed, May 07, 2014 at 07:26:26PM -0400, Nick Dokos wrote:
>> Suvayu Ali <fatkasuvayu+linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>>> On Wed, May 07, 2014 at 09:01:39PM +0200, Sebastien Vauban wrote:
>>>
>>>> To insert a short title for a Beamer presentation, you can glean
>>>> the following answers on the Web:
>>>> 
>>>> - Using `#+BEAMER_HEADER_EXTRA' which -is- +was+ exported /after/ the
>>>>   `\title' command.
>>>
>>> I use this:
>>>
>>>   #+LATEX_HEADER: \subtitle{Some subtitle}
>>
>> Are you sure it worked with beamer? AFAICT, it just adds a subtitle
>> to the title slide, nothing more. In particular, beamer does not seem
>> to use it for the purpose that Seb wants it: a (limited-length) marker
>> on each slide.
>
> You are right.  I misunderstood Seb's question.  :-p

Yes.

> I think I looked into this sometime back and I don't think there was a
> nice resolution (as evidenced by Seb's links).  That said, I vaguely
> recall a discussion on this 1 and half to 2 years back (that would be
> the old exporter of course).  I think supporting this as a feature was
> bypassed since this is very much LaTeX specific.

While I think that LaTeX should be treated as a first-class backend (and
not just 1 out of 10 or so), I'm not asking for something new to be
added: just that #+BEAMER_HEADER is inserted before
the \begin{document} -- hence *after* things like \title, \author, \date,
and \usetheme.

Right now, in an Org Beamer document, we can add specific code via
3 different types of call (with example data):

- #+LaTeX_HEADER:       \institute[short name]{Full name}
- #+LaTeX_HEADER_EXTRA: \usepackage{lxfonts}
- #+BEAMER_HEADER:      \setbeamercolor{structure}{fg=craneblue}

If we simply allow the placeholder for #+BEAMER_HEADER to be somewhere
else (right before \begin{document}) than where it currently is, it will
allow one to:

- add a short title of the document for the footer
- add a short author name for the footer (see AnnArbor)
- add a short date version (for example, "May 2014" instead of the full
  "8 May 2014")
- customize some colors of the Beamer themes
- and many other things...

The above things are currently (almost, for some) impossible.  Changing
where the #+BEAMER_HEADER placeholder gets inserted makes them possible
and easy.

Best regards,
  Seb

-- 
Sebastien Vauban

  reply	other threads:[~2014-05-08 13:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 19:01 Insert #+BEAMER_HEADER_EXTRA before \begin{document}? Sebastien Vauban
2014-05-07 22:24 ` Suvayu Ali
2014-05-07 23:26   ` Nick Dokos
2014-05-08  1:38     ` Suvayu Ali
2014-05-08 13:38       ` Sebastien Vauban [this message]
2014-05-08 14:49         ` Suvayu Ali
2014-05-08 15:37         ` Eric S Fraga
2014-05-08 19:55           ` Andreas Leha
     [not found]           ` <87eh04703g.fsf-hclig2XLE9Zaa/9Udqfwiw@public.gmane.org>
2014-05-21 17:59             ` Sebastien Vauban
2014-06-15 20:10               ` Nicolas Goaziou
     [not found]                 ` <871tuqndck.fsf-Gpy5sJQTEQHwkn9pgDnJRVAUjnlXr6A1@public.gmane.org>
2014-06-16 13:42                   ` Sebastien Vauban
2014-06-16 14:37                     ` Nick Dokos

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=86a9asie5u.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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 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).