From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: configure latex fragments preview Date: Mon, 14 Sep 2009 19:49:07 +0200 Message-ID: <87d45tbeng.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MnFfv-0001n6-6h for emacs-orgmode@gnu.org; Mon, 14 Sep 2009 13:49:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MnFfu-0001mp-I5 for emacs-orgmode@gnu.org; Mon, 14 Sep 2009 13:49:14 -0400 Received: from [199.232.76.173] (port=53490 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MnFfu-0001mi-Cs for emacs-orgmode@gnu.org; Mon, 14 Sep 2009 13:49:14 -0400 Received: from smtp22.services.sfr.fr ([93.17.128.11]:29405) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MnFft-0005L1-Tu for emacs-orgmode@gnu.org; Mon, 14 Sep 2009 13:49:14 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode list Hello, This is some minor annoyance, but I would like to find a solution for it anyway. The preview image of a latex fragment produced by C-c C-x C-l is so small that I sometimes find it hard to read. In order to solve that situation, I modified org-format-latex-header so that the template for the preview starts with \documentclass[17pt]{extarticle}. Though, I find it not quite satisfying as there is little control on that size (I would like it to be a bit less than 17pt). Thus my question (eventually) : is it possible to play with dvipng options like scale or dpi directly, without modifying org.el ? And if it doesn't exist, could a variable be introduced to fine-tune it ? As a last note, I think there is a Latex only way to solve all of this, but I wouldn't like to depends on too much latex packages or tricks. Regards, -- Nicolas Goaziou