diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-31 11:40:47 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-31 11:40:47 -0800 |
commit | 3cf60c73061f247b531da4b3c18664c6134bee53 (patch) | |
tree | 55cded45b8b5503ff8fadfe91f0e6807a06ac9de /tests/rst-reader.rst | |
parent | c264dc4f5b86688552f663f1487d135b035f0b62 (diff) | |
download | pandoc-3cf60c73061f247b531da4b3c18664c6134bee53.tar.gz |
Support for math in RST reader and writer.
Inline math uses the :math:`...` construct.
Display math uses
.. math:: ...
or if multilin
.. math::
...
These seem to be supported now by rst2latex.py.
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r-- | tests/rst-reader.rst | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst index 519f0080c..cfebd2054 100644 --- a/tests/rst-reader.rst +++ b/tests/rst-reader.rst @@ -536,3 +536,32 @@ Footnotes Not in note. +Math +==== + +Some inline math :math:`E=mc^2`\ . Now some +display math: + +.. math:: E=mc^2 + +.. math:: + + E = mc^2 + +.. math:: + + E = mc^2 + + \alpha = \beta + +.. math:: + :label hithere + :nowrap + + E &= mc^2\\ + F &= \pi E + + F &= \gamma \alpha^2 + +All done. + |