From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Latex export: setting options for packages included by default Date: Thu, 23 Jan 2020 16:13:46 +0200 Message-ID: <87ftg6xntx.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58028) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iudFA-00047R-3q for emacs-orgmode@gnu.org; Thu, 23 Jan 2020 09:14:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iudF6-0004Gs-Oj for emacs-orgmode@gnu.org; Thu, 23 Jan 2020 09:13:57 -0500 Received: from ciao.gmane.io ([159.69.161.202]:59298) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iudF4-0004E0-O0 for emacs-orgmode@gnu.org; Thu, 23 Jan 2020 09:13:54 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1iudF1-000147-GQ for emacs-orgmode@gnu.org; Thu, 23 Jan 2020 15:13:51 +0100 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Greetings. When I export to Latex, org automatically creates the following line in preamble: \usepackage{color} I would like to find a way to pass option [monochrome] to this package. Adding another \usepackage creates a conflict. My preferred way would be to add the line \PassOptionsToPackage{monochrome}{color} to the preamble before \usepackage. 1. Is there a way to do this (easily) in Org? I think it is possible to redefine the preamble template, but that would be an overkill. 2. If there is no direct option for this, could we have one? Like #+latex_header but which would be applied before any packages are loaded? Jarmo