File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
docs/source/examples/Notebook Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 175175 " Courtesy of MathJax, you can include mathematical expressions both inline: \n " ,
176176 " $e^{i\\ pi} + 1 = 0$ and displayed:\n " ,
177177 " \n " ,
178- " $$e^x=\\ sum_{i=0}^\\ infty \\ frac{1}{i!}x^i$$\n " ,
178+ " \\ begin{equation}\n " ,
179+ " e^x=\\ sum_{i=0}^\\ infty \\ frac{1}{i!}x^i\n " ,
180+ " \\ end{equation}\n " ,
179181 " \n " ,
180182 " Inline expressions can be added by surrounding the latex code with `$`:\n " ,
181183 " \n " ,
182184 " ```\n " ,
183185 " $e^{i\\ pi} + 1 = 0$\n " ,
184186 " ```\n " ,
185187 " \n " ,
186- " Expressions on their own line are surrounded by `$$ `:\n " ,
188+ " Expressions on their own line are surrounded by `\\ begin{equation}` and ` \\ end{equation} `:\n " ,
187189 " \n " ,
188190 " ```latex\n " ,
189- " $$e^x=\\ sum_{i=0}^\\ infty \\ frac{1}{i!}x^i$$\n " ,
191+ " \\ begin{equation}\n " ,
192+ " e^x=\\ sum_{i=0}^\\ infty \\ frac{1}{i!}x^i\n " ,
193+ " \\ end{equation}\n " ,
190194 " ```"
191195 ]
192196 },
You can’t perform that action at this time.
0 commit comments