7
5

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.

Overleaf+platexでフォントを埋め込む

Posted at

Overleafで正しくフォントが埋め込まれていないせいで、Google Docsとかにアップロードすると、プレビューで正しく表示されない。
フォントは埋め込もう。

例えばipaのフォントを埋め込むなら、dvipdfmx-f ptex-ipaex.mapを渡せば良い。

Overleafでplatexを使う方法と、先日の投稿を合わせて、僕のlatexmkrcファイルはこんな感じになっている。

latexmkrc
$latex = "find . -type f -name '*.tex' -print0 | xargs -0 sed -i '' -e 's/、/,/g' -e 's/。/./g'; platex";
$bibtex = 'pbibtex';
$dvipdf = 'dvipdfmx -f ptex-ipaex.map %O -o %D %S';
$makeindex = 'mendex -U %O -o %D %S';
$pdf_mode = 3;
7
5
1

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
7
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?