Skip to content

How to ignore text in math mode? #110

Answered by valentjn
onnoeberhard asked this question in Q&A
Discussion options

You must be logged in to vote

\text switches to text mode, and all text in text mode is checked (the docs could be improved to mention this). As \text is special, it cannot be ignored currently. However, for subscripts/superscripts, you should be using either \mathrm or \mathsf, depending on whether you're using a serif or sans-serif font. Otherwise, your subscripts/superscripts will not be correctly typeset in a bold or italic context, e.g., in standard "proposition" environments. This will also eliminate the false positives.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@karemdsoky
Comment options

Answer selected by valentjn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #110 on December 08, 2020 19:29.