How do I install a LaTeX .sty file on OSX?

前端 未结 7 1276
无人共我
无人共我 2021-01-29 20:54

I have a LaTeX project set up:

tex/
  - documents/
      - some_file.tex
  - support/
      - todonotes.sty

where some_file.tex us

7条回答
  •  自闭症患者
    2021-01-29 21:18

    As said before just put the custom .sty into ~/texmf/tex or in /usr/share/texmf-texlive/tex/ but don’t forget to run mktexlsr or texhash to update the local package database of LaTeX. Otherwise LaTeX won’t find it at all, unless it is in the same directory of the processed file.

提交回复
热议问题