When typing formulas to explain physics, sometimes non spaced text in super or subscripts is helpful.
$q_{heat}$
To prevent spacing in subscripts, I often used \textit
in math mode:
$q_{\textit{heat}}$
since I use classic thesis together with eulervm
, the \textit
trick doesn't work any more, because text font changes.
Is there a better way to prevent spacing without changing the font?
How do I define a \texteulervm
environment correctly?
As an example what happens, the following code:
j_{WDR,runoff}^{w} & \ne j_{\text{WDR,runoff}}^{w}
results in:
please note the difference in the subscript.
\text{..}
with packageamsmath
. Euler has no italic fontamsmath
is already in use, but\text{...}
also changes the font, it is clear that euler is non italic, the code above was just an example how I did it before usingeulervm
andclassic thesis
\text
uses the text font which is Euler. What do you mean by "changes the font"?