emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] empty LaTeX export template


From: Eric S Fraga
Subject: Re: [O] empty LaTeX export template
Date: Thu, 13 Jun 2013 08:57:49 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Andreas Leha <address@hidden> writes:

> [...]
> To use this I do:
> #+OPTIONS: toc:nil author:nil skip:nil
> #+LATEX_CLASS: bare
> #+LATEX_HEADER: % everything from the template
>
> One problem remains, though:  orgmode keeps messing with the title.
> [...]
> So, my follow-up question is:  How can I get orgmode to not fiddle with
> the title in a LaTeX export?

A simple hack is to redefine \title in the header, noting that the
exporter puts the title specification *after* all the latex_header lines
in the latex file.  

In one case, I needed the title to be right at the top of the page so I
did the following:

#+latex_header: \title{\vspace*{-1.5cm}Workplan}\renewcommand{\title}[1]{}

Note that the title command is redefined to do nothing.

HTH,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.3-193-g334581




reply via email to

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