metanohi/site/projects/mege/tests/math.org

40 lines
601 B
Org Mode
Raw Normal View History

2011-07-26 03:04:17 +02:00
#+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.
2011-08-01 22:39:41 +02:00
** 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