From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: org-preview-latex-fragment on Retina display? Date: Tue, 2 Jun 2015 08:41:25 +0100 Message-ID: <87zj4i36ca.fsf@delle7240.chemeng.ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzgww-0004o4-Dj for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 03:49:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yzgwt-0003Bz-7j for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 03:49:26 -0400 Received: from mail-am1on0110.outbound.protection.outlook.com ([157.56.112.110]:35024 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzgws-0003BB-Vk for emacs-orgmode@gnu.org; Tue, 02 Jun 2015 03:49:23 -0400 In-Reply-To: (Adam Sneller's message of "Fri, 29 May 2015 21:45:27 +0200") 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: Adam Sneller Cc: emacs-orgmode@gnu.org On Friday, 29 May 2015 at 21:45, Adam Sneller wrote: > Recently, I upgraded to a macbook pro with retina display, and now all > my latex previews in org-mode are... fuzzy. These are generated with > org-preview-latex-fragment command, using dvipng. > > Is there a setting I can change to up-res these? Maybe something in org.el? Maybe have a look at ,----[ C-h v org-format-latex-options RET ] | org-format-latex-options is a variable defined in `org.el'. | Its value is (:foreground default :background default :scale 1.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers | ("begin" "$1" "$" "$$" "\\(" "\\[")) | | | Documentation: | Options for creating images from LaTeX fragments. | This is a property list with the following properties: | :foreground the foreground color for images embedded in Emacs, e.g. "Black". | `default' means use the foreground of the default face. | `auto' means use the foreground from the text face. | :background the background color, or "Transparent". | `default' means use the background of the default face. | `auto' means use the background from the text face. | :scale a scaling factor for the size of the images, to get more pixels | :html-foreground, :html-background, :html-scale | the same numbers for HTML export. | :matchers a list indicating which matchers should be used to | find LaTeX fragments. Valid members of this list are: | "begin" find environments | "$1" find single characters surrounded by $.$ | "$" find math expressions surrounded by $...$ | "$$" find math expressions surrounded by $$....$$ | "\(" find math expressions surrounded by \(...\) | "\[" find math expressions surrounded by \[...\] | | You can customize this variable. | | [back] `---- The :scale option may be what you want. I have used this in the past with a value of 3 for creating org based slides for presentations with LaTeX fragments. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1195-g1a7364