Compare commits

..

9 Commits

Author SHA1 Message Date
Sven Vogel 859824a42e fix: allow disabeling statement pages (#126)
Create Release Commit / prepare (push) Has been skipped Details
Create Release / Check Template and Build example (push) Successful in 4m36s Details
Create Release / release (push) Successful in 1m55s Details
Reviewed-on: #126
Co-authored-by: servostar <sven.vogel123@web.de>
Co-committed-by: servostar <sven.vogel123@web.de>
2025-04-15 16:00:41 +00:00
Sven Vogel 60f6ae0ddf feat: add coauthor to titlepage (#125)
Create Release Commit / prepare (push) Has been skipped Details
Create Release / Check Template and Build example (push) Successful in 4m50s Details
Create Release / release (push) Successful in 2m11s Details
Reviewed-on: #125
Co-authored-by: servostar <sven.vogel123@web.de>
Co-committed-by: servostar <sven.vogel123@web.de>
2025-04-15 12:16:53 +00:00
Sven Vogel 0e0e79f2fe fix: single author does not show up (#124)
Create Release Commit / prepare (push) Has been skipped Details
Create Release / Check Template and Build example (push) Successful in 5m48s Details
Create Release / release (push) Successful in 2m49s Details
Reviewed-on: #124
Co-authored-by: servostar <sven.vogel123@web.de>
Co-committed-by: servostar <sven.vogel123@web.de>
2025-04-14 17:47:11 +00:00
Sven Vogel d0b4120755 fix: adjust outline spacing (#123)
Create Release Commit / prepare (push) Has been skipped Details
Create Release / Check Template and Build example (push) Successful in 4m3s Details
Create Release / release (push) Successful in 2m3s Details
Reviewed-on: #123
Co-authored-by: servostar <sven.vogel123@web.de>
Co-committed-by: servostar <sven.vogel123@web.de>
2025-03-18 07:29:02 +00:00
Sven Vogel 99750af99f ci: bump download-artifact to v4
Create Release Commit / prepare (push) Has been skipped Details
Create Release / Check Template and Build example (push) Successful in 4m45s Details
Create Release / release (push) Successful in 1m57s Details
2025-03-10 21:36:05 +01:00
Sven Vogel a46b88addc style: run typstyle v0.13
Create Release Commit / prepare (push) Has been skipped Details
Create Release / Check Template and Build example (push) Successful in 5m47s Details
Create Release / release (push) Successful in 2m4s Details
2025-03-07 00:03:17 +01:00
Sven Vogel 35b798de18 Merge branch 'fix/typst-0.13'
Create Release Commit / prepare (push) Has been skipped Details
Create Release / Check Template and Build example (push) Failing after 3m24s Details
Create Release / release (push) Has been skipped Details
2025-03-06 23:11:30 +01:00
Sven Vogel ee3bbe9e04 fix: unexpected opening parenthesis 2025-03-06 23:11:25 +01:00
Sven Vogel ba9f81eccb fix: typst-0.13 (#121)
Create Release Commit / prepare (push) Has been skipped Details
Create Release / Check Template and Build example (push) Successful in 4m29s Details
Create Release / release (push) Successful in 2m19s Details
Reviewed-on: #121
Co-authored-by: servostar <sven.vogel123@web.de>
Co-committed-by: servostar <sven.vogel123@web.de>
2025-03-06 16:07:55 +00:00
7 changed files with 36 additions and 5 deletions

View File

@ -47,7 +47,7 @@ jobs:
go-version: '>=1.20.1' go-version: '>=1.20.1'
- name: Download Artifcat - name: Download Artifcat
id: download id: download
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: example-document name: example-document
path: ${{ github.workspace }}/Example.pdf path: ${{ github.workspace }}/Example.pdf

View File

@ -26,6 +26,7 @@
), ),
supervisor-signature: false, supervisor-signature: false,
authors: ((), ()), authors: ((), ()),
coauthors: (),
// information about thesis // information about thesis
thesis: ( thesis: (
title: "Unofficial ABB/DHBW Typst template", title: "Unofficial ABB/DHBW Typst template",
@ -41,6 +42,8 @@
bibliography: none, /* bibliography("refs.bib") */ bibliography: none, /* bibliography("refs.bib") */
glossary: none, glossary: none,
appendices: none, appendices: none,
confidentiality: true,
authorship: true,
), ),
style: ( style: (
header: ( header: (

View File

@ -8,6 +8,10 @@
#let new_confidentiality_statement_page(config) = ( #let new_confidentiality_statement_page(config) = (
context { context {
if not config.thesis.confidentiality {
return
}
pagebreak(weak: true) pagebreak(weak: true)
let thesis = config.thesis let thesis = config.thesis

View File

@ -8,6 +8,10 @@
#let new_declaration_of_authorship(config) = ( #let new_declaration_of_authorship(config) = (
context { context {
if not config.thesis.authorship {
return
}
pagebreak(weak: true) pagebreak(weak: true)
let thesis = config.thesis let thesis = config.thesis

View File

@ -125,9 +125,14 @@
#let new_outline() = { #let new_outline() = {
pagebreak(weak: true) pagebreak(weak: true)
show outline.entry.where(level: 1): it => { show outline.entry: it => {
if it.level == 1 {
v(1.5em, weak: true) v(1.5em, weak: true)
strong(it) strong(it)
} else {
v(1.0em, weak: true)
it
}
} }
render_heading_outline() render_heading_outline()

View File

@ -112,7 +112,7 @@
#v(1.5em) #v(1.5em)
#let rows = int(config.authors.len() / 3 + 0.5) #let rows = int(config.authors.len() / 3 + 0.9)
#for i in range(0, rows) { #for i in range(0, rows) {
let cols = calc.min(config.authors.len() - i * 3, 3) let cols = calc.min(config.authors.len() - i * 3, 3)
@ -138,6 +138,16 @@
} }
] ]
#v(1em)
#align(center)[
coauthored in part by
#linebreak()
#for author in config.coauthors {
author
}
]
#set align(bottom) #set align(bottom)
#pad(top: 1.5em)[ #pad(top: 1.5em)[

View File

@ -24,6 +24,9 @@
contact: "sven.vogel123@web.de" contact: "sven.vogel123@web.de"
) )
), ),
coauthors: (
"Gorbatschew"
),
thesis: ( thesis: (
title: "Unofficial ABB/DHBW Typst template", title: "Unofficial ABB/DHBW Typst template",
subtitle: "for reports and thesises", subtitle: "for reports and thesises",
@ -37,6 +40,8 @@
bibliography: bibliography("refs.bib"), bibliography: bibliography("refs.bib"),
glossary: yaml("glossary.yml"), glossary: yaml("glossary.yml"),
appendices: include "appendix.typ", appendices: include "appendix.typ",
confidentiality: false,
authorship: false
), ),
style: ( style: (
header: ( header: (