Knowledge base dedicated to Linux and applied mathematics.

Home > Latex > FAQ > Latex - FAQ > Latex how to write underscore

Latex how to write underscore

All the versions of this article: <English> <français>

Latex how to write underscore

To write underscore symbole in LateX, you must use backslash to protect it like follows

$\_$ is underdscore
$a\_b$ is a underdscore b
$a\_b\_c$ is a underdscore b underscore c

which gives


Also in this section

  1. How to write number sets N Z D Q R C with Latex: \mathbb, amsfonts and \mathbf
  2. How to write angle in latex langle, rangle, wedge, angle, measuredangle, sphericalangle
  3. Latex numbering equations: leqno et fleqn, left,right
  4. How to write a vector in Latex ? \vec,\overrightarrow
  5. Latex how to insert a blank or empty page with or without numbering \thispagestyle,\newpage,\usepackage{afterpage}
  6. Latex arrows
  7. Latex natural numbers
  8. Latex real numbers
  9. Latex binomial coefficient
  10. Latex overset and underset
  11. Latex absolute value
  12. Latex piecewise function
  13. Latex how to hide page number
  14. How to write algorithm and pseudocode in Latex ?\usepackage{algorithm},\usepackage{algorithmic}
  15. How to display formulas inside a box or frame in Latex ? \boxed
  16. Latex how to write underscore
  17. How to write table in Latex ? begin{tabular}...end{tabular}
  18. Latex norm for vector and sum
  19. Latex infinity symbol
  20. Latex how to write percent
  21. Latex how to write a fraction
  22. Latex how to write bar
  23. Latex how to write text in math mode
  24. Latex rational numbers
  25. Latex quaternion numbers
  26. Latex complex numbers
  27. Latex indicator function
  28. Latex plus or minus symbol
  29. Latex symbol for all x
  30. Latex symbol exists
  31. Latex symbol not exists
  32. Latex horizontal space: qquad,hspace, thinspace,enspace
  33. Latex square root symbol
  34. Latex degree symbol
  35. LateX Derivatives, Limits, Sums, Products and Integrals
  36. Latex copyright, trademark, registered symbols
  37. Latex euro symbol
  38. How to write matrices in Latex ? matrix, pmatrix, bmatrix, vmatrix, Vmatrix
  39. Horizontal and vertical curly Latex braces: \left\{,\right\},\underbrace{} and \overbrace{}
  40. How to get dots in Latex \ldots,\cdots,\vdots and \ddots
  41. Latex symbol if and only if / equivalence
  42. Latex empty set
  43. Latex normal distribution symbol