From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Baier Subject: Re: [Latex Export] Influence placement of \maketitle command Date: Wed, 14 May 2014 23:28:53 +0200 Message-ID: <87d2fgvylm.fsf@mailbox.org> References: <87tx8sw72f.fsf@mailbox.org> <874n0snq0p.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkgkj-0002my-Pw for emacs-orgmode@gnu.org; Wed, 14 May 2014 17:30:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wkgkd-0005so-Ie for emacs-orgmode@gnu.org; Wed, 14 May 2014 17:30:17 -0400 Received: from mx2.mailbox.org ([80.241.60.215]:59360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkgkd-0005sD-9A for emacs-orgmode@gnu.org; Wed, 14 May 2014 17:30:11 -0400 In-Reply-To: <874n0snq0p.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Wed, 14 May 2014 15:01:26 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org On 2014-05-14 21:01 Nick Dokos wrote: > Alexander Baier writes: > >> Hello, >> >> I am writing a paper using llncs as the document class. I use the >> =\institute= command which has to be placed _above_ the =\maketitle= >> command to be considered. But exporting my document always yields a >> latex file where =\maketitle= appears above =\institute=. I use >> simple #+LATEX: directives to insert =\institute=. >> >> Is there a way for me to influence the placement of =\maketitle= and >> thus be able to order those commands "the right way"? >> >> TIA for any pointers, > > If \institute can be placed in the preamble, then using #+LATEX_HEADER > instead of #+LATEX is probably the way to go. Of course! Somehow I totally forgot about the LATEX_HEADER directive. With this, everything works fine! > If it has to be in the document body, one way to do it is to redefine > the variable org-latex-title-command in a file-local-variable section > added to the end of your file: > > # Local Variables: > # org-latex-title-command: "\\institute{Foo}\\maketitle" > # End: Oh, the title-command is a variable, that is nice. Thank you very much, -- Alexander Baier