How do you put a subscript in LaTeX?

Asked By: Mamerta Zambudio | Last Updated: 31st January, 2020
Category: technology and computing desktop publishing
4.5/5 (506 Views . 43 Votes)
To get an expression exp to appear as a 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.

Click to see full answer


Also to know is, 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!

Furthermore, what does missing inserted mean in LaTeX? The "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 .

Beside above, 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.

What is a LaTeX document?

ː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.

32 Related Question Answers Found

How do you write less than or equal to in LaTeX?

Less-than OR Less-than-equal with one symbol
  1. If a is larger than b, we write: a > b.
  2. If a is larger than or equal to b, we write: a >= b.

How do you cite an equation in LaTeX?

  1. You can simple use egin{align}x+ylabel{eq:1}end{align} and later use ef{eq:1} or eqref{eq:1} to reference to the equation. –
  2. You can put one label on each line and refer to a particular equation.

How do you make a percent sign in LaTeX?

The percent symbol % is a comment character.

There are several ways to code this in LaTeX:
  1. Place a space after the command: man oe ?uvre.
  2. Place an empty brace after the command: man oe {}uvre.
  3. Group the command: man{ oe }uvre. (This can adversely affect the kerning so is best avoided.)

What does a subscript do?

A subscript is just a letter or number written to the right of something and below it. There's no reason it has to have any meaning; the superscript used for an exponent is just the notation someone chose long ago to use for powers, and has no inherent significance apart from that arbitrary choice.

What is a subscript in algebra?


A subscript is a character or string that is smaller than the preceding text and sits at or below the baseline. When used in the context "Fn," it refers to a function evaluated for the value "n." The text n-1 and n-2 are also subscripts that define previous values of "n" in the sequence.

What is N subscript A in chemistry?

Chemical formulas use letters and numbers to represent chemical species (i.e., compounds, ions). The numbers appearing as subscripts in the chemical formula indicate the number of atoms of the element immediately before the subscript. If no subscript appears, one atom of that element is present.

What are coefficients?

In math and science, a coefficient is a constant term related to the properties of a product. In the equation that measures friction, for example, the number that always stays the same is the coefficient. In algebra, the coefficient is the number that you multiply a variable by, like the 4 in 4x=y.

What is a subscript zero?

Commonly, variables with a zero in the subscript are referred to as the variable name followed by "naught" (e.g. v0 would be read, "v-naught"). Also in mathematics and computing, a subscript can be used to represent the radix, or base, of a written number, especially where multiple bases are used alongside each other.

What do superscripts represent?

In chemical equations, superscripts are used to show the charge of ions of the atoms or molecules. They are placed immediately after the chemical formula with their sign denoting whether it is an anion (negatively charged) or a cation (positively charged).

How do you pronounce XO?


It's definitely pronounced 'naught' (sounds almost like "not" or the beginning of "naughty" without the "ty" on the end). At least this is true for American Engineering, Physics, and Mathematics.

What happens when a subscript is found outside of parentheses?

Parentheses. In such a formula, the subscript outside the parentheses means that to count atoms, you must multiply that subscript by the numbers of atoms inside. Here's an example.

What is the lower exponent called?

The base, as the name suggests, is the number on the bottom. The other part of the notation is a small number written in superscript to the right of the base, called the exponent.

How do you superscript?

Use keyboard shortcuts to apply superscript or subscript
  1. Select the text or number that you want.
  2. For superscript, press Ctrl, Shift, and the Plus sign (+) at the same time. For subscript, press Ctrl and the Equal sign (=) at the same time. (Do not press Shift.)

How do I type Unicode?

Inserting Unicode characters
To insert a Unicode character, type the character code, press ALT, and then press X. For example, to type a dollar symbol ($), type 0024, press ALT, and then press X. For more Unicode character codes, see Unicode character code charts by script.

How do you express an exponent in text?


Press the "Ctrl," "Shift" and "=" keys on your keyboard to turn on the Superscript mode. Enter another number or expression signifying the exponent. Superscript mode raises the level of the text and reduces the font size, producing a professional-looking exponent.

What is the symbol for does not equal?

Not equal. The symbol used to denote inequation (when items are not equal) is a slashed equals sign "" (U+2260).

How do you write a superscript in Java?

Superscript digits have code points U+2070 to U+2079, and subscripts '- U+2080 to U+2089, there are few more superscripted/subscripted characters.