emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Andreas Leha <andreas.leha@med.uni-goettingen.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: empty LaTeX export template
Date: Thu, 13 Jun 2013 08:57:49 +0100	[thread overview]
Message-ID: <878v2ea1du.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87k3m0ztqn.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Tue, 11 Jun 2013 15:01:36 +0200")

Andreas Leha <andreas.leha@med.uni-goettingen.de> 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	other threads:[~2013-06-13  9:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11  9:31 empty LaTeX export template Andreas Leha
2013-06-11 12:14 ` Suvayu Ali
2013-06-11 13:01   ` Andreas Leha
2013-06-13  7:57     ` Eric S Fraga [this message]
2013-06-13 13:47       ` Rasmus
2013-06-13 16:10         ` Andreas Leha
2013-06-13 18:16           ` Rasmus
2013-06-13 20:58             ` Andreas Leha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878v2ea1du.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).