mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-12 14:00:27 +08:00
example notebook: don't recommend using $$...$$ for display math
This commit is contained in:
parent
02024f0b9a
commit
99adc0e5c4
@ -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…
x
Reference in New Issue
Block a user