MathCard Guide
Create beautiful mathematical cards for X.
What is MathCard?
MathCard turns plain text and mathematical expressions into image cards that are easy to post on X.
Basic Workflow
- Write text and formulas.
- Select LaTeX code and click Inline or Math.
- Click Copy Image.
- Click Open X.
- Paste the copied image into the X composer and post.
Insertion Buttons
- Inline — Inserts $...$. Best for mathematical expressions inside normal text.
- Math — Inserts [math]...[/math]. Best for standalone equations.
Supported Formula Syntax
[math]...[/math]
[math]
x^2+y^2=z^2
[/math]$$...$$
$$
x^2+y^2=z^2
$$$...$
Use single dollar signs for inline math:
Euler's identity is $e^{i\pi}+1=0$.
- Inline inserts inline math, while Math inserts a standalone display equation. Either button can wrap selected LaTeX or insert an empty expression.
- [math]...[/math] and $$...$$ create block math; $...$ creates inline math.
- Full Markdown is not supported.
Common LaTeX Syntax
| Purpose | Input |
|---|---|
| Power | x^2 |
| Subscript | a_n |
| Fraction | \frac{a}{b} |
| Square root | \sqrt{x} |
| Greek letters | \alpha, \beta, \pi |
| Sum | \sum_{k=1}^{n} k |
| Integral | \int_0^1 x^2\,dx |
| Limit | \lim_{x \to 0} |
Matrix
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
Aligned equations
\begin{aligned}
a+b &= c \\
d+e &= f
\end{aligned}
Rendered Examples
Tips
- Multiple formula blocks are supported.
- [math]...[/math] and $$...$$ may be used in the same card.
- Invalid formulas do not crash the application.
- Very long formulas may need to be shortened to fit the card cleanly.
- The exported PNG matches the visible CardPreview.
- Save PNG and Copy Text are optional secondary actions.
