From c3703b3b1013cb971dc2f0298fb832756910a353 Mon Sep 17 00:00:00 2001 From: IGARASHI Masanao Date: Mon, 15 Dec 2014 06:42:04 +0900 Subject: [PATCH] Update README.org --- README.org | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.org b/README.org index 359abcb..dd9bf8e 100644 --- a/README.org +++ b/README.org @@ -353,6 +353,32 @@ E = mc\ :sup:`2`\ #+END_SRC +** LaTeX fragments + + Org: +#+BEGIN_EXAMPLE + If $a^2=b$ and \( b=2 \), then the solution must be + either $$ a=+\sqrt{2} $$ or \[ a=-\sqrt{2} \]. +#+END_EXAMPLE + + reStructuredText: +#+BEGIN_SRC rst + If :math:`a^2=b` and :math:`b=2`, then the solution must be +either + +.. math:: + + a=+\sqrt{2} + + or + +.. math:: + + a=-\sqrt{2} + +. +#+END_SRC + ** Horizontal rules Org: