0
1

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 1 year has passed since last update.

Texでスタイルファイルを追加する方法

Last updated at Posted at 2020-03-19

環境

WSL Ubuntu 18.04
pLaTeXでコンパイル

問題

単にファイルをコピーしただけでは読み込めなかった

手順

1 .styファイルをコピーする

sudo cp hoge.sty /usr/share/texmf/tex/latex

※コピー先のフォルダは環境によって異なるかも

2 データベースを更新する

sudo texhash

(ちなみに) .styファイルがなく.insのみの場合

latex hoge.ins
0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?