diff --git a/_quarto.yml b/_quarto.yml index a7c5377..a732c93 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -16,6 +16,7 @@ format: template-partials: - _extensions/quarto-ext/ams/typst-template.typ - _extensions/quarto-ext/ams/typst-show.typ + - customisation_template.typ toc: true section-numbering: 1.1.1 bibliography: references.bib diff --git a/customisation_template.typ b/customisation_template.typ new file mode 100644 index 0000000..8c6b8ab --- /dev/null +++ b/customisation_template.typ @@ -0,0 +1,26 @@ +// #import "@preview/mitex:0.2.4": * +#set math.equation( +numbering: "(1)", +supplement: none +) + +#set page("a4") + +#set text(font: "IBM Plex Sans") + +// Bold titles. +#show table.cell.where(y: 0): set text(weight: "bold") + +// Tableaux alignés à gauche, sauf première ligne centrée +#show table.cell: set align(left+horizon) +#show table.cell.where(y: 0): set align(center+horizon) + +#show figure.where( + kind: table +): set figure.caption(position: top) + +// Tableau zébré +#set table( + fill: (_, y) => if calc.odd(y) { rgb("EAF2F5") }, + stroke: 0.5pt + rgb("666675"), +) \ No newline at end of file diff --git a/index.qmd b/index.qmd index 602e4c6..816cf7a 100644 --- a/index.qmd +++ b/index.qmd @@ -1,31 +1,4 @@ -```{=typst} -#import "@preview/mitex:0.2.4": * -#set math.equation( -numbering: "(1)", -supplement: none -) - -#set page("a4") - -#set text(font: "IBM Plex Sans") - -// Bold titles. -#show table.cell.where(y: 0): set text(weight: "bold") - -// Tableaux alignés à gauche, sauf première ligne centrée -#show table.cell: set align(left+horizon) -#show table.cell.where(y: 0): set align(center+horizon) - -#show figure.where( - kind: table -): set figure.caption(position: top) - -// Tableau zébré -#set table( - fill: (_, y) => if calc.odd(y) { rgb("EAF2F5") }, - stroke: 0.5pt + rgb("666675"), -) -``` + # Survol des méthodes ensemblistes