I tried to write METrate (where rate denotes the subscript) as $MET_rate$. But only r appears as subscript.When I tried writing it as $MET_r_a_t_e$ I get it in the correct format during compilation as expected but it throws an error "Double subscript".
Asked
Active
Viewed 5,919 times
1
1 Answers
4
Just put the subscript within curly braces. Replace $MET_rate$ by $MET_{rate}$.
ddas
- 1,205
-
1Better still, write either
$\mathrm{MET}_{\mathrm{rate}}$or$\mathit{MET}_{\mathit{rate}}$, depending on whether the variable names "MET" and "rate" should be rendered in upright or italic form. – Mico Dec 01 '15 at 06:48
{…}to get all the expression as a subscript probably answer your question. But writing this expression in math mode (i.e., surrounded by$) is probably wrong. You should have a look at this answer on\textsubscriptand consider usingmathrmoroperatorname. – Clément Dec 01 '15 at 05:23