emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Rasmus
Subject: Re: [O] #+LATEX_HEADER:\newcommand{\orgtitle}{{{{TITLE}}}}
Date: Wed, 19 Mar 2014 11:30:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eric S Fraga <address@hidden> writes:

> 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.

I've used this snip to recover such fields

\makeatletter
address@hidden
address@hidden
address@hidden
\makeatother


Obviously, this is only good for LaTeX. 

-- 
There are known knowns; there are things we know that we know




reply via email to

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