From f9280708b2e438f0b6dcdb834afa95ddc4480bb5 Mon Sep 17 00:00:00 2001 From: juan serrano Date: Sat, 12 Sep 2015 04:02:34 -0700 Subject: [PATCH] Add examples of latex expressions --- .../Notebook/Working With Markdown Cells.ipynb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/source/examples/Notebook/Working With Markdown Cells.ipynb b/docs/source/examples/Notebook/Working With Markdown Cells.ipynb index 235eec4ec..6b7d291e1 100644 --- a/docs/source/examples/Notebook/Working With Markdown Cells.ipynb +++ b/docs/source/examples/Notebook/Working With Markdown Cells.ipynb @@ -166,7 +166,17 @@ "Courtesy of MathJax, you can include mathematical expressions both inline: \n", "$e^{i\\pi} + 1 = 0$ and displayed:\n", "\n", - "$$e^x=\\sum_{i=0}^\\infty \\frac{1}{i!}x^i$$" + "$$e^x=\\sum_{i=0}^\\infty \\frac{1}{i!}x^i$$", + "\n", + "Inline expressions can be added by surrounding the latex code with `$`:\n", + "```\n", + "$e^{i\\pi} + 1 = 0$\n", + "```\n", + "\n", + "Expressions on their own line are surrounded by `$$`:\n", + "```latex\n", + "$$e^x=\\sum_{i=0}^\\infty \\frac{1}{i!}x^i$$\n", + "```" ] }, {