emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Wholesale changes to LaTeX headers
Date: Wed, 01 Jan 2020 06:18:22 +1100	[thread overview]
Message-ID: <87fth09udd.fsf@gmail.com> (raw)
In-Reply-To: <m25zhw4i31.fsf@nwalsh.com>


Norman Walsh <ndw@nwalsh.com> writes:

If you want these changes globally, I would start with the
org-latex-classes variable. There is a lot you can do by tweaking the
values in this variable. I found the documentation to be good, but dense
(i.e. a lot to it, needing a git to digest fully). The docs for that
variable will also point you to other variables you can tweak to do what
you want.

If you just want to tweak for specific files, #+LATEX_HEADER and
#+LATEX_HEADER_EXTRA might be sufficient. I find these a good place to
experiment with different settings. If they prove more widely useful, I
will transfer/translate them into the other org-latex variables.

Finally, doing an M-x apropos for org-latex-.* will likely bring up some
additional variables which my be of interest/use.

Tim

> Hi,
>
> I want to make wholesale changes to the LaTeX preamble exported from
> Org mode. I want to put \RequirePackage and \PassOptionsToPackage
> calls before the \documentclass, I want to write a specific set of
> macros after the \documentclass, I want to craft a couple of
> \renewcommands, etc.
>
> Where should I begin?
>
>                                         Be seeing you,
>                                           norm


--
Tim Cross

      parent reply	other threads:[~2019-12-31 19:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-31 15:42 Wholesale changes to LaTeX headers Norman Walsh
2019-12-31 18:55 ` Berry, Charles
2019-12-31 19:18 ` Tim Cross [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=87fth09udd.fsf@gmail.com \
    --to=theophilusx@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).