2

How to generate .png images of chemical structures using LaTeX, dvipng & chemfig ?

What packages need to be included ?

Is there any reference article for same ?

1

Include \RequirePackage[log]{snapshot} before \documentclass{article} to see dependencies of chemfig in .log file. See snapshot documentation for more options.

Have a look at code example by cgnieder's answer using chemfig that uses chemfig and standalonepackage.

Use options [convert,border=2] to standalone class and run pdflatex --shell-escape chem-file-example.tex to get .png.Refer Martin Scharrer's answer to Better resolution of uploaded pictures Q at meta.tex.sx for full steps.

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.