From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stanton Subject: How to get LATEX_HEADER items to appear *after* default packages? Date: Tue, 10 Mar 2015 12:31:38 -0700 Message-ID: <56FD8AF0-A49B-4F01-921E-76C656257E1B@haas.berkeley.edu> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVPsa-0004gk-K2 for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 15:31:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVPsW-0005TQ-Hx for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 15:31:48 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:34758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVPsW-0005SB-Ce for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 15:31:44 -0400 Received: by pdno5 with SMTP id o5so4689770pdn.1 for ; Tue, 10 Mar 2015 12:31:41 -0700 (PDT) Received: from [10.0.1.2] (mortgage.Haas.Berkeley.EDU. [128.32.75.82]) by mx.google.com with ESMTPSA id se2sm2282896pac.38.2015.03.10.12.31.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Mar 2015 12:31:40 -0700 (PDT) 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org When I export an org file to LaTeX using the class rhs-article, defined = as follows: =E2=80=98("rhs-article" =20 "\\documentclass{article} \\usepackage[top=3D1in, bottom=3D1.in, left=3D1in, right=3D1in]{geometry} [PACKAGES] [EXTRA]" ;;header-string ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*a{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) I see that my headers defined using #+LATEX_HEADER appear in the = resulting LaTeX file before the default packages defined in = org-latex-default-packages-alist. How can I get the default packages to = appear BEFORE the LATEX_HEADER items? Or better yet, how can I control = things so that I can choose whether a LATEX_HEADER item appears before = or after the default packages in the LaTeX file? Thanks for any suggestions. Richard Stanton=