Is there a difference between T_{\text{yay}} and T_\text{yay}?
And is one of the both versions recommed to use? Thanks in advance!
Is there a difference between T_{\text{yay}} and T_\text{yay}?
And is one of the both versions recommed to use? Thanks in advance!
They are the same but the fact that the second one works at all depends on the weird internal parsing of the argument of _ I would never use that form. Compare with \sqrt{\text{yay}} which works and \sqrt\text{yay} that does not. Normally (unless it is really a text phrase) I would use \mathrm rather than \text
\symup is unicode-math package, \text makes text using your documents surrounding text font (spaces make spaces and it will be italic if surrounding text is) \mathrm is math mode and always uses a fixed font.
– David Carlisle
Dec 17 '16 at 21:41
$\x_{text{mín}}$ works, and $\x_{mathrm{mín}}$ fails... (notice the accented i (í ) in the subscript) (utf8 inputenc and T1 fontenc correctly loaded, of course)...
– Rmano
Dec 18 '16 at 19:20
\mathrm to use a T1 encoded font of course
– David Carlisle
Dec 18 '16 at 19:32
\frac{1}{2}applies to all macros, but omitting the brace in_\text{abc}is very specific to_(and\text) – David Carlisle Dec 17 '16 at 21:00x_\text yworks – egreg Dec 17 '16 at 22:25