feat: added T3000 layout
Gitea Action for checking typst compilation / run-ci-linux (push) Failing after 2m12s
Details
Gitea Action for checking typst compilation / run-ci-linux (push) Failing after 2m12s
Details
This commit is contained in:
parent
eaf803dc8d
commit
3ebcccd74d
46
src/lib.typ
46
src/lib.typ
|
@ -4,18 +4,54 @@
|
||||||
// '--------------------------------------------------------------------------'
|
// '--------------------------------------------------------------------------'
|
||||||
|
|
||||||
// Author: Sven Vogel
|
// Author: Sven Vogel
|
||||||
// Edited: 27.06.2024
|
// Edited: 01.10.2024
|
||||||
// License: MIT
|
// License: MIT
|
||||||
|
|
||||||
// start of template pages and styles
|
// start of template pages and styles
|
||||||
#let dhbw-template(body) = [
|
#let dhbw-template(body) = [
|
||||||
|
|
||||||
#set page(columns: 2, margin: 2.5cm)
|
#set page(margin: 2.5cm, footer: counter(page).display())
|
||||||
#set text(size: 10pt, font: "Times New Roman")
|
#set text(size: 10pt, font: "Times New Roman")
|
||||||
#set par(justify: true)
|
#set par(justify: true)
|
||||||
#set columns(gutter: 0.95cm)
|
#set block(below: 1em, above: 0pt)
|
||||||
|
|
||||||
#show heading: it => align(center, pad(top: 0.85cm, text(size: 12pt, it)))
|
#show heading.where(level: 1): it => align(center, pad(top: 0.85cm, text(size: 12pt, it)))
|
||||||
|
#show heading.where(level: 2): it => text(size: 10pt, it)
|
||||||
|
|
||||||
#body
|
#show raw: it => text(font: "Consolas", size: 8pt, it)
|
||||||
|
|
||||||
|
#set align(center)
|
||||||
|
#block(below: 0.85cm, text(size: 16pt, weight: "bold", "Title"))
|
||||||
|
|
||||||
|
#let authors = (
|
||||||
|
(
|
||||||
|
name: "Johann Goethe",
|
||||||
|
matriculation-number: 123456789,
|
||||||
|
company: "SAP",
|
||||||
|
e-mail: "johann-goether@sap.de",
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
#grid(columns: authors.len(), column-gutter: 0.95cm, rows: 1, ..authors.map(author => block()[
|
||||||
|
#text(size: 10pt, weight: "bold", author.name)
|
||||||
|
#set text(size: 9pt)
|
||||||
|
#linebreak()
|
||||||
|
#author.matriculation-number, #author.company
|
||||||
|
#linebreak()
|
||||||
|
#author.e-mail
|
||||||
|
]))
|
||||||
|
|
||||||
|
#v(10pt)
|
||||||
|
|
||||||
|
#set align(left)
|
||||||
|
#columns(gutter: 0.95cm)[
|
||||||
|
#align(center, text(weight: "bold", size: 10pt, "Abstract"))
|
||||||
|
#lorem(20)
|
||||||
|
|
||||||
|
#body
|
||||||
|
|
||||||
|
#align(center, pad(top: 1em, text(weight: "bold", size: 10pt, "Citations and references")))
|
||||||
|
|
||||||
|
#bibliography("../template/refs.bib", title: none, style: "annual-reviews-author-date")
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
|
|
||||||
#lorem(25)
|
#lorem(25)
|
||||||
|
|
||||||
|
@einstein
|
||||||
|
|
||||||
#lorem(100)
|
#lorem(100)
|
||||||
|
|
||||||
== Lorem Ipsum 2
|
== Lorem Ipsum 2
|
||||||
|
@ -29,10 +31,7 @@ $
|
||||||
|
|
||||||
#lorem(140)
|
#lorem(140)
|
||||||
|
|
||||||
#wrap-content(
|
#figure(image("assets/digitaldog.jpg", width: 200pt), caption: [ Some image caption ])
|
||||||
figure(image("assets/digitaldog.jpg", width: 200pt), caption: [ Some image caption ]),
|
|
||||||
lorem(200),
|
|
||||||
)
|
|
||||||
|
|
||||||
#lorem(50)
|
#lorem(50)
|
||||||
|
|
||||||
|
@ -53,8 +52,6 @@ $
|
||||||
caption: [ Some table ],
|
caption: [ Some table ],
|
||||||
)
|
)
|
||||||
|
|
||||||
#pagebreak()
|
|
||||||
|
|
||||||
#lorem(100)
|
#lorem(100)
|
||||||
|
|
||||||
#figure(
|
#figure(
|
||||||
|
@ -72,8 +69,6 @@ $
|
||||||
|
|
||||||
#lorem(100)
|
#lorem(100)
|
||||||
|
|
||||||
#pagebreak()
|
|
||||||
|
|
||||||
= Conclusion
|
= Conclusion
|
||||||
|
|
||||||
#lorem(320)
|
#lorem(320)
|
||||||
|
|
Loading…
Reference in New Issue