4 ms·
Interesting example that I hadn't considered. But, since Typst is a programming language, there are lots of ways the same thing could be achieved directly in th
by jcparkyn 3y ago
Interesting example that I hadn't considered. But, since Typst is a programming language, there are lots of ways the same thing could be achieved directly in the language. E.g.:
// Change this to switch languages
#let selectedLang = "en"
#let lang(..arguments) = arguments.named().at(selectedLang)
#workinfo(
position: lang(en: "Senior Developer", es: "Señor Developer"),
etc...
)