Owlstown supports writing \(\LaTeX\) math in blocks that have text:
- Text block
- Callout block
- Markdown block
Owlstown uses MathJax to support this feature.
How to use
To add math to a text block, use delimiters at start and end of your equations.
For inline equations, use \(
and \)
.
This equation code \( ax^2 + \sqrt{bx} + c = 0 \)
renders as \( ax^2 + \sqrt{bx} + c = 0 \)
For centered equations, use \[
and \]
.
This equation code \[ x = {-b \pm \sqrt{b^2-4ac} \over 2a} \]
renders as:
\[ x = {-b \pm \sqrt{b^2-4ac} \over 2a} \]
Markdown support
The delimiters in Markdown are different from text blocks. Notice the two backslashes.
For inline equations, use \\(
and \\)
.
This equation code \\( ax^2 + \sqrt{bx} + c = 0 \\)
renders as \( ax^2 + \sqrt{bx} + c = 0 \)
For centered equations, use \\[
and \\]
.
This equation code \\[ x = {-b \pm \sqrt{b^2-4ac} \over 2a} \\]
renders as:
\[ x = {-b \pm \sqrt{b^2-4ac} \over 2a} \]