From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: Wholesale changes to LaTeX headers Date: Tue, 31 Dec 2019 18:55:36 +0000 Message-ID: <9464DFCB-8715-4D3A-8C48-020FE2A846DD@ucsd.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51249) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imMgQ-0004bi-IJ for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 13:56:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imMgP-0005Th-5R for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 13:55:58 -0500 Received: from mx0b-00395d01.pphosted.com ([148.163.137.170]:32872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1imMgO-0005KW-L9 for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 13:55:57 -0500 In-Reply-To: Content-Language: en-US Content-ID: 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" To: Norman Walsh Cc: "emacs-orgmode@gnu.org" > On Dec 31, 2019, at 7:42 AM, Norman Walsh wrote: >=20 > Hi, >=20 > 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. >=20 > Where should I begin? Execute this src block: #+begin_src emacs-lisp :results none (info "(org) LaTeX header and sectioning") (describe-variable 'org-latex-classes) #+end_src Browse the *info* buffer and study the *Help* buffer. Then type `M-x customize-variable RET org-latex-classes RET` and add your custom class or modify an existing class to your liking. HTH, Chuck