41 lines
737 B
Plaintext
41 lines
737 B
Plaintext
#import "palette.typ": *
|
||
|
||
#let template(document) = {
|
||
set text(
|
||
size: 11pt,
|
||
lang: "fr",
|
||
fill: primary,
|
||
)
|
||
|
||
set page(
|
||
paper: "a4",
|
||
margin: (x: 1.8cm, y: 1.5cm),
|
||
)
|
||
|
||
set par(
|
||
// first-line-indent: (amount: 1em, all: true),
|
||
spacing: 1.2em,
|
||
justify: true,
|
||
linebreaks: "optimized",
|
||
)
|
||
|
||
set list(
|
||
marker: [--],
|
||
)
|
||
|
||
set heading(
|
||
numbering: "Α.α.",
|
||
)
|
||
|
||
show title: set align(center)
|
||
show title: set text(fill: primary)
|
||
show heading.where(depth: 1): set text(fill: secondary)
|
||
show heading.where(depth: 2): set text(fill: tertiary)
|
||
show heading.where(depth: 3): set text(fill: fourthiary)
|
||
show strong: it => {
|
||
set text(fill: highlight_dark)
|
||
it.body
|
||
}
|
||
document
|
||
}
|