Hi, I’m struggling with styling terms. I want them italics and not bold, but can’t figure it out.
I found this question How to adjust the style for the terms only in a term list? but as a beginner I don’t follow the accepted answer…
Here are two ways to do it:
#[
#show terms: it => {
show strong: it => emph(it.body)
it
}
/ Term1: The explanation
/ Term2: The explanation is longer this time
]
#[
#show terms.item: it => {
emph(it.term)
terms.separator
it.description
linebreak()
}
/ Term1: The explanation
/ Term2: The explanation is longer this time
]
Based on How to change the appearance of the terms in a term list? - #4 by SillyFreak
1 Like