Tweak #note()
This commit is contained in:
parent
b9751385d1
commit
84e07165bf
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user