I want to write:
When I put
\textit${x_{min}}$
It also error
\textit(x_{min}} is an error as the content of \textit is text mode so can not have _
\textit$x_{min}$ is \textit{$}x_{min}$ with a lone $ as argument to \textit
the usual markup would be $x_{\min}$ or if you really do want min in italics $x_{\mathit{min}}$
If it is not mathematics then \textit{x\textsubscript{min}} is another possibility.
min :-) :-), however in principle there is no difference, so you are right :-)
– Zarko
Jan 13 '20 at 20:52
x_min ???
– David Carlisle
Jan 13 '20 at 22:55
$x_{min}$should work for the latter – leandriis Jan 13 '20 at 20:07italic. so I added in \textit{x_{min}} – aan Jan 13 '20 at 20:09$x_{\min}$instead of what you're currently doing. At best, you're need\textit{x\textsubscript{min}}. – Werner Jan 13 '20 at 20:09_for a subscript only works in math mode. Hence the error message when you use it in text mode. – leandriis Jan 13 '20 at 20:10x_{min}to be italic? The usual reason would be "because it's math", but that is the opposite of "use it in text". – Teepeemm Jan 13 '20 at 20:49