From 6ab1891a71c086e8a0ca37d085f0b180d592fcf2 Mon Sep 17 00:00:00 2001 From: Luca Favini Date: Sun, 22 Feb 2026 22:06:33 +0100 Subject: [PATCH 1/2] invalid formatting --- chapters/example.typ | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/chapters/example.typ b/chapters/example.typ index 4feb6fd..24eb82b 100644 --- a/chapters/example.typ +++ b/chapters/example.typ @@ -1,6 +1,6 @@ #import "../template.typ": * -= Template Features and Examples += Template Features and Examples This chapter demonstrates all custom elements available in the template. @@ -8,6 +8,8 @@ This chapter demonstrates all custom elements available in the template. The template provides functions to color mathematical text: + + - `mg()`: $mg(1+2 -> "olive green")$ - `mm()`: $mm(1+2 -> "maroon")$ - `mo()`: $mo(1+2 -> "orange")$ @@ -27,11 +29,11 @@ The template provides functions to color mathematical text: The template provides different types of boxes to highlight specific content. -=== Nota (Note) + === Nota (Note) -#note[ - This is a "note" box, useful for adding supplementary information or important observations. -] + #note[ + This is a "note" box, useful for adding supplementary information or important observations. + ] === Attenzione (Warning) From b0be89a95b29d4ef0e7227ae7f20d7d8c3350ce7 Mon Sep 17 00:00:00 2001 From: Luca Favini Date: Sun, 22 Feb 2026 22:15:32 +0100 Subject: [PATCH 2/2] dummy fixes --- chapters/example.typ | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/chapters/example.typ b/chapters/example.typ index 24eb82b..9c647de 100644 --- a/chapters/example.typ +++ b/chapters/example.typ @@ -1,6 +1,6 @@ #import "../template.typ": * -= Template Features and Examples += Template Features and Examples This chapter demonstrates all custom elements available in the template. @@ -8,8 +8,6 @@ This chapter demonstrates all custom elements available in the template. The template provides functions to color mathematical text: - - - `mg()`: $mg(1+2 -> "olive green")$ - `mm()`: $mm(1+2 -> "maroon")$ - `mo()`: $mo(1+2 -> "orange")$ @@ -29,11 +27,11 @@ The template provides functions to color mathematical text: The template provides different types of boxes to highlight specific content. - === Nota (Note) +=== Nota (Note) - #note[ - This is a "note" box, useful for adding supplementary information or important observations. - ] +#note[ + This is a "note" box, useful for adding supplementary information or important observations. +] === Attenzione (Warning) @@ -245,7 +243,12 @@ The `cetz` package allows creating custom drawings: content((0.5, 0.3), [Box 1]) // Circle - circle((2.5, 0.3), radius: 0.4, fill: red.transparentize(70%), stroke: 2pt + red) + circle( + (2.5, 0.3), + radius: 0.4, + fill: red.transparentize(70%), + stroke: 2pt + red, + ) content((2.5, 0.3), [Box 2]) // Arrow