emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] BEGIN_LATEX_HEADER [cont]


From: Nicolas Goaziou
Subject: Re: [O] BEGIN_LATEX_HEADER [cont]
Date: Fri, 20 Jun 2014 14:11:43 +0200


Hello,

Ken Mankoff <address@hidden> writes:

> On 2014-06-20 at 04:50, Nicolas Goaziou wrote:
>> I suggest to use existing solutions instead: configure
>> `org-latex-classes'.
>
> I'm all for using existing solutions, but cannot see how I might use
> this to easily customize export differently for different documents when
> large amounts of LaTeX preamble code is being used.

It's quite simple. You add your large amount of LaTeX preamble code in
a new class, e.g., "my-class", in `org-latex-classes'. Then, in all
documents needing this preamble code, you just add:

 #+latex_class: my-class

Rinse and repeat for each document type.


Regards,

-- 
Nicolas Goaziou




reply via email to

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