Compare commits

..

13 Commits

Author SHA1 Message Date
28c0d32f7e Convert "Passing Balls" to typst
All checks were successful
CI / Typst formatting (pull_request) Successful in 10s
CI / Typos (pull_request) Successful in 18s
CI / Build (pull_request) Successful in 11m11s
2025-01-23 18:26:54 -08:00
a71786ba88 Convert "Zeno's Furniture" to typst 2025-01-23 18:26:54 -08:00
286e545130 Convert "Gallery" to typst 2025-01-23 18:26:54 -08:00
e5c09302e4 Convert "Odd Dice" to typst 2025-01-23 18:26:54 -08:00
95663795cf Convert "Travellers" to typst 2025-01-23 18:26:54 -08:00
d9267e8f77 Convert "Regex" to typst 2025-01-23 18:26:54 -08:00
f2ac44b049 Convert "Prime Factors" to typst 2025-01-23 18:26:54 -08:00
3ec7433bd8 Convert "Partition Products" to typst 2025-01-23 18:26:54 -08:00
aff861fe80 Convert "Mario Kart" to typst 2025-01-23 18:26:54 -08:00
88d90b87f6 Convert "Fuse Timers" to typst 2025-01-23 18:26:54 -08:00
814620ec19 Convert "fmod" to typst 2025-01-23 18:26:54 -08:00
6361adb19e Convert "A Familiar Concept" to typst 2025-01-23 18:26:54 -08:00
84e07165bf Tweak #note() 2025-01-23 18:26:48 -08:00

View File

@ -185,15 +185,18 @@
//
#let hint(content) = {
text(fill: rgb(100, 100, 100), style: "oblique", "Hint: ")
#let note(content, type: none) = {
if type != none {
text(fill: rgb(100, 100, 100), style: "oblique", [#type: ])
}
text(fill: rgb(100, 100, 100), content)
}
#let note(content) = {
text(fill: rgb(100, 100, 100), content)
#let hint(content) = {
note(content, type: "Hint")
}
#let examplesolution(content) = {
let c = oblue
@ -281,6 +284,7 @@
if show_solutions {
warn
}
doc
}