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