3

This question already has an answer here:

All of this question is about \ensuremath command. I would like to know, possibly from expert users, if there are any counter effects in using math commands in the text via \ensuremath and whether comprehensibility can be affected when using too many math symbols in this way.

If there are any issues, what is the usefulness of \ensuremath command? When am I supposed to use it and what's is proper application? I mean if it was thought just to use every math commands in text mode I would \renewcommand all math mode like

\let\oldalpha\alpha
\renewcommand{\alpha}{\ensuremath{\oldalpha}}
%lot of \let after
\renewcommand{\beta}{\ensuremath{\beta}}
\renewcommand{\gamma}{\ensuremath{\gamma}}
%... AND SO ON AND SO ON

so that I would have no more troubles in forgetting \(...\) or $...$ around.

marked as duplicate by siracusa, Troy, Milo, Henri Menke, marmot Aug 29 '18 at 3:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 10
    I would not use it at all – David Carlisle Aug 1 '18 at 9:17
  • 4
    note if you do decide to use it, don't do \renewcommand{\alpha}{\ensuremath{\alpha}} as that defines \alpha in terms of \alpha so will put tex in an infinite loop. – David Carlisle Aug 1 '18 at 9:23
  • 4
    As with everyone else, I think this is a bad idea, the $..$ gives a much clearer sematic markup separation between the text and the math. – daleif Aug 1 '18 at 9:30
  • 4
    Assuming this could work, you would likely be tempted to type \alpha-\beta without math mode. Don't do it. – egreg Aug 1 '18 at 9:35
  • 3