emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-preview-latex-fragment on Retina display?
@ 2015-05-29 19:45 Adam Sneller
  2015-05-29 21:07 ` Nick Dokos
  2015-06-02  7:41 ` Eric S Fraga
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Sneller @ 2015-05-29 19:45 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

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?

Thanks,

-Adam

[-- Attachment #2: Type: text/html, Size: 705 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-preview-latex-fragment on Retina display?
  2015-05-29 19:45 org-preview-latex-fragment on Retina display? Adam Sneller
@ 2015-05-29 21:07 ` Nick Dokos
  2015-06-02  7:41 ` Eric S Fraga
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Dokos @ 2015-05-29 21:07 UTC (permalink / raw)
  To: emacs-orgmode

Adam Sneller <adam@earth2adam.com> writes:

> 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.
>

What happens if you produce a PDF document from LaTeX? Is it fuzzy?
What happens if you use ImageMagick instead of dvipng?

> Is there a setting I can change to up-res these? Maybe something in org.el?
>

Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-preview-latex-fragment on Retina display?
  2015-05-29 19:45 org-preview-latex-fragment on Retina display? Adam Sneller
  2015-05-29 21:07 ` Nick Dokos
@ 2015-06-02  7:41 ` Eric S Fraga
  1 sibling, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2015-06-02  7:41 UTC (permalink / raw)
  To: Adam Sneller; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-02  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-29 19:45 org-preview-latex-fragment on Retina display? Adam Sneller
2015-05-29 21:07 ` Nick Dokos
2015-06-02  7:41 ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).