How to Write the Less Than Symbol (<) in LaTeX

In LaTeX, you can write the less than symbol (<) using the \textless command.

The following examples show how to write the less than symbol in LaTeX.

How to Write the Less Than Symbol in Text

We can use the \textless command to write the less than symbol in LaTeX document for text.

Suppose we want to write the less than symbol in the text.

We can use the following LaTeX code to do so:

\documentclass{article}
\begin{document}

This is an example of using the less than symbol \textless in a sentence.

\end{document}

Output: 👇️

This is an example of using the less than symbol < in a sentence.

In this example, we use the \textless command to display the less than symbol in the text.

How to Write the Less Than Symbol in Mathematical Expressions

For mathematical expressions, We can use the < symbol directly to ensure proper formatting.

Suppose we would like to write mathematical expressions that contain the less than symbol.

We can use the following LaTeX code to do so:

\documentclass{article}
\begin{document}

An inline mathematical expression: \( a < b \).

A displayed mathematical expression:
\[
a < b
\]

\end{document}

Output: 👇️

Less Than Symbol

In this example, we use the < symbol is used directly to denote the less than symbol in both inline and displayed mathematical expressions.

Conclusion

We can use the \textless command for text and the < symbol directly for mathematical expressions. This ensures that the less than symbol is properly formatted and displayed in LaTeX document.