40 lines
601 B
Org Mode
40 lines
601 B
Org Mode
#+title: Test of mege math
|
|
#&summary
|
|
Math in mege
|
|
#&
|
|
#+license: bysa
|
|
|
|
* Test of mege math
|
|
|
|
While the <@eval macros.titlelink('basics', page.pathdir)@> does include math,
|
|
this test contains more. And all of it's different.
|
|
|
|
** Inline
|
|
|
|
Blah: $2+2$
|
|
|
|
** Block, way #1
|
|
|
|
#&math
|
|
\begin{align*}
|
|
\sqrt{\sqrt{32x} + 14y} = 31
|
|
\end{align*}
|
|
#&
|
|
|
|
** Block, way #2
|
|
|
|
#+BEGIN_SRC latex
|
|
\begin{align*}
|
|
a^p \equiv a \mod p, a \in Z, p \text{ is prime}
|
|
\end{align*}
|
|
#+END_SRC
|
|
|
|
** Block, way #2, highlighted
|
|
|
|
#++high
|
|
#+BEGIN_SRC latex
|
|
\begin{align*}
|
|
a^p \equiv a \mod p, a \in Z, p \text{ is prime}
|
|
\end{align*}
|
|
#+END_SRC
|