feat: logo customizable by template user & license

This commit is contained in:
Ansgar Lichter 2024-12-30 16:34:16 +01:00
parent fb3b63f05e
commit be73f81b09
6 changed files with 171 additions and 60 deletions

32
lib.typ
View file

@ -1,4 +1,4 @@
#import "modules/titlepage.typ": *
#import "modules/titlePage.typ": *
#import "@preview/glossarium:0.5.1": print-glossary, register-glossary
#let in-outline = state("in-outline", false)
@ -7,36 +7,8 @@
}
#let preface(
settings: (),
degree: "",
program: "",
title: "",
subtitle: "",
author: "",
matriculationNumber: "",
placeOfWork: "",
supervisor: "",
advisor: "",
startDate: none,
submissionDate: none
settings: ()
) = {
set document(title: title, author: author)
titlepage(
settings: settings,
degree: degree,
program: program,
title: title,
subtitle: subtitle,
author: author,
placeOfWork: placeOfWork,
matriculationNumber: matriculationNumber,
supervisor: supervisor,
advisor: advisor,
startDate: startDate,
submissionDate: submissionDate
)
// Page Setup
set page(
margin: (