blog: Snippet latexpic

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.

Example:

> latexpic "white on black"  '$ f(x) = e^x $ \\ $ f(\bar x) = \bar x^2 $'

… generated this:

latexpic result

Posted in programming
2020-11-25 12:41 UTC