From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: modify the org-format-latex-header include matlab-prettifier and its complicated options Date: Sun, 02 Oct 2016 11:06:55 +0200 Message-ID: <87y427unkg.fsf@nicolasgoaziou.fr> References: <87h98v5dmc.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqcjc-0004vn-Lu for emacs-orgmode@gnu.org; Sun, 02 Oct 2016 05:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqcjY-0008HN-Aa for emacs-orgmode@gnu.org; Sun, 02 Oct 2016 05:06:59 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:56528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqcjY-0008HI-4A for emacs-orgmode@gnu.org; Sun, 02 Oct 2016 05:06:56 -0400 Received: from saiph (unknown [IPv6:2a03:a0a0:0:4301::b3c]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 01587A80CB for ; Sun, 2 Oct 2016 11:06:53 +0200 (CEST) In-Reply-To: <87h98v5dmc.fsf@mat.ucm.es> (Uwe Brauer's message of "Sun, 02 Oct 2016 09:00:59 +0000") 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: emacs-orgmode@gnu.org Hello, Uwe Brauer writes: > Hi I would like to have the following header when exporting from org to > latex. > > \usepackage[numbered,framed]{matlab-prettifier} > \let\ph\mlplaceholder > \lstset{ > style = Matlab-editor, > basicstyle = \mlttfamily, > escapechar = ", > mlshowsectionrules = true, > mathescape=true, > morecomment=[s]{\%\{}{\%\}}, > } > > (This is and enhancement of the listing package) > > So I boldly set > > > (defcustom org-format-latex-header "\\documentclass{article} You probably want to customize `org-latex-classes' instead. Regards, -- Nicolas Goaziou