[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] latex header lines vs latex block
From: |
Sebastien Vauban |
Subject: |
Re: [O] latex header lines vs latex block |
Date: |
Tue, 09 Sep 2014 13:30:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) |
Thorsten Jolitz wrote:
> Hi List,
>
> I often see many lines like this if Org files:
>
> ,----
> | #+LaTeX_CLASS: koma-book
> | #+LaTeX_HEADER: \usepackage[utf8]{inputenc}
> | #+LaTeX_HEADER: \usepackage[T1]{fontenc}
> | #+LaTeX_HEADER: \usepackage{palatino}
> | #+LaTeX_HEADER: \bibliographystyle{alpha}
> | #+LaTeX_HEADER: \bibliography{../bandbook.bib}
> | #+LaTeX_HEADER: \usepackage{fixltx2e}
> | #+LaTeX_HEADER: \usepackage{graphicx} [...]
> `----
>
> would it be the same to just put a
>
> #+BEGIN_LATEX
> ... latex-header code ...
> #+END_LATEX
>
> instead of many header lines?
No, that would NOT go in the LaTeX "header" part (that is, the
preamble).
See http://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg00744.html
for Nicolas' answer on this point:
╭────
│ I suggest to use existing solutions instead: configure
│ `org-latex-classes'.
╰────
Best regards,
Seb
--
Sebastien Vauban