19 May
2023
19 May
'23
11:43 a.m.
I want to use a variable for a font size so I can set it based on language (as some translated texts have widely different sizes) This fails: %=========================== \newdimen\relationsFontSize \relationsFontSize=8pt \starttext \switchtobodyfont[\relationsFontSize] Hello, world! \stoptext %=========================== How can I use a variable to steer \switchtobodyfont size? Gerben Wierda (LinkedIn https://www.linkedin.com/in/gerbenwierda, Mastodon https://newsie.social/@gctwnl) R&A IT Strategy https://ea.rna.nl/ (main site) Book: Chess and the Art of Enterprise Architecture https://ea.rna.nl/the-book/ Book: Mastering ArchiMate https://ea.rna.nl/the-book-edition-iii/