diff --git a/1er_annee_prepa/DMmath/DM21/DM21.pdf b/1er_annee_prepa/DMmath/DM21/DM21.pdf index 4dab380..d75a02f 100644 Binary files a/1er_annee_prepa/DMmath/DM21/DM21.pdf and b/1er_annee_prepa/DMmath/DM21/DM21.pdf differ diff --git a/1er_annee_prepa/DMmath/DM21/DM21.typ b/1er_annee_prepa/DMmath/DM21/DM21.typ index f28b11a..7514ac6 100644 --- a/1er_annee_prepa/DMmath/DM21/DM21.typ +++ b/1er_annee_prepa/DMmath/DM21/DM21.typ @@ -1,6 +1,6 @@ #import "/template.typ": * #import "/transposition.typ": * -#import "@preview/drafting:0.2.0":* +#import "@preview/drafting:0.2.2":* #set heading( numbering: (..numbers) => { diff --git a/2nd_annee_prepa/physique/formulaire.pdf b/2nd_annee_prepa/physique/formulaire.pdf new file mode 100644 index 0000000..bdff575 Binary files /dev/null and b/2nd_annee_prepa/physique/formulaire.pdf differ diff --git a/template.typ b/template.typ index 88068a3..6b57c4e 100644 --- a/template.typ +++ b/template.typ @@ -38,13 +38,11 @@ (l,) }) #let tend(n, val) = $limits(-->)_(#n -> #val)$ -#let undermath(body, col: red)= { - style(styles => { - let size = measure(dm(body), styles); - let size2 = measure(body, styles); +#let undermath(body, col: red)= context{ + let size = measure(dm(body)); + let size2 = measure(body); let offshet = ((size.height) - (size2.height)) / 1.1 + 1.3pt; box(stroke: (bottom: col + 1pt), outset: (bottom: offshet), body); - }) } #let th = "th" #let t(x) = for i in range(x) { @@ -101,7 +99,7 @@ - +#undermath($sum_(i = 0)^3 i$)