Hide helper function in closure

This commit is contained in:
Greg Shuflin 2023-07-11 00:42:45 -07:00
parent 4519b8da22
commit 3c87ec58c8
1 changed files with 7 additions and 10 deletions

View File

@ -113,17 +113,14 @@
#let fmnt = smallcaps([fmnt])
//Appendix: List of Standard Abbreviations
#let mark_used(symbol) = {
used_abbreviations.update(cur => {
cur.insert(symbol, true)
cur
})
}
#let emit_abbreviation(symbol) = {
let mark_used(symbol) = {
used_abbreviations.update(cur => {
cur.insert(symbol, true)
cur
})
}
mark_used(symbol)
smallcaps(lower(symbol))
}