https://github.com/nymann/basic-latex-template
Basic LaTeX template used for small assignments.
https://github.com/nymann/basic-latex-template
Last synced: 3 months ago
JSON representation
Basic LaTeX template used for small assignments.
- Host: GitHub
- URL: https://github.com/nymann/basic-latex-template
- Owner: nymann
- License: bsd-2-clause
- Created: 2021-05-09T11:06:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-14T14:57:21.000Z (about 4 years ago)
- Last Synced: 2025-12-13T21:26:56.758Z (6 months ago)
- Language: TeX
- Size: 37.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic LaTeX template
*Inspired by the style of the book [The Go Programming
Language](https://www.gopl.io/)*
## Usage
Github templates doesn't support Git LFS out of the box, here's what you have to
do to download the missing files:
```sh
git lfs fetch --all https://github.com/nymann/basic-latex-template master
git lfs push --all origin master
```
This will fetch all the LFS files from the template repository and populate
`.git/lfs/objects`, and then upload all those files to your repository.
## Used packages
- fancyhdr
- fontspec
- geometry
- graphicx
- lipsum (only for generating filler text)
- minted
- titlesec
## Preview

## Workflows
I have a terminal window open with `ls report.tex chapters/*.tex | entr make`
and `report.pdf` open in Zathura. This way when I make any changes to any of the
TeX files the report is automatically recompiled thanks to `entr` and Zathura
automatically refreshes the document.
##### GNU Make
| Command | Description |
| --- | --- |
| `make` | Compiles the `report.tex` file. |
| `make clean` | Cleans the directory for any build files. |
##### Docker
A simple `Dockerfile` is provided if you are in an environment with Docker but
without TexLive. This is how you use it:
```sh
docker build -t my_report -f Dockerfile .
docker run --detach=true --tty=true --name my_report_container my_report
docker cp my_report_container:/doc/report.pdf .
```