2024-06-19 07:53:27 +02:00
|
|
|
<!-- @format -->
|
|
|
|
|
2024-01-07 10:54:52 +01:00
|
|
|
# Notes on using LaTeX
|
|
|
|
|
|
|
|
To possibly spare yourself from headache:
|
|
|
|
|
|
|
|
- Fedora: `sudo dnf install texlive-scheme-full -y`
|
|
|
|
- Debian: `sudo apt install texlive-full -y`
|
|
|
|
|
|
|
|
<!-- editorconfig-checker-disable -->
|
|
|
|
<!-- prettier-ignore-start -->
|
|
|
|
|
2023-03-16 18:53:28 +01:00
|
|
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
|
|
|
2024-01-07 10:54:52 +01:00
|
|
|
- [Simple boilerplate](#simple-boilerplate)
|
|
|
|
- [Package management](#package-management)
|
|
|
|
- [Installing custom templates](#installing-custom-templates)
|
|
|
|
- [Noteworthy templates](#noteworthy-templates)
|
2023-03-16 18:53:28 +01:00
|
|
|
|
|
|
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
|
2024-01-07 10:54:52 +01:00
|
|
|
<!-- prettier-ignore-end -->
|
|
|
|
<!-- editorconfig-checker-enable -->
|
2022-07-19 14:55:22 +02:00
|
|
|
|
2022-07-19 13:40:25 +02:00
|
|
|
## Simple boilerplate
|
|
|
|
|
|
|
|
Refer to `hello.tex`
|
|
|
|
|
2022-07-23 15:14:56 +02:00
|
|
|
For leaflets or flyers, https://tex.stackexchange.com/q/16355/274626 has nice
|
|
|
|
answers.
|
|
|
|
|
2022-07-19 14:25:47 +02:00
|
|
|
## Package management
|
|
|
|
|
2024-06-19 07:53:27 +02:00
|
|
|
**_Don't do this, use `YOURFAVOURITEPACKAGEMANAGER search texlive-moderncv` or
|
|
|
|
whatever_**
|
2022-07-19 14:25:47 +02:00
|
|
|
|
2024-06-19 07:53:27 +02:00
|
|
|
Fedora: remember to
|
|
|
|
`sudo dnf install texlive-msg texlive-texlive-msg-translations` to remove one
|
|
|
|
nag. Which doesn't work with Finnish, naturally.
|
2022-07-19 14:25:47 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
tlmgr init-usertree
|
|
|
|
tlmgr --ignore-warning --usermode install moderncv
|
|
|
|
```
|
|
|
|
|
2022-07-19 13:40:25 +02:00
|
|
|
## Installing custom templates
|
|
|
|
|
2024-06-19 07:53:27 +02:00
|
|
|
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)
|