2010年3月3日 星期三

eps file output by pstricks

作者: hantis (呢呢是豬) 看板: Hantis
標題: [隨寫] Note: eps file output by latex
時間: Wed Mar  3 11:02:38 2010


   pstricks and other extending packages provide
   great ps figures, but the output is tricky.

   The summary is:
   =========================
   \documentclass{article}
   \usepackage{pstricks}
   ...
   \pagestyle{empty}

   ...
   \fcolorbox{white}{white}{
   \pspicture(x1,y1)(x2,y2)
   ...
   \endpspicture
   }
   =========================
   (Better one figure one file.)
   compile commands:

   latex fig
   dvips fig ----> this allows a quick preview
   when done, then
   dvips fig -E -o fig.eps

   The file has to be (or not?) an eps file.

沒有留言:

張貼留言