This article aims to show you the simplest and easiest way to write the less than symbol in LaTeX.
The less than symbol is part of the inequalities symbols you are familiar with, used in everyday life. That is why today you will learn more about this particular one, and how to write this symbol in your LaTeX document.
Inequality symbols
In mathematics, by definition an inequality is a relation that makes a non-equal comparison between two values, numbers, or expressions. To represent an inequality we used the inequality symbols, there are different kinds of inequalities, for example,
Today we center our attention on the less than a symbol. This symbol or sign denoted by “<”, states that the first number is less than the second one.
The less than inequality is known as a strict inequality, meaning that 1 is strictly less than 3.
Less than symbol in LaTeX
If you know your keyboard you know where the key “<” is, you could be tempted to use it, but sooner you would see that the output does not look like what you expected. Therefore this symbol cannot be used in text mode.
In LaTeX to write the “<” symbol, you only can use it inside math mode -denoted by a pair of dollar signs- in the latex code. The complete command would look like $<$, let’s see an example
\documentclass{article}
\begin{document}
Less than command \verb|$ < $|: $ < $ \\
$ 100 < 101 $ \\
\end{document}
Going the extra mile, in case you are wondering how to write the less than or equal symbol -this is known as a not strictly inequality- you use the command \leq inside math mode, alongside the amssymb package.
\documentclass{article}
\begin{document}
Less than or equal \verb|\leq|: $ \leq $ \\
$ a \leq b$
\end{document}
There you have it, the LaTeX commands for the less than, and the less than or equal symbols.
Another thing to notice is that there could be more combinations that include both of these symbols but they are not so common.
I hope this tutorial was helpful, and as always keep writing in LaTeX
All images were created in LaTeX by the Author.
Further Reading
LaTex Tutorial on Symbols
- How To Create A Cross Product Symbol In LaTeX
- How to create a hat symbol in LaTeX?
- How to create a prime symbol in LaTeX?
- How to create an absolute value symbol in LaTeX?
- How to create an approximate symbol in LaTeX?
- How to create an intersection symbol in LaTeX?
- How to create the empty set symbol in LaTeX?
- How to write a degree symbol in LaTeX?
- How to write a dot product in LaTeX?
- How to Write a Greater Than Symbol in LaTeX?
- How to write a norm symbol in LaTeX?
- How to write A Plus-Minus Symbol in LaTeX
- How to write a proportional to symbol in LaTeX?
- How to write a real number symbol in LaTeX?
- How to write a tilde symbol in LaTeX?
- How to write a union symbol in LaTeX?
- How to write a vector in LaTeX?
- How to write an infinity symbol in LaTeX?
- How to write bold text in LaTeX?
- How To Write Dots Symbols In LaTeX?
- How to write the arrow symbols in LaTeX
- How to write the Degree celsius symbol in LaTeX?
- How to write the equal or not equal symbol in LaTeX?
- How to write the Euro symbol in LaTeX?
- How to write the floor symbol in LaTeX?
- How to write the gradient operator symbol in LaTeX
- How To Write The Greater Than Or Equal To Symbol In LaTeX?
- How to write the integer number symbol in LaTeX?
- How to write the Natural numbers symbol in LaTeX?
- How to write the parallel symbol in LaTeX?
- How to write the percent symbol in LaTeX?
- How to write the square root symbol in LaTeX?
- How To Write The Symbol For A Subset In LaTeX?
- How to write the symbol for therefore in LaTeX?
- How to write with the mathbb in LaTeX?