Demonstration of latex2eps.sh

latex2eps.sh is a super utility I picked up when I started using magicpoint.

Simple example

If file1 contains
$$\mbox{Power} = \frac{1}{2} \rho A v^3$$
and you run
latex2eps.sh Wind0 < file1
then you will get a file Wind0.eps, which is a beautiful postscript file looking like this
Wind0

More complex example: Package options

You can give package options when running latex2eps.sh. For example, if you like \usepackage{booktabs} or \usepackage{colordvi}, here is what you can do.

Let's say that file2 contains:
\begin{tabular}{lcl}\toprule
\multicolumn{3}{c}{ \ \OliveGreen{$v=6$\,m/s} (force 4)}\\ \midrule
Wind farm  &  & \Blue{2\,W$\!$/m$^2$ flat ground} \\
 \bottomrule
\end{tabular}
Then we run the command:
latex2eps.sh -sty colordvi -sty booktabs Wind1 < file2
and we get this lovely object:
Wind1

David MacKay
Last modified: Wed Aug 27 16:57:19 2008