What is $$ in LaTeX?
Isabella Bartlett
Updated on January 20, 2026
$$ ? LaTeX defines inline- and display-maths commands, apparently duplicating the TeX primitive maths sequences which surround maths commands with single (or pairs of) dollar signs. In fact, LaTeX's inline maths grouping, \( ... \) , has (almost) exactly the same effect as the TeX primitive version $ ...
How do I write symbols in LaTeX?
You may be wondering how to insert symbols in LaTeX. It is possible to add certain symbols in-text while others require LaTeX's math mode to be activated. ”, you can use the command \star in your code.What is inline mode in LaTeX?
For writing math equations in LaTeX, there are two writing modes: the inline mode and the display mode. The inline mode is used to write formulas that are part of the text and the display mode is used to write expressions that are not part of the text and hence are put on different lines.How do you write subscripts in LaTeX?
To write text as a subscript, use an underscore followed by the text in curly brackets. The symbol "&" on its own is used as part of a code in LaTeX. To enter and use this symbol as a character, simply use the \& command.How do you write absolute value in LaTeX?
The general method to display an absolute value (or the modulus symbol) in LaTeX is by surrounding the number, variable, or expression with two vertical lines, | . The keyboard shortcut for the this symbol is Alt + 124. To use this shortcut, press Down the [Alt] key whilst typing 124.Why LaTeX?
How do you write absolute value?
Absolute Value Examples and EquationsThe most common way to represent the absolute value of a number or expression is to surround it with the absolute value symbol: two vertical straight lines. |6| = 6 means “the absolute value of 6 is 6.” |–6| = 6 means “the absolute value of –6 is 6.”
How do you type absolute value?
Typing the Absolute Value SignOn most computer keyboards, you can find the "|" symbol above the backslash, which looks like "". To type it, simply hold down the shift key and strike the backslash key. On a smart phone, you will likely need to hit a symbols key to access this symbol with a few extra taps.
How do you write subscript?
To make text appear slightly above (superscript) or below (subscript) your regular text, you can use keyboard shortcuts.
- Select the character that you want to format.
- 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.