Working with LaTeX Equations
This site now supports LaTeX equations powered by KaTeX.
You can use both inline and display math directly in your Markdown files.
Inline Math
Section titled “Inline Math”Use single dollar signs for inline equations:
The famous energy-mass equivalence is .
The logistic map, often used to study complex systems, is given by .
Display Equations
Section titled “Display Equations”For larger, centered equations use double dollar signs:
More Examples
Section titled “More Examples”Sums and Products
Section titled “Sums and Products”Matrices
Section titled “Matrices”The covariance matrix in quantitative finance often looks like this:
Black-Scholes (Simplified)
Section titled “Black-Scholes (Simplified)”The price of a European call option under the Black-Scholes model:
where
Complex Systems: Lorenz Attractor
Section titled “Complex Systems: Lorenz Attractor”The Lorenz equations, a classic example of chaotic behavior:
Usage Tips
Section titled “Usage Tips”- Inline:
$ ... $ - Display:
$$ ... $$or\[ ... \] - KaTeX supports most common LaTeX math commands, including
\begin{align},\begin{matrix}, and many more. - For very advanced needs, you can also use the
$$syntax inside MDX files.
Happy writing!