How can I display the index of P0 has a small letter, as well as Pn-1 (where the n-1 is small) ?
I know it's a simple thing but i'm starting with latex and not being able to hit the correct keywords on google.
In LaTeX (and TeX) the subscript is represented by an underscore
There are two styles of math:
and display style math, which could come in several ways, e.g.
To write text like indices in math mode it’s recommended to use
* The dollar sings
For the text mode there is only a
I strongly recommend that you read some LaTeX guides to learn the basics. See What is the best book to start learning LaTeX? or consult you local book dealer.