Go to file
2023-12-23 18:37:49 +01:00
dockerfiles Add dockerfiles and README.md 2023-12-21 02:16:25 +01:00
examples Add Makefile & more examples 2023-12-23 18:37:49 +01:00
res Add Makefile & more examples 2023-12-23 18:37:49 +01:00
.gitignore Initial commit 2023-12-20 23:40:59 +01:00
.latexmkrc Add dockerfiles and README.md 2023-12-21 02:16:25 +01:00
common.tex Initial commit 2023-12-20 23:40:59 +01:00
Makefile Add Makefile & more examples 2023-12-23 18:37:49 +01:00
README.md Update README.md 2023-12-21 01:55:45 +00:00

latex-common

Repository containing common latex code that can be shared across multiple projects.

Usage

Put

\input{common.tex}

in your preamble. See the examples folder for usage examples.

Build examples

Build manually

$ latexmk example.tex

Build using docker

  1. Build docker image
    $ docker build -f dockerfiles/Dockerfile.alpine . -t latex-common
    
  2. Build example
    $ docker run --rm -v $PWD:$PWD -w $PWD `id -u`:`id -g` latex-common latexmk example.tex