It is a bit subtle, but observe that the first nested subscripts or superscript has a slightly smaller size than the previous one. Subscripts and superscripts can be both used at the same time, as in the equation:Īnd they can even be nested (e.g. The same goes for the superscripts! Subscript and superscript (combined) You can see the difference between using the braces and not using them. For example, you can check the output produced by the following code: When we want to include more than one element in the subscript we will have to enclose those elements inside braces. Subscript in LaTeX can be created easily using the symbol _ (underscore). Subscripts are mainly used when we want to list certain elements, like let \(x_1,x_2,…,x_n\) be rational numbers. Superscripts can be done in LaTeX using the symbol ^. The most usual example of superscript we all learn in school is when we want to square a number \(2^2 = 4\), cube it \(2^3 = 8\), or, in general, raise it to the power of \(n\), \(2^n\). In this short tutorial, we will learn how to do subscript and superscript in LaTeX! Superscript in LaTeX These are called subscript and superscript, respectively. In mathematics, it is common to use as part of the language notation small symbols written at the top or bottom of a given symbol.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |