From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: latex header lines vs latex block Date: Tue, 09 Sep 2014 13:30:30 +0200 Message-ID: <86tx4h3uax.fsf@somewhere.org> References: <87tx4hyqyl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Thorsten Jolitz wrote: > Hi List,=20 > > I often see many lines like this if Org files: > > ,---- > | #+LaTeX_CLASS: koma-book > | #+LaTeX_HEADER: \usepackage[utf8]{inputenc} > | #+LaTeX_HEADER: \usepackage[T1]{fontenc}=20 > | #+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=20 > > #+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: =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 I suggest to use existing solutions instead: configure =E2=94=82 `org-latex-classes'. =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Best regards, Seb --=20 Sebastien Vauban