0

I would like square brackets to never be italicized, even in a \textit environment. That is, I would like to type [ but have it always replaced with \textup{[}, and similarly for the right bracket. Apparently \newunicodechar doesn't work for the standard ASCII characters.

Is there some other way?

Sebastiano
  • 54,118

1 Answers1

1

@Moewe's comment above led to the package https://ctan.org/pkg/embrac, which does exactly this. Thank you!