I uploaded a new snippet called ‘latexpic’ to my git server. It can be used to quickly generate PNGs from partial LaTeX source. It requires LaTeX, Imagemagick and Bash.
> latexpic "white on black" '$ f(x) = e^x $ \\ $ f(\bar x) = \bar x^2 $'
… generated this: