How to Write the Small Circle Symbol (∘) in LaTeX
In LaTeX, you can write the small circle symbol (∘), often used to denote function composition, using the \circ
command.
The following examples show how to write the small circle symbol in LaTeX.
How to Write the Small Circle Symbol in Text
We can use the \circ
command to write the small circle symbol in LaTeX document for text.
Suppose we want to write the small circle 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 small circle symbol \( f \circ g \) in a sentence.
\end{document}
Output: 👇️
This is an example of using the small circle symbol f ∘ g in a sentence.
In this example, we use the \circ
command to display the small circle symbol in the text.
How to Write the Small Circle Symbol in Mathematical Expressions
For mathematical expressions, we can use the \circ
command to ensure proper formatting.
Suppose we would like to write mathematical expressions that contain the small circle symbol.
We can use the following LaTeX code to do so:
\documentclass{article}
\begin{document}
An inline mathematical expression: \( f \circ g \).
A displayed mathematical expression:
\[
(f \circ g)(x) = f(g(x))
\]
\end{document}
Output: 👇️
In this example, we use the \circ
command to denote the small circle symbol in both inline and displayed mathematical expressions.
Conclusion
We can use the \circ
command for both text and mathematical expressions. This ensures that the small circle symbol is properly formatted and displayed in LaTeX document.