From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Fwd: Is `org-preview-latex-fragment` sensitive to alignment specified by document class options? Date: Thu, 10 Apr 2014 09:23:01 +0100 Message-ID: <87r455ioey.fsf@ucl.ac.uk> References: <87mwfus9j8.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYAGT-0004Zg-QT for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 04:23:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WYAGL-00039l-1B for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 04:23:17 -0400 Received: from mail-db3lp0077.outbound.protection.outlook.com ([213.199.154.77]:41796 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYAGK-00039Z-Ol for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 04:23:08 -0400 In-Reply-To: <87mwfus9j8.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Wed, 9 Apr 2014 13:22:03 -0400") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I am not sure if this is related but if you look at the description of org-latex-packages-alist below, you'll see a comment about the third argument, SNIPPET-FLAG. This may be what you need although it won't help with document class options. ,----[ C-h v org-latex-packages-alist RET ] | org-latex-packages-alist is a variable defined in `org.el'. | Its value is (("" "xcolor") | ("" "tikz") | ("" "listings") | ("version=3" "mhchem") | ("" "amsmath" t)) | | Original value was nil | | Documentation: | Alist of packages to be inserted in every LaTeX header. | | These will be inserted after `org-latex-default-packages-alist'. | Each element is either a cell or a string. | | A cell is of the format: | | ("options" "package" SNIPPET-FLAG) | | SNIPPET-FLAG, when non-nil, indicates that this package is also | needed when turning LaTeX snippets into images for inclusion into | non-LaTeX output. | | A string will be inserted as-is in the header of the document. | | Make sure that you only list packages here which: | | - you want in every file; | - do not conflict with the setup in `org-format-latex-header'; | - do not conflict with the default packages in | `org-latex-default-packages-alist'. | | You can customize this variable. | | [back] `---- -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.5h-888-g798bb8