0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Tikz, overpic等でpdf上に作った図をepsにする

Posted at

Tikz/PGF, overpic等を使用してLaTeX上で図を作成する事がある。
METAPOSTのファイルを別に作る必要もなく、使い様によっては便利なのだが、
論文を投稿する際には通常のepsにしてある方がトラブルが少ないだろう。

pdfをGIMPでインポートして切り出せばいいのだが、せっかくのベクターデータが失われる。

そこで今回とった方法は

  • 図だけを生成する.texを作成し、.pdfにコンパイルする
  • pdftocairoを使用してpdfからepsを作成する

という手順である。他にも

  • (latex) .tex > .dvi
  • (dvips) .dvi > .ps
  • (ps2epsi) .ps > .eps

のように変更する手段が紹介されていたが、
私の場合はTikz中で違うepsを取り込んだ図がうまく変換できなかった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?