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)
|
||||
]
|
||||
]
|
||||
21
template/report.typ
Normal file
21
template/report.typ
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#report()
|
||||
|
||||
#outline()
|
||||
|
||||
= Introduction
|
||||
|
||||
== Some toughts
|
||||
|
||||
#lorem(200)
|
||||
|
||||
== Some more toughts
|
||||
|
||||
#lorem(50)
|
||||
|
||||
#lorem(200)
|
||||
|
||||
= Main results
|
||||
|
||||
#lorem(100)
|
||||
|
||||
$ e^(i pi) + 1 = integral_0^(2 pi) sin(t) dif t $
|
||||
23
typst.toml
Normal file
23
typst.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[package]
|
||||
name = "typst-kfu-report"
|
||||
version = "0.1.0"
|
||||
entrypoint = "src/lib.typ"
|
||||
authors = ["Gaspard Jankowiak"]
|
||||
description = "Unofficial Typst KFU report template"
|
||||
homepage = "https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-report"
|
||||
repository = "https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-report"
|
||||
keywords = [""]
|
||||
categories = [
|
||||
"layout",
|
||||
"text",
|
||||
"report",
|
||||
"office",
|
||||
]
|
||||
disciplines = ["mathematics"]
|
||||
compiler = "0.14.2"
|
||||
|
||||
[template]
|
||||
path = "template"
|
||||
entrypoint = "report.typ"
|
||||
|
||||
[tool]
|
||||
Loading…
Add table
Add a link
Reference in a new issue