> But I wanted to ask first if anyone knows how to generate previews without 
> surrounding whitespace (in the current preview code) with 
> preview-image-creator set to png or dvipng.
> This seems to be the default for inline equations and when I use dvisvgm, but 
> not for display equations or floats with dvips, dvipng or even gs.

If it suffices to get rid of the white space on the left, you could add

--8<---------------cut here---------------start------------->8---
\usepackage{nccmath}
\everydisplay{\fleqn}
--8<---------------cut here---------------end--------------->8---

to the preamble.  I don't know how to do this programmatically with the
current preview.el, but one could add a defvar "preview-extra-preamble"
to preview.el, specifying a string to be added to the preview preamble.

Reply via email to