This template is intended to be used as template for a short scientific paper in latex
First, fork the repository into your own namespace.
Head over to config/
and replace the placeholders in general.tex
with your concrete data.
Ensure your latex distribution and all needed packages are installed correctly by performing on of the described build procedures (or use the Docker Integration of Latex-Workshop).
If the pdf is generated correctly you can start writing you project.
These are the possibilites to build the Project.
Latex-Workshop uses latexmk
to build the whole Project, whenever a file is saved.
To overcome the need of a local Latex Installation, it is possible to use a Docker Container as Latex Environment.
The Integration into Latex-Workshop can be enabled by:
"latex-workshop.docker.enabled": true
If you are using this approach, make sure to pre-pull tianon/latex
from the Docker registry.
There are two VS Code Tasks defined to build the project:
Build (latexmk)
- build using latexmkBuild (script)
- build usingmake.sh
build: latexmk
or latexmk -pdf
clean-up:
latexmk -c
- remove all generated files except .pdflatexmk -C
- completly clean up repository
The project can build using the make.sh
script provided in the repo:
./scripts/make.sh
- generates document.pdf./scripts/make.sh name
- generates document.pdf and renames it to name.pdf./scripts/make.sh name version
- generates document.pdf and renames it to name-version.pdf
.vscode
- configuration for vs codeconfig/
- configuration of the projectcontent/
- content of the projectimages/
- images of the projectshared/
- common latex filesscripts/
- build and helper scripts.latexmkrc
- latexmk build definition.gitlab-ci.yaml
- pipeline definitiondocument.tex
- main file including all other tex filesliterature.bib
- bibliography