improve title page layout and extract natural language to separate file

This commit is contained in:
2025-09-26 08:25:12 +02:00
parent 1faa0c6c93
commit 5347a16cf1
6 changed files with 118 additions and 38 deletions

View File

@@ -19,7 +19,7 @@
// )
// ```
//
// - style (str): Visual style to use. This can be "latex".
// - style (str): Visual style to use. This can be "classic".
// - faculty (str): Factulty abbreviation. One of "fs", "ft", "fp", "ef", "fua", "fm", "fzs", "cxi".
// - lang (str): Language code. This can be "cs" or "en".
// - document (str): Type of document. This can be "bp", "dp", "ds".
@@ -32,7 +32,7 @@
//
//-> none
#let tultemplate2(
style: "latex",
style: "classic",
faculty: "tul",
lang: "cs",
document: none,
@@ -40,10 +40,10 @@
citations: "citations.bib",
content,
) = {
import "template_latex.typ": template_latex
import "template_classic.typ": template_classic
import "utils.typ": assert_in_dict
let templates = (
latex: template_latex,
classic: template_classic,
);
assert_in_dict(style, templates, "template name");