Skip to content

Commit

Permalink
Déplacer la customisation du template typst
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviermeslin committed Nov 14, 2024
1 parent 331d50a commit d396032
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 28 deletions.
1 change: 1 addition & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
26 changes: 26 additions & 0 deletions customisation_template.typ
Original file line number Diff line number Diff line change
@@ -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"),
)
29 changes: 1 addition & 28 deletions index.qmd
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d396032

Please sign in to comment.