jekyll, mathjax,

You can use LaTeX equations!!!

Sal Sal Follow Mar 04, 2019 · 1 min read
You can use LaTeX equations!!!
Share this

Thanks to Mathjax, you can use LaTeX equations. Simple inline equations like $f(x) = ax+b$ can be written simply by using

$f(x) = ax + b$

while displayed equations just like \[ f(t) = \frac{a_0}{2} + \sum\limits_{n=0}^{\infty} \left[a_n \mathrm{cos}(\omega_n t) + \mathrm{sin}(\omega_n t) \right] \] can be done by typing

 \\[ f(t) = \frac{a_0}{2} + \Sum\limits_{n=0}^{\infty} \left[a_n \mathrm{cos}(\omega_n t) + \mathrm{sin}(\omega_n t) \right]. \\]

Numbered equations can be done by using \tag{} inside equation environment as show in \[ \vec{F} = m \ddot{\vec{r}}, \tag{1} \label{eq:sample} \]

by using

\\[
\vec{F} = m \ddot{\vec{r}} \tag{1} \label{eq:sample}
\\]

Thus the equation can be referenced by using \ref{} latex command. For exemple, the eq. ($\ref{eq:sample}$) is referenced by using $\ref{eq:sample}$

For more information see Mathjax documentation

Join Newsletter
Get the latest news right in your inbox. We never spam!
Sal
Written by Sal Follow
Hi, I am Sal, the author of Mundana, the theme you're currently previewing. I hope you like it!