How to Write LaTeX Math Symbols: ×, °, ∈, and Other Common Symbols

Organize the LaTeX notation for common symbols such as ×, °, ∈, 1/2, ⊂ (contained in), norms, °C, etc. Explain the difference between inline and display formulas, and provide steps for checking formulas in the UniDoc editor.

Key points of this article

  • Use \times for the multiplication sign and \cdot for the dot product. The letter x cannot stand in for the multiplication sign, because it would be displayed as an italic variable.
  • Use ^\circ for degrees in math expressions and \textdegree for degrees in body text. Do not mix the two.
  • Write inclusion as \subseteq (⊆) and proper subset as \subsetneq. The direction of the symbol should follow the requirements of the target journal or course.
  • Celsius can be written as 25\,^\circ\mathrm{C}, or with the \SI{25}{\celsius} command from the siunitx package.
  • After writing, check the rendered output, confirm that inline formulas are not stretching the line height, and check again after exporting.

When you first start writing papers, lecture notes, or homework in LaTeX, what often gets you stuck is not the structure of formulas but how to type a particular symbol. You want the multiplication sign ×, but you type the letter x; you want 25 degrees, but typing ° directly causes an error when compiling; you want "A is contained in B," but you cannot find the corresponding command.

This article organizes how to write symbols such as ×, °, ∈, 1/2, ⊂ (contained in), norms, and °C by usage scenario. It explains which environment each symbol belongs in, and gives steps for checking formulas in the UniDoc web editor (app.unidoc.top). After reading it, you should be able to determine which command a symbol should use and confirm that it displays correctly.

What are these symbols and how do you write them? One-sentence conclusion

Most common symbols have corresponding commands; simply place them between a pair of $...$ (inline) or $$...$$ (display). The key is to first distinguish whether the symbol is inside a math expression or in ordinary text.

Your situationRecommended PracticesCause
The multiplication sign in math expressions $a \times b$Use \timesIt is a dedicated multiplication sign; the letter x would be displayed as a variable.
Angle in mathematical formulas $\theta^\circ$Use ^\circThe degree symbol should be written as a superscript in math mode so that its position is correct.
25 degrees, or degrees Celsius, in the body textUsing \textdegree or \SI from siunitxIn plain-text mode, typing ° directly may be unreliable; using a dedicated command is more dependable.
Set relationship $A \subseteq B$Use \subseteq (⊆) or \subsetneq (⊊)The notation conventions for inclusion relations vary by field, so choose according to the requirements of the journal or course.
Fraction $\frac{1}{2}$Use \frac for between lines, and \tfrac for inline.\tfrac The font size is small and will not stretch the line spacing.

Before You Begin: Confirm These Points First

  • Whether the symbol is in math mode or in body text. Inside math (within $...$ or $$...$$), commands take effect directly. In body text, math commands such as ^\circ will not display as expected. Whenever a symbol appears outside formula delimiters, use the text-mode form instead.
  • Whether you are using a symbol or a letter. The multiplication sign × looks similar to the letter x but has a different meaning. The letter x is shown in italics as a variable, while \times produces the multiplication sign.
  • Whether the required packages are loaded. \times, \in, \subseteq, and \frac are basic commands that need no extra package. \subsetneq requires amssymb, \lVert requires amsmath, \degree requires gensymb, and \SI requires siunitx. When compilation reports "Undefined control sequence," check the packages first.
  • Symbol conventions of the discipline or journal. Some fields use ⊂ for a subset that includes equality, while others use it for a proper subset. There is no single universal answer, so follow the submission guidelines, the textbook, or your advisor's usage.

Steps for Entering and Checking Formulas in UniDoc

UniDoc's web editor supports formula editing and can convert back and forth between Word and LaTeX. Below, using formulas that contain multiplication signs, degree symbols, and inclusion relations as examples, we demonstrate how to check these symbols.

  1. Open app.unidoc.top, create a new document, and prepare a formula block at the place where the formula should be inserted.
  2. Type a \times b = c and confirm that the editor renders a multiplication sign, not the letter x.
  3. Type \theta = 90^\circ and check whether the superscript sits close to the digit and whether the degree symbol is clearly recognizable.
  4. Type A \subseteq B and check whether the direction of the symbol matches your expectation.
  5. Type \frac{1}{2} and place it in the middle of a body paragraph, then observe whether the line spacing is noticeably stretched; for inline contexts, you can also use \tfrac{1}{2} for comparison.
  6. In the body text, try both \textdegree and 25\,^\circ\mathrm{C}, and compare which one reads more naturally in the current context.
  7. Export as LaTeX source, then import or paste it back into the editor, and confirm that the formula is not distorted after the round trip.
  8. When handing the document to someone else for compilation, keep the package declarations in the preamble, and confirm that amssymb, amsmath, gensymb, siunitx, and the others are loaded.

📊 Core Comparison

Although all of these are "degree" symbols, LaTeX has several ways to write them, each suited to different situations.

Writing styleApplicable ScenariosNotes
^\circAngles in mathematical formulas, such as $\theta = 45^\circ$Can only be used in math mode; the position is determined by the superscript.
\textdegreeDegrees in the main textIn recent LaTeX kernels, it can generally be used directly.
\degreeA notation that works in both math and textNeed to load the gensymb package
\SI{25}{\celsius}Physical quantities with units, such as temperature and lengthRequires the siunitx package; spacing between numbers and units is handled uniformly by the package.

In the same document, use one consistent notation for angles and temperatures to avoid inconsistent character forms.

Verify item by item after completion

Checklist itemsHow do you see it?What should I do if I have a problem?
Is the multiplication sign correct?The multiplication sign should be a cross shape (×), not a lowercase x.Change the letter x to \times, and confirm there are spaces before and after.
Degree positionThe degree symbol should be placed directly at the upper right of the number.Use ^\circ in math formulas; in body text, use \textdegree instead.
Inclusion relation directionThe subset symbol should open toward the larger set.Verify whether it is \subseteq or \supseteq, and confirm according to the agreed convention.
Inline fraction sizeFractions should not expand the line spacing before and after them.Change \frac to \tfrac
Package errorDid you encounter "Undefined control sequence" during compilation?Add amssymb, gensymb, siunitx, and similar packages in the preamble
Round-trip consistencyAfter exporting and then re-importing, are the symbols and positions preserved?If the form is deformed, check whether it contains special notation, and replace it with standard commands.

If a formula was converted from an external file, both machine conversion and OCR results may contain misrecognitions, so key symbols need to be checked manually, one by one.

❓ Frequently Asked Questions (FAQ)

1. What is the difference between the multiplication sign × and the letter x?

The letter x is treated as a variable in math expressions and displayed in italics; \times is the multiplication sign, whose shape and spacing are specially designed. Writing 2 \times 3 instead of 2x3 avoids ambiguity.

2. How to type ° in LaTeX, and which one to use between ^\circ and \textdegree?

In math expressions, such as $\theta = 45^\circ$, use ^\circ. In body text, such as the phrasing "water temperature 25 degrees", use \textdegree. The two differ in position and glyph form, so do not mix them within the same formula.

3. How do I write °C in LaTeX?

In math mode you can write 25\,^\circ\mathrm{C}, where \, is a thin space, and \mathrm{C} keeps the letter C upright. When a document contains many quantities with units, it is recommended to use \SI{25}{\celsius} from siunitx for a more consistent format.

4. How do I type "is a subset of" in LaTeX? What is the difference between ⊂ and ⊆?

\subseteq denotes a subset, which allows the two sets to be equal; \subsetneq denotes a proper subset. Different fields do not use ⊂ consistently, so when writing, choose the convention required by the journal's submission guidelines or the textbook you are following.

5. How do I type the norm symbol? Is || okay?

Typing || directly in a math formula produces two ordinary vertical bars, whose spacing and meaning are not ideal. A norm is usually written as \|x\|. When the content inside the brackets includes fractions or otherwise needs automatic resizing, you can use \lVert x \rVert from amsmath.

📝 Summary

Most common LaTeX symbols need only one command: the multiplication sign is \times, degrees are ^\circ or \textdegree, element-of is \in, and subset-of is \subseteq. After writing, check the rendering, round-trip export, and package settings in UniDoc to avoid most display errors.

Open OmniDoc to edit, convert, or translate your LaTeX documents

Updated 2026-11-29