Hi,
I’d like to set text font size twice bigger or smaller than current. Something like this:
#[
#let stampsize = (context text.size / 2)
#set text(size: stampsize)
//#(context text.size / 2)
]
The commented out line shows something I want, like 9pt
after dividing 18pt
by two. Unfortunately, there’s an error expected length, found content. Not quite surprising, because the content is probably a string, and 18pt
is a literal of another type.
Is there a way to get what I want?