Initial commit
This commit is contained in:
commit
374de3292e
|
@ -0,0 +1 @@
|
|||
build
|
|
@ -0,0 +1,2 @@
|
|||
all:
|
||||
mkdir -p build && typst compile main.typ build/main.pdf
|
|
@ -0,0 +1,5 @@
|
|||
#import "template.typ"
|
||||
|
||||
#show: doc => template.apply(doc)
|
||||
|
||||
= Hello world
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue