Tuesday, August 25, 2009

texファイルのレンダリング

いつも忘れてしまうので。hoge.texを作成したら
platex hoge.tex
dvipdfmx hoge


図を入れるときは、プリアンブルに
\usepackage{graphicx}

として、本文中で
\includegraphics[scale=1.5]{sin.ps}

とかする。