Hide helper function in closure
This commit is contained in:
parent
4519b8da22
commit
3c87ec58c8
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user