emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [beamer] Order in preamble


From: Carsten Dominik
Subject: Re: [Orgmode] [beamer] Order in preamble
Date: Thu, 7 Jan 2010 14:15:37 +0100


On Jan 7, 2010, at 12:30 PM, Sébastien Vauban wrote:

Hi Carsten,

Another suggestion. I think the order of macros would be better changed in the
beamer preamble.

OK, I have implemented that.  Please test it.

Thanks.

- Carsten


Instead of:

--8<---------------cut here---------------start------------->8---
\usepackage{listings}


\title{Inventory}
\author{Seb Vauban}
\date{2010-01-07}

\usetheme{mc}\usecolortheme{default}
\begin{document}
--8<---------------cut here---------------end--------------->8---

I think the following is better suited:

--8<---------------cut here---------------start------------->8---
\usepackage{listings}

\usetheme{mc}\usecolortheme{default}

\title{Inventory}
\author{Seb Vauban}
\date{2010-01-07}

\begin{document}
--8<---------------cut here---------------end--------------->8---

The reason is that the natural order of packages loaded is:

- the beamer class
- the beamer theme overrides
- the document overrides

That allows one to write a private theme, and set things up (like a default author or title) that won't take precedence over the *document settings*.

Best regards,
 Seb

--
Sébastien Vauban



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

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]