diff --git a/lib/abstracts.typ b/lib/abstracts.typ index afc5ce3..007877f 100644 --- a/lib/abstracts.typ +++ b/lib/abstracts.typ @@ -29,7 +29,8 @@ title-en: "", keywords-en: (), abstract-en: [], - heading-font: "TeX Gyre Heros", + font: "TeX Gyre Heros", + font-size: 11pt, school-color-verso: rgb("0054a0"), align-to-even-page: true, ) = { @@ -50,7 +51,7 @@ ), background: image(assets-folder + "abstracts-bg.svg") ) - set text(font: heading-font, fill: black) + set text(font: font, fill: black, size: font-size) place(dx: 100mm, dy: -15mm, etablissements-data.at(university).logo) place(dx: 0mm, dy: -15mm, image(assets-folder + "logo.png", width: 7.5cm)) diff --git a/lib/matisse-thesis.typ b/lib/matisse-thesis.typ index c9fab91..31d701c 100644 --- a/lib/matisse-thesis.typ +++ b/lib/matisse-thesis.typ @@ -29,6 +29,10 @@ font: "New Computer Modern", // font for heading heading-font: "TeX Gyre Heros", + // font for abstract + abstract-font: "TeX Gyre Heros", + // font size for abstract + abstract-font-size: 11pt, // text lang lang: "en", school-color-verso: rgb("0054a0"), @@ -168,6 +172,8 @@ it ) + set figure(placement: auto) + // ---------- LISTING ---------- show raw.where(block: true): it => { block(radius: 1em, fill: luma(240), inset: 1em, width: 80%, { @@ -252,7 +258,7 @@ university: university, title-fr: title-fr, keywords-fr: keywords-fr, abstract-fr: abstract-fr, title-en: title-en, keywords-en: keywords-en, abstract-en: abstract-en, - heading-font: heading-font, school-color-verso: school-color-verso, + font: abstract-font, font-size: abstract-font-size, school-color-verso: school-color-verso, align-to-even-page: not abstract-only ) }