Skip to content

nymann/basic-latex-template

Repository files navigation

Basic LaTeX template

Inspired by the style of the book The Go Programming Language

Usage

Github templates doesn't support Git LFS out of the box, here's what you have to do to download the missing files:

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

record

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:

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 .

About

Basic LaTeX template used for small assignments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published