[Top][All Lists]

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

Re: [O] #+LATEX_HEADER:\newcommand{\orgtitle}{{{{TITLE}}}}

From: Eric S Fraga
Subject: Re: [O] #+LATEX_HEADER:\newcommand{\orgtitle}{{{{TITLE}}}}
Date: Wed, 19 Mar 2014 08:34:54 +0000
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux)

Luke Crook <address@hidden> writes:

> I tried creating a custom class and then tried creating a custom style.  But 
> I found the easiest to be the following;
> #+AUTHOR: <author>
> #+LATEX_HEADER: \newcommand{\orgauthor}{<author>}


> Works very well, apart from the duplication of author, email, date etc.

You could always use the new command in the org directive, assuming you
only use LaTeX export:

#+LATEX_HEADER: \newcommand{\orgauthor}{<author>}
#+AUTHOR: \orgauthor

This would avoid duplication.
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.5h-660-gef207f

reply via email to

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