2021-09-10 22:47:55 +02:00
|
|
|
# How to write a package
|
2021-09-10 22:46:27 +02:00
|
|
|
|
2021-09-10 22:47:55 +02:00
|
|
|
- [Stackexchange](https://tex.stackexchange.com/questions/34175/how-do-i-create-a-latex-package )
|
|
|
|
- [Overleaf](https://www.overleaf.com/learn/latex/Writing_your_own_package)
|
|
|
|
|
|
|
|
# Location
|
|
|
|
|
|
|
|
## Userbased
|
|
|
|
|
|
|
|
- GNU+Linux
|
2022-01-06 20:27:30 +01:00
|
|
|
- [x] `~/texmf/tex/latex/kzo`
|
2021-09-10 22:47:55 +02:00
|
|
|
- macOS
|
2022-01-06 20:27:30 +01:00
|
|
|
- [ ] `~/Library/texmf/tex/latex/kzo`
|
2021-09-10 22:47:55 +02:00
|
|
|
- Windows
|
2022-01-06 20:27:30 +01:00
|
|
|
- [ ] `%USERPROFILE%/texmf/tex/latex/kzo`
|
2021-09-10 22:47:55 +02:00
|
|
|
- [ ] Install it wherever you want by running
|
|
|
|
` tlmgr conf texmf TEXMFHOME "~/Documents/KZO/texmf:~/texmf"`
|
|
|
|
Src: [Stackexchange](https://tex.stackexchange.com/a/30517/173231)
|
|
|
|
|
|
|
|
## Systemwide
|
|
|
|
Src: [LibGuides at University of Akron](https://libguides.uakron.edu/latex/packages)
|
|
|
|
|
|
|
|
You can place it directly into your system, but you should not forget to run `texhash` as admin.
|
|
|
|
|
|
|
|
- GNU+Linux
|
2022-01-06 20:27:30 +01:00
|
|
|
- [x] `/usr/share/texlive/texmf-dist/tex/latex/kzo`
|
2021-09-10 22:47:55 +02:00
|
|
|
- Mac OS
|
2022-01-06 20:27:30 +01:00
|
|
|
- [ ] `~/Library/texmf/tex/latex/kzo`
|
2021-09-10 22:47:55 +02:00
|
|
|
- Windows
|
2022-01-06 20:27:30 +01:00
|
|
|
- [ ] `C:\Program Files\MiKTeX 2.9\tex\latex\kzo`
|
|
|
|
- [ ] `C:\texlive\2020\texmf-dist\tex\latex\kzo`
|