adding language support for siunitx and add correcting default language and the langtag in README
main
Sebastian Preisner 3 years ago
parent 3bf33a5343
commit 7c83a330d6

@ -53,6 +53,7 @@ studium:
arbeit:
typ:
code:
lang:
...
```
@ -82,7 +83,7 @@ Im Folgenden sind die einzelnen Variablen und Schalter erläutert. Alle Optional
| fach | In welchem Fach wird die Prüfung bearbeitet | ja | |
| aufgabencode | Der Code befindet sich auf deiner B-Prüfung ganz oben | ja | |
| date | Datum der Abgabe | ja | today |
| lang | Sprache des Dokumentes "Ländercode" | ja | de |
| lang | Sprache des Dokumentes "Ländercode" | ja | en |
| logo | Der Pfad zum Logo (Standard ./Bilder/logo.png) | ja | Pfad zum Bild |
| toc | Hinzufügen des Inhaltsverzeichnises | ja | true / false |
| abk | Abkürzungsverzeichnis | ja | true /false |

@ -35,6 +35,9 @@ $endif$
\usepackage{amsfonts} % More symboles for exotic currency notation and engeneering diagrams
\usepackage{amssymb} % More symboles for exotic currency notation and engeneering diagrams
\usepackage{siunitx} % For using SI Units https://www.ctan.org/pkg/siunitx
$if(lang)$
\sisetup{locale = $lang/uppercase$}
$endif$
\usepackage{fancyhdr}
\usepackage{tabularx}
\usepackage[a4paper, top=27mm, left=20mm, right=40mm, bottom=35mm, headsep=10mm, footskip=12mm]{geometry} % Vorgabe 4cm Rand auf der rechten Seite.

Loading…
Cancel
Save