Re: [preview.sty] Need some *hints* in creating an image of an equation



On Thu, 06 Nov 2008 15:11:32 +0100, David Kastrup <dak@xxxxxxx> wrote:

Of course, I say "properly" in the Pooh sense. It is properly
TeX-wise, but not in "mine". It is somewhat obvious that I'm asking
for a way to trick it into doing it "properly" in the sense *I* mean:
so is there one?

Is there a reason you snipped the part about using \displaystyle in a
non-displayed equation from your reply?

So... did I get it right? I doubted it! ;)

ATM I've been using straight out of the docs[1]

gs -sDEVICE=png16m -dTextAlphaBits=4 -r300 -dGraphicsAlphaBits=4\
-dSAFER -q -dNOPAUSE -sOutputFile=minimal%d.png minimal.ps
[cut]
Pick an appropriate setting of -r rather than -r300.

In the end, I actually did it exactly like that: at 300 the image
rendered at 1122 pixels, thus to obtain the one at ~500 I needed, I
used -r133. Alternatively I tried with a very high resolution then
resampling exactly at 500 pixels in GIMP with bicubic interpolation.
But eventually I liked the former most, from a visual POV.

I don't have any fish I could hand you. In my book, it is not useful to
scale a set of equations with tight fit to your screen width since then
the font size of every equation will be different, and will not match
anywhere usefully with the rest of the page.

But it was a una tantum thingie, with a "set of a equations"
consisting of exactly ONE equation, for my blog, and a "funny" thing
too. (For some definition of fun, of course: YMMV...)

So it is a very peculiar fish you are trying to catch, and I don't know
anybody who would have bothered to do the same.

Well, there's some degree of satisfaction in being "the only one," I
must say!


Michele
--
It's because the universe was programmed in C++.
No, no, it was programmed in Forth. See Genesis 1:12:
"And the earth brought Forth ..."
- Robert Israel in sci.math, thread "Why numbers?"
.



Relevant Pages

  • Re: image dump of hidden X session
    ... That is in fact the reason. ... I found that when X was not the active VC, grabing the screenshot ... the cases I tried counting the rows of pixels. ... Kasper Dupont -- der bruger for meget tid paa usenet. ...
    (comp.os.linux.x)
  • Re: image dump of hidden X session
    ... That is in fact the reason. ... I found that when X was not the active VC, grabing the screenshot ... the cases I tried counting the rows of pixels. ... Kasper Dupont -- der bruger for meget tid paa usenet. ...
    (comp.os.linux.development.apps)
  • Re: image dump of hidden X session
    ... That is in fact the reason. ... I found that when X was not the active VC, grabing the screenshot ... the cases I tried counting the rows of pixels. ... Kasper Dupont -- der bruger for meget tid paa usenet. ...
    (comp.os.linux.development.system)
  • Re: find largest cluster?
    ... I'm actually trying to implement "majority voting" on corresponding ... pixels of a stack of aligned photographs. ... Do you have any particular reason to believe this approach will work ... any better than median filtering the pixel values that you have for ...
    (sci.image.processing)
  • Re: UL List. Is this possible?
    ... Scripsit shapper: ... And now you know one reason why that was wrong. ... is marked up as a list with two items, the first one consisting of an image only and the second one consisting of three pieces of text? ... window narrower than 400 pixels, and you "need" to restrict the width to 400 pixels, no matter what the font size is. ...
    (comp.infosystems.www.authoring.stylesheets)