# How do you put a subscript in LaTeX?

**subscript**, you just type _{exp} . To get exp to appear as a

**superscript**, you type ^{exp} .

**LaTeX**handles superscripted superscripts and all of that stuff in the natural way. It even does the right thing when something has both a

**subscript**and a

**superscript**.

In this regard, how do you do a subscript in plain text?

Use "_" (underscore) for **subscripts**. If the **subscript** has more than one character, enclose it in braces: "lim_{x --> 0} sin (x) / x". (This is what mathematicians are used to.) Use "/" for division, but remember the parentheses!

**Missing**$

**inserted**" is probably caused by the underscores and bars. These characters in

**LaTeX**have special

**meaning**in math mode (which is delimited by $ characters). Try escaping them; e.g. update\_element instead of update_element .

People also ask, how do you type subscript in R?

To indicate a **subscript**, use the underscore _ character. To indicate a **superscript**, use a single caret character ^ . Note: this can be confusing, because the **R** Markdown language delimits superscripts with two carets. In LaTeX equations, a single caret indicates the **superscript**.

ːt?x/ LAH-tekh or /ˈle?t?x/ LAY-tekh) is a **document** preparation system. **LaTeX** uses the TeX typesetting program for formatting its output, and is itself written in the TeX macro language. **LaTeX** can be used as a standalone **document** preparation system, or as an intermediate format.