Refactor handout.typ
#7
@ -186,15 +186,18 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
#let hint(content) = {
|
#let note(content, type: none) = {
|
||||||
text(fill: rgb(100, 100, 100), style: "oblique", "Hint: ")
|
if type != none {
|
||||||
|
text(fill: rgb(100, 100, 100), style: "oblique", [#type: ])
|
||||||
|
}
|
||||||
text(fill: rgb(100, 100, 100), content)
|
text(fill: rgb(100, 100, 100), content)
|
||||||
}
|
}
|
||||||
|
|
||||||
#let note(content) = {
|
#let hint(content) = {
|
||||||
text(fill: rgb(100, 100, 100), content)
|
note(content, type: "Hint")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#let examplesolution(content) = {
|
#let examplesolution(content) = {
|
||||||
let c = oblue
|
let c = oblue
|
||||||
|
|
||||||
@ -282,6 +285,7 @@
|
|||||||
if show_solutions {
|
if show_solutions {
|
||||||
warn
|
warn
|
||||||
}
|
}
|
||||||
|
|
||||||
doc
|
doc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user