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.
- Enter LaTeX code, select the part you want to display as a formula, and click Math.
- Click Copy Image.
- Click Open X.
- Paste the copied image into the X composer and post.
Supported Formula Syntax
[math]...[/math]
[math]
x^2+y^2=z^2
[/math]$$...$$
$$
x^2+y^2=z^2
$$- Enter LaTeX code, select the part you want to display as a formula, and click Math. If no text is selected, an empty math block is inserted.
- Both syntaxes are parsed into the same internal math block.
- 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.
