Math-Mode – How to Write a Variable with a Subscript in LaTeX
math-modesymbols
How do you write something like the variable underlined in red in LaTex? The example I found looks something like this: $\d{A}\d{0}$, but it doesn't work.
Best Answer
You get subscripts in maths mode with _{<stuff>}, so to get an A with a subscript zero you'd type $A_{0}$.
You can put {\raisebox{2pt}{$\scriptstyle-$}} in the subscript. You may need to play with \mathchoice if you want a solution that will work in subsubscripts as well.
Best Answer
You get subscripts in maths mode with
_{<stuff>}
, so to get an A with a subscript zero you'd type$A_{0}$
.