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