Merge pull request #5893 from mgeier/review-notebook-examples

example notebook: don't recommend using $$...$$ for display math
pull/5904/head
Kevin Bates 5 years ago committed by GitHub
commit c5a0f804f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -175,7 +175,9 @@
"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$$\n",
"\\begin{equation}\n",
"e^x=\\sum_{i=0}^\\infty \\frac{1}{i!}x^i\n",
"\\end{equation}\n",
"\n",
"Inline expressions can be added by surrounding the latex code with `$`:\n",
"\n",
@ -183,10 +185,12 @@
"$e^{i\\pi} + 1 = 0$\n",
"```\n",
"\n",
"Expressions on their own line are surrounded by `$$`:\n",
"Expressions on their own line are surrounded by `\\begin{equation}` and `\\end{equation}`:\n",
"\n",
"```latex\n",
"$$e^x=\\sum_{i=0}^\\infty \\frac{1}{i!}x^i$$\n",
"\\begin{equation}\n",
"e^x=\\sum_{i=0}^\\infty \\frac{1}{i!}x^i\n",
"\\end{equation}\n",
"```"
]
},

Loading…
Cancel
Save