Gamma in LaTeX (\gamma)

γ\gamma
LaTeX command
\gamma
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
γU+03B3

Where it is used

Lowercase Greek gamma, used for the Euler-Mascheroni constant, the Lorentz factor, and discount factors.

\gamma is the Lorentz factor \gamma = 1/\sqrt{1 - v^2/c^2} in special relativity and the Euler-Mascheroni constant \gamma \approx 0.5772 in analysis. Reinforcement learning uses it as the discount factor in \sum_t \gamma^t r_t, and physics uses it for gamma rays and photons. In geometry it often names the third angle of a triangle after \alpha and \beta, and in complex analysis \gamma is a curve or contour. Note the uppercase \Gamma, which is the gamma function, is a separate command; do not write \Gamma for the constant.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

Gt=∑k=0∞γkrt+k+1G_t = \sum_{k=0}^{\infty} \gamma^{k} r_{t+k+1}
\documentclass{article}
\begin{document}
Gamma: $\gamma$

\[ G_t = \sum_{k=0}^{\infty} \gamma^{k} r_{t+k+1} \]
\end{document}

Related symbols

All الرموز اليونانية →

Frequently asked questions

How do I write Gamma in LaTeX?
Type \gamma in math mode, for example $G_t = \sum_{k=0}^{\infty} \gamma^{k} r_{t+k+1}$. It works in plain LaTeX without loading any package.
Which package do I need for \gamma?
None. \gamma is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \gamma in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\gamma$ in running text. If you only need the glyph in text, paste the Unicode character γ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث