From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to get LATEX_HEADER items to appear *after* default packages?
Date: Tue, 10 Mar 2015 16:02:40 -0400 [thread overview]
Message-ID: <87ioe8k4db.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 56FD8AF0-A49B-4F01-921E-76C656257E1B@haas.berkeley.edu
Richard Stanton <stanton@haas.berkeley.edu> writes:
> When I export an org file to LaTeX using the class rhs-article, defined as follows:
>
> ‘("rhs-article"
> "\\documentclass{article}
> \\usepackage[top=1in, bottom=1.in, left=1in, right=1in]{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?
>
See the doc for org-latex-classes, in particular
the section entitled "The header string".
Nick
prev parent reply other threads:[~2015-03-10 20:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 19:31 How to get LATEX_HEADER items to appear *after* default packages? Richard Stanton
2015-03-10 20:02 ` Nick Dokos [this message]
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=87ioe8k4db.fsf@alphaville.usersys.redhat.com \
--to=ndokos@gmail.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).