gist/LaTeX/README.md

40 lines
993 B
Markdown
Raw Normal View History

2022-07-19 13:40:25 +02:00
# Notes on using LaTeX
To possibly save your self from headache:
2023-02-26 18:01:13 +01:00
- Fedora: `sudo dnf install texlive-scheme-full -y`
- Debian: `sudo apt install texlive-full -y`
2022-07-19 13:40:25 +02:00
## Simple boilerplate
Refer to `hello.tex`
For leaflets or flyers, https://tex.stackexchange.com/q/16355/274626 has nice
answers.
## Package management
2023-02-26 18:01:13 +01:00
**_Don't do this, use `YOURFAVOURITEPACKAGEMANAGER search texlive-moderncv`
or whatever_**
Fedora: remember to `sudo dnf install texlive-msg texlive-texlive-msg-translations` to
remove one nag. Which doesn't work with Finnish, naturally.
```bash
tlmgr init-usertree
tlmgr --ignore-warning --usermode install moderncv
```
2022-07-19 13:40:25 +02:00
## Installing custom templates
1. Put them to `~/texmf/tex/latex/local/` The `tlmgr init-usertree` might be useful?
2023-02-26 18:01:13 +01:00
- This can be verified with `kpsewhich -var-value=TEXMFHOME` in case this
happened to be not-Linux.
2022-07-19 13:40:25 +02:00
2. Run `texhash ~/texmf`
### Noteworthy templates
2023-02-26 18:01:13 +01:00
- [Finnish standard document](https://github.com/datakurre/vakioasiakirja)