-
Notifications
You must be signed in to change notification settings - Fork 197
Math
This page describes using of math formulas with ReText.
In Debian-based systems (such as Ubuntu or Mint), all you should do is
sudo apt install libjs-mathjax
On systems where MathJax is not packaged, you can download it from GitHub and extract to /usr/share/javascript/mathjax
directory.
If ReText can't find MathJax, it will fall back to using the online version, for which you should have an Internet connection.
Math in ReText will work only when using WebKit or WebEngine (Chromium) renderer. You can enable one of them from Edit menu, e.g. “Edit → Use WebKit renderer”.
MathJax supports most of the standard LaTeX syntax, as well as some AMS extensions. See MathJax TeX and LaTeX support page for details.
This and this Wikibooks articles provide a great overview of LaTeX mathematical syntax.
You can use both TeX- and LaTeX-styles of boundaries:
Inline math | Standalone math |
---|---|
$...$ (disabled by default) |
$$...$$ |
\(...\) |
\[...\] |
To enable the $...$
delimiter, add mdx_math(enable_dollar_delimiter=1)
to your list of extensions.
See Markdown extensions page for details on how to enable extensions.
You can also use \begin...\end
expressions:
\begin{equation}
Numbered equation
\end{equation}
Letter | Code | Letter | Code |
---|---|---|---|
α | \alpha | Α | |
β | \beta | Β | |
γ | \gamma | Γ | \Gamma |
δ | \delta | Δ | \Delta |
ε | \epsilon | Ε | |
ζ | \zeta | Ζ | |
η | \eta | Η | |
θ | \theta | Θ | \Theta |
ι | \iota | Ι | |
κ | \kappa | Κ | |
λ | \lambda | Λ | \Lambda |
μ | \mu | Μ | |
ν | \nu | Ν | |
ξ | \xi | Ξ | \Xi |
ο | \omicron | Ο | |
π | \pi | Π | \Pi |
ρ | \rho | Ρ | |
σ | \sigma | Σ | \Sigma |
τ | \tau | Τ | |
υ | \upsilon | Υ | \Upsilon |
φ | \phi | Φ | \Phi |
χ | \chi | Χ | |
ψ | \psi | Ψ | \Psi |
ω | \omega | Ω | \Omega |
Pages in this wiki:
- Home
- Installing ReText
- FAQ
- Markdown syntax extensions
- Math formulas
- Export extensions
- Table editing mode
- FakeVim mode
Documentation in git repository: