How to let all math equation don't be stronged?

I think strong may change the meaning of math.equation, so how to let all math equation don’t be stronged.

Hi there @LRoInT ,

Would you be able to post the code you are using that creates that problem, and perhaps a screenshot of the issue / of the desired result?

There could be various reasons for what you can experience.

1 Like

By default, no math equation is rendered in bold.

This is my guess:

#show strong: it => [#metadata(true)<strong>] + it + [#metadata(false)<strong>]
#show math.equation: it => {
  let is-bold-list = query(selector(<strong>).before(here())).map(x => x.value)
  if is-bold-list.len() == 0 or not is-bold-list.last() { return it }
  strong(delta: -strong.delta, it)
}

*text $x = y$*

image

I’m guessing the only bold equations are the inline ones:

#show strong: it => [#metadata(true)<strong>] + it + [#metadata(false)<strong>]
#show math.equation.where(block: false): it => {
  let is-bold-list = query(selector(<strong>).before(here())).map(x => x.value)
  if is-bold-list.len() == 0 or not is-bold-list.last() { return it }
  strong(delta: -strong.delta, it)
}