Introduction
Need to add mathematical expressions to your gamma? Gamma makes it easy to include clean, readable equations using both block and inline formats.
Whether you're building a teaching deck, research doc, or anything in between - here's how to bring the math.
🌀 Insight: We also support mathematical typesetting using KaTeX, a fast and reliable LaTeX rendering engine.
How to Add Math to Your Gamma
You can insert full math blocks for standalone equations or use inline math for formulas within a sentence.
Step 1: Insert a Math Block
Use a math block when you want your equation to appear on its own line, centered and easy to read.
Type “/math block”
Select the ”Math Block” option from the command menu
A new centered equation field will appear
Step 2: Add Inline Math
Use inline math when you want a smaller equation to appear within a sentence.
Type “/inline math”
Select ”Inline Math” from the menu
Enter your expression inside the popup input field
eg. The Pythagorean theorem states that "/inline math" → a^2 + b^2 = c^2
Step 3: Use Superscripts and Subscripts
Gamma supports superscripts and subscripts using standard LaTeX commands within math blocks or inline math.
For superscripts: Use the ”^” symbol
Example: x^2
For subscripts: Use the ”_” symbol
Example: x_1
💎 Pro Tip: Use curly braces {} when applying exponents or indices to more than one character eg. x^{10} or x_{total}
Step 4: Format Using KaTeX
Gamma uses KaTeX for rendering math, which supports most LaTeX syntax.
To write more complex equations, follow KaTeX formatting rules
For a comprehensive list of all TeX commands KaTeX can render here:
FAQs & Common Issues
Why doesn’t my equation render?
Make sure you’ve typed the math command properly using LaTeX syntax. Even a small typo can cause rendering issues.
Can I copy and paste LaTeX from another source?
Yes! Just paste it inside a math block or inline math field and Gamma will attempt to render it using KaTeX.
Can I change the alignment of math blocks?
Math blocks are always centered by default. For inline placement, use inline math instead.
What if my equation is too long?
Consider breaking it into multiple lines or simplifying the expression using LaTeX formatting best practices