From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: [beamer] Order in preamble Date: Thu, 07 Jan 2010 12:30:56 +0100 Message-ID: <87k4vunocv.fsf@mundaneum.com> References: <871vi3bm62.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Carsten, Another suggestion. I think the order of macros would be better changed in = the beamer preamble. 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 --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode