4
$\begingroup$

I have equations written in my notebooks as text (the cells set as Format -> Style -> Text). When exporting the notebook to HTML (File -> Save As.. -> HTML) with the GIF option (the default) an HTML file is produced along with folders: HTMLFiles and HTMLLinks. The HTMLFiles folder contains GIF images of the equations in the text, but they are very low resolution / quality. Is there a way to make Export set them to a higher resolution?

motivation: to write equations in Mathematica (it is nice to write in) and output the equations as images to use in a presentation.

I have tried: SetOptions[Image, ImageSize -> 5000]; SetOptions[Image, ImageResolution -> 5000]; SetOptions[Graphics, ImageSize -> 5000]; SetOptions[Rasterize, RasterSize -> 1000];

With no luck.

Thanks,

$\endgroup$
  • $\begingroup$ Does changing menu setting File > Printing Settings > Printing Environment to Working help? $\endgroup$ – Mr.Wizard Sep 7 '15 at 20:39
4
$\begingroup$

Ok well I found an obvious way to do it.. simply make the font bigger. The exported image scales up with the font size. Can Edit Stylesheet.. to change the size of the body font for the whole workbook.

$\endgroup$
  • $\begingroup$ I have found that using Magnification to enlarge the size of the target image or object before exporting it is a good trick to augment the resolution of exported images. $\endgroup$ – Ariel Sepulveda Jun 25 '15 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.