diff --git a/examples/base.typ b/examples/base.typ index 7a66754..cfba431 100644 --- a/examples/base.typ +++ b/examples/base.typ @@ -1,4 +1,4 @@ -#import "@preview/clean-sheets:0.2.2": Cal, base-template, ex_box, qed +#import "@preview/clean-sheets:0.3.0": Cal, base-template, ex_box, qed #show: body => base-template( 1, diff --git a/examples/computer-science.typ b/examples/computer-science.typ index 0f967a0..a9e7542 100644 --- a/examples/computer-science.typ +++ b/examples/computer-science.typ @@ -1,4 +1,4 @@ -#import "@preview/clean-sheets:0.2.2": Cal, chevrons, computer-science-template, def, ex_box, qed, satz +#import "@preview/clean-sheets:0.3.0": Cal, chevrons, computer-science-template, def, ex_box, qed, satz #show: body => computer-science-template( [Exemplarische Grundlagen I], diff --git a/src/theme.typ b/src/theme.typ index 8fa0dba..34098e2 100644 --- a/src/theme.typ +++ b/src/theme.typ @@ -15,11 +15,11 @@ ) #let fonts = ( - base: "New Computer Modern", - base-math: "New Computer Modern Math", + base: "Fira Sans", + base-math: "Fira Math", cmu: "New Computer Modern", cmu-math: "New Computer Modern Math", - code: "DejaVu Sans Mono", + code: "Fira Code", ) #let code-text-features = ( diff --git a/template/main.typ b/template/main.typ index 4e33564..e2cd191 100644 --- a/template/main.typ +++ b/template/main.typ @@ -1,4 +1,4 @@ -#import "@preview/clean-sheets:0.2.2": base-template, ex_box, qed +#import "@preview/clean-sheets:0.3.0": base-template, ex_box, qed #let logo = box( width: 2.4cm, @@ -17,6 +17,8 @@ ([Jane Doe], [John Doe]), [Taylor Tutor], logo: logo, + show-end-message: true, + end-message: [Typeset with #link("https://typst.app")[Typst].], body, ) @@ -32,7 +34,7 @@ $ ] -Write a proof by induction. #qed +Proof by induction. #qed = Exercise 2 @@ -41,7 +43,12 @@ Write a proof by induction. #qed ] ```python -def fibonacci(n): +def fibonacci(n: int) -> list[int]: + """ + Returns the first n Fibonacci numbers. + """ + if n <= 0: + return [] values = [0, 1] while len(values) < n: values.append(values[-1] + values[-2]) diff --git a/thumbnail.png b/thumbnail.png index 1bc6008..a64b4d4 100644 Binary files a/thumbnail.png and b/thumbnail.png differ diff --git a/typst.toml b/typst.toml index ed1b02b..9a4e918 100644 --- a/typst.toml +++ b/typst.toml @@ -1,7 +1,7 @@ [package] name = "clean-sheets" -version = "0.2.2" -compiler = "0.15.0" +version = "0.3.0" +compiler = "0.15.1" repository = "https://git.p0pa.de/Popa/clean-sheets" entrypoint = "lib.typ" authors = ["Popa "]