I am wondering whether anyone knows a easy way to convert a latex math formula to a big jpeg file?
Here is the latex math formula:
\[
\lim_{u\rightarrow 0_+} \int_0^u \ud s \int_{-\infty}^\infty
\frac{f(u-s,x-y)}{\sqrt{2\pi
s}} \exp\left\{-\frac{y^2}{2s}\right\} \ud y
\]
Thanks!
This isn’t really programming related at all, but here’s a way to do this:
standalonein your LaTeX source file. This will produce a document that is exactly as large as needed, and no larger.pdflatex…convert(from ImageMagick).Minimal example:
convertwith appropriate resolution:Caveat:
standalonehas some issues determining the size of the document. I don’t actually like the results it produces. You may require loading thegeometrypackage and setting the document dimensions manually. This requires a bit of fiddling but the results are much better.