Initial commit

This commit is contained in:
Thomas Forgione 2023-08-22 11:10:23 +02:00
commit 374de3292e
4 changed files with 26 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build

2
Makefile Normal file
View File

@ -0,0 +1,2 @@
all:
mkdir -p build && typst compile main.typ build/main.pdf

5
main.typ Normal file
View File

@ -0,0 +1,5 @@
#import "template.typ"
#show: doc => template.apply(doc)
= Hello world

18
template.typ Normal file
View File

@ -0,0 +1,18 @@
#let apply(doc) = {
set page(paper: "a4", numbering: "1")
set par(justify: true)
set text(lang: "fr")
set heading(numbering: "1.")
show cite: content => {
set text(fill: blue)
content
}
show ref: content => {
set text(fill: blue)
content
}
doc
}