1

When I define a macro such as:

\newcommand{\mymacro}{a_{\text{sample}}}

the "sample" text is italic when used in e.g. an example environment.

How can I make sure it will not adjust to this environment?

Jonny5
  • 111
  • 1

0 Answers0