chore: upgrade to 0.13.1 (#1)
This commit is contained in:
parent
d15ccc4a15
commit
b8ef4bf710
9 changed files with 19 additions and 15 deletions
|
|
@ -11,7 +11,7 @@ on the dashboard and searching for `unofficial-hka-thesis`.
|
|||
Locally, you can use the following command to start with this templates:
|
||||
|
||||
```bash
|
||||
typst init @preview/unofficial-hka-thesis:1.0.0
|
||||
typst init @preview/unofficial-hka-thesis:1.0.1
|
||||
```
|
||||
|
||||
### Features
|
||||
|
|
|
|||
13
lib.typ
13
lib.typ
|
|
@ -1,5 +1,5 @@
|
|||
#import "modules/titlepage.typ": *
|
||||
#import "@preview/glossarium:0.5.1": print-glossary, register-glossary
|
||||
#import "@preview/glossarium:0.5.4": print-glossary, register-glossary
|
||||
|
||||
#let in-outline = state("in-outline", false)
|
||||
#let flex-caption(long, short) = context {
|
||||
|
|
@ -7,7 +7,8 @@
|
|||
}
|
||||
|
||||
#let preface(
|
||||
settings: ()
|
||||
settings: (),
|
||||
preface
|
||||
) = {
|
||||
// Page Setup
|
||||
set page(
|
||||
|
|
@ -48,6 +49,8 @@
|
|||
//Indentation of Lists
|
||||
set list(indent: settings.list-indentation)
|
||||
set enum(indent: settings.list-indentation)
|
||||
|
||||
preface
|
||||
}
|
||||
|
||||
#let listings(
|
||||
|
|
@ -68,7 +71,7 @@
|
|||
|
||||
},
|
||||
target: heading.where(supplement: [Chapter], outlined: true),
|
||||
indent: true,
|
||||
indent: auto,
|
||||
depth: 3
|
||||
)
|
||||
|
||||
|
|
@ -206,7 +209,7 @@
|
|||
)
|
||||
counter(page).update(1)
|
||||
// Set after header and after all initial pages to just apply it to the acutal content
|
||||
set par(spacing: settings.space-before-paragraph)
|
||||
set par(spacing: settings.space-before-paragraph, justify: true)
|
||||
|
||||
// Actual Content
|
||||
body
|
||||
|
|
@ -220,7 +223,7 @@
|
|||
heading("Appendix", outlined: true, numbering: none)
|
||||
},
|
||||
target: heading.where(supplement: [Appendix], outlined: true),
|
||||
indent: true,
|
||||
indent: auto,
|
||||
depth: 3
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
#import "@preview/unofficial-hka-thesis:1.0.0": todo, flex-caption
|
||||
#import "@preview/glossarium:0.5.1": gls, glspl
|
||||
#import "@preview/unofficial-hka-thesis:1.0.1": todo, flex-caption
|
||||
#import "@preview/glossarium:0.5.4": gls, glspl
|
||||
|
||||
= Introduction
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#import "@preview/unofficial-hka-thesis:1.0.0": todo, flex-caption
|
||||
#import "@preview/unofficial-hka-thesis:1.0.1": todo, flex-caption
|
||||
#import "@preview/acrostiche:0.2.0": acr, acrpl
|
||||
|
||||
= Foundations
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#import "@preview/unofficial-hka-thesis:1.0.0": todo, flex-caption
|
||||
#import "@preview/unofficial-hka-thesis:1.0.1": todo, flex-caption
|
||||
|
||||
#heading(outlined: false, numbering: none, "Abstract")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#import "@preview/unofficial-hka-thesis:1.0.0": todo, flex-caption
|
||||
#import "@preview/unofficial-hka-thesis:1.0.1": todo, flex-caption
|
||||
|
||||
#heading(outlined: false, numbering: none, "Zusammenfassung")
|
||||
|
||||
|
|
|
|||
BIN
template/thesis.pdf
Normal file
BIN
template/thesis.pdf
Normal file
Binary file not shown.
|
|
@ -1,10 +1,11 @@
|
|||
#import "@preview/unofficial-hka-thesis:1.0.0": *
|
||||
#import "@preview/unofficial-hka-thesis:1.0.1": *
|
||||
#import "abbreviations.typ": abbreviations
|
||||
#import "settings/metadata.typ": *
|
||||
#import "settings/settings.typ": *
|
||||
#import "@preview/glossarium:0.5.1": make-glossary
|
||||
#import "@preview/glossarium:0.5.4": make-glossary, register-glossary
|
||||
|
||||
#show: make-glossary
|
||||
#register-glossary(abbreviations)
|
||||
|
||||
#set document(title: title-english, author: author)
|
||||
#open-title-page(settings: settings)
|
||||
|
|
@ -34,7 +35,7 @@
|
|||
submission-date: submission-date,
|
||||
)
|
||||
|
||||
#preface(settings: settings)
|
||||
#show: preface.with(settings: settings)
|
||||
|
||||
// Citations - applied here so that you are able to use a local CSL file to define the citation style
|
||||
#set cite(style: settings.citation-style)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "unofficial-hka-thesis"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
entrypoint = "lib.typ"
|
||||
authors = ["Ansgar Lichter <https://www.linkedin.com/in/ansgar-lichter-8532661b1>"]
|
||||
license = "MIT"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue