From: Manuel Batsching <flammschild@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: latex-export custom header?
Date: Tue, 12 Jun 2012 20:49:48 +0200 [thread overview]
Message-ID: <CAAVcve8h_LJqR7fkWTN+1PzmVFftiNJ92Adh3YX621aJJEajHA@mail.gmail.com> (raw)
In-Reply-To: <20120612175622.22c45bdb@gmail.com>
On a per file basis, you can add extra lines to your LaTeX export
header by using "#+LATEX_HEADER: ".
(See: http://orgmode.org/org.html#Export-options)
To get your custom commands also to work with the preview of LaTeX
fragments, you may customise the "org-format-latex-header" variable.
Actually I don't know if there is a way to add something to
"org-format-latex-header" on a per-file basis... Is there?
Cheers,
Manuel
2012/6/12 renato <rennabh@gmail.com>:
> Hi, I'm really enjoying the org-mode + cdlatex combo. One question
> though, how can I customize the latex header produced by
> org-export-as-latex ? I really need to add some \newcommand and
> \newtheorem statements.
>
> best wishes,
> renato
>
next prev parent reply other threads:[~2012-06-12 18:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-12 15:56 latex-export custom header? renato
2012-06-12 18:39 ` Sebastien Vauban
2012-06-12 18:49 ` Manuel Batsching [this message]
2012-06-13 13:24 ` renato
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=CAAVcve8h_LJqR7fkWTN+1PzmVFftiNJ92Adh3YX621aJJEajHA@mail.gmail.com \
--to=flammschild@googlemail.com \
--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).