This repository contains a LaTeX template, which tries to follow the DHSN Dresden Styleguide as close as possible. The template might do things wrong and there is no warranty. It is your own responsibility to check for correctness.
Go here please. 🚀 This README provides a development overview.
The source files are commented rather extensively.
baarticle.clsdescribes the document class and provides everything related to styling and spacing. Also defines certain environments.baarticle.bbxdescribes the formatting of bibliography entries and formatting.baarticle.cbxprovides the citation style and commands.baarticle.dbxadjusts the biblatex data model.ngerman-ba.lbxprovides the required localization.
Modifications to the template can be tested by compiling the minimal.tex and simple.tex files. Some sort of unit tests are provided by the test.tex file, but LaTeX support for unit testing is very limited.
The documentation is build from the docs folder and served via GitHub Pages.
To ensure consistent formatting use the .editorconfig and .prettierrc files.
The following file types are formatted using Prettier:
- Markdown
- YAML
- Ruby
- HTML
All LaTeX related files are formatted using the latexindent module.
The following vs code extensions are helpful to format the files:
Originally crafted by Nuckal777.