From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [beamer] Order in preamble Date: Thu, 7 Jan 2010 14:15:37 +0100 Message-ID: <2560E617-9D06-4353-B97E-437B08E1D48C@gmail.com> References: <871vi3bm62.fsf@mundaneum.com> <87k4vunocv.fsf@mundaneum.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSsDJ-0003Dy-QU for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 08:15:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSsDF-00036l-1D for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 08:15:45 -0500 Received: from [199.232.76.173] (port=57812 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSsDE-00036Y-Sk for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 08:15:40 -0500 Received: from ey-out-1920.google.com ([74.125.78.144]:42052) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSsDE-0004yb-Gz for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 08:15:40 -0500 Received: by ey-out-1920.google.com with SMTP id 4so2709560eyg.34 for ; Thu, 07 Jan 2010 05:15:38 -0800 (PST) In-Reply-To: <87k4vunocv.fsf@mundaneum.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: =?ISO-8859-1?Q?S=E9bastien_Vauban?= Cc: emacs-orgmode@gnu.org On Jan 7, 2010, at 12:30 PM, S=E9bastien Vauban wrote: > Hi Carsten, > > Another suggestion. I think the order of macros would be better =20 > 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 =20= > default > author or title) that won't take precedence over the *document =20 > settings*. > > Best regards, > Seb > > --=20 > S=E9bastien Vauban > > > > _______________________________________________ > 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 - Carsten