import
fix
This commit is contained in:
commit
967d83a2e3
3 changed files with 89 additions and 0 deletions
45
src/lib.typ
Normal file
45
src/lib.typ
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
#show math.equation: set text(font:"Fira Math", weight: "light")
|
||||
|
||||
#let report(
|
||||
lang: "en",
|
||||
|
||||
title: [A nice report],
|
||||
subtitle: [On an interesting topic],
|
||||
|
||||
date: datetime.today().display("[day] [month repr:long], [year]"),
|
||||
|
||||
department: [Department of Mathematics and \ Scientific Computing],
|
||||
|
||||
author: [
|
||||
First Author \
|
||||
Second Author
|
||||
]) = [
|
||||
#set text(font:"Nunito Sans", lang: lang)
|
||||
|
||||
#set page(footer: align(right)[#context [page #counter(page).display("1 of 1", both: true)]])
|
||||
#page(footer:[], margin: (top: 2cm, left: 2cm, right: 2cm))[
|
||||
#align(right)[#rect(height: 3cm, inset: 0cm, stroke: none)[#grid(columns: 3,
|
||||
block(inset: (x:0cm, y:0.1cm))[#text(14pt)[UNIVERSITY OF GRAZ] \
|
||||
#v(0.5em)
|
||||
#department],
|
||||
[#h(0.5cm)],
|
||||
[#image("kfulogo-stripped.pdf", height: 2cm)]
|
||||
)]]
|
||||
|
||||
#v(1fr)
|
||||
|
||||
*#text(24pt)[#title]*
|
||||
#v(1em)
|
||||
*#subtitle*
|
||||
#v(2em)
|
||||
#date
|
||||
|
||||
#v(1fr)
|
||||
|
||||
#text(16pt)[#author]
|
||||
|
||||
#v(3cm)
|
||||
|
||||
#image("Nawi_Graz_Logo_2015.png", width: 5cm)
|
||||
]
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue