34 lines
571 B
Markdown
34 lines
571 B
Markdown
# latex-common
|
|
|
|
Repository containing common latex code that can be shared across multiple projects.
|
|
|
|
## Usage
|
|
|
|
Put
|
|
|
|
```latex
|
|
\input{/path/to/common.tex}
|
|
```
|
|
|
|
in your preamble. See the `examples` folder for usage examples.
|
|
|
|
## Build examples
|
|
|
|
### Build manually
|
|
|
|
```bash
|
|
$ make
|
|
```
|
|
|
|
### Build using docker
|
|
|
|
1. Build docker image
|
|
```bash
|
|
$ docker build -f dockerfiles/Dockerfile.alpine . -t latex-common
|
|
```
|
|
2. Build examples
|
|
```bash
|
|
$ docker run --rm -v $PWD:$PWD -w $PWD -u `id -u`:`id -g` latex-common make
|
|
```
|
|
|