# Compile Tex document into PNG with single command

This tutorial let you compile your tex into png with a single command, the png produced will have transparent background.

## Prerequisite

you should have Tex compiler installed on your machine, read this blog post to understand how. Make sure when you type “latex” and “dvipng” command, it does not display “command not found”.

## Install tex2png-simple-shell

I have written a simple script to do the  job so you don’t have to remember the command parameters. You can find the GitHub repo here.

Enjoy!