This is a simple LaTeX template for reports. It comes with a bootstrap script and lots of custom commands.
Create a new folder for your report. Within the new folder, call:
git clone https://github.com/sharkdp/latex-report.git
./latex-report/bootstrap.sh main
Here, main
is the name for the main file of your report (without ending). The bootstrap script creates the main LaTeX file as well as two directories fig
for figures and dist
for LaTeX output files. It also creates a new git repository for the report with an initial .gitignore
file. The latex-report
subfolder will be handled as a git submodule.
To compile the report, (install and) call
latexmk
The configuration file for latexmk is called .latexmkrc
. To continuously monitor changes to the main tex-file and all includes, call
latexmk -pvc
An overview of the predefined commands can be found in the command cheatsheet which is created automatically from include/commands.tex
.
To update latex-report, call:
git submodule update --remote --merge
# if you want to commit the update to the newest version:
git commit latex-report -m "updated latex-report to newest version"