mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
use align environment, not aligned
aligned is only for when you are already inside a math environment (e.g. inside align)
This commit is contained in:
parent
8f440770bf
commit
95efb7ae5b
@ -1,6 +1,6 @@
|
||||
{
|
||||
"metadata": {
|
||||
"name": "Typesetting Math Using MathJax"
|
||||
"name": ""
|
||||
},
|
||||
"nbformat": 3,
|
||||
"nbformat_minor": 0,
|
||||
@ -24,18 +24,18 @@
|
||||
"\n",
|
||||
"## The Lorenz Equations\n",
|
||||
"### Source\n",
|
||||
"```\\begin{aligned}\n",
|
||||
"```\\begin{align}\n",
|
||||
"\\dot{x} & = \\sigma(y-x) \\\\\n",
|
||||
"\\dot{y} & = \\rho x - y - xz \\\\\n",
|
||||
"\\dot{z} & = -\\beta z + xy\n",
|
||||
"\\end{aligned}\n",
|
||||
"\\end{align}\n",
|
||||
"```\n",
|
||||
"### Display\n",
|
||||
"\\begin{aligned}\n",
|
||||
"\\begin{align}\n",
|
||||
"\\dot{x} & = \\sigma(y-x) \\\\\n",
|
||||
"\\dot{y} & = \\rho x - y - xz \\\\\n",
|
||||
"\\dot{z} & = -\\beta z + xy\n",
|
||||
"\\end{aligned}"
|
||||
"\\end{align}"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -140,18 +140,18 @@
|
||||
"source": [
|
||||
"## Maxwell's Equations\n",
|
||||
"### Source\n",
|
||||
"```\\begin{aligned}\n",
|
||||
"```\\begin{align}\n",
|
||||
"\\nabla \\times \\vec{\\mathbf{B}} -\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{E}}}{\\partial t} & = \\frac{4\\pi}{c}\\vec{\\mathbf{j}} \\\\ \\nabla \\cdot \\vec{\\mathbf{E}} & = 4 \\pi \\rho \\\\\n",
|
||||
"\\nabla \\times \\vec{\\mathbf{E}}\\, +\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{B}}}{\\partial t} & = \\vec{\\mathbf{0}} \\\\\n",
|
||||
"\\nabla \\cdot \\vec{\\mathbf{B}} & = 0 \n",
|
||||
"\\end{aligned}\n",
|
||||
"\\end{align}\n",
|
||||
"```\n",
|
||||
"### Display\n",
|
||||
"\\begin{aligned}\n",
|
||||
"\\begin{align}\n",
|
||||
"\\nabla \\times \\vec{\\mathbf{B}} -\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{E}}}{\\partial t} & = \\frac{4\\pi}{c}\\vec{\\mathbf{j}} \\\\ \\nabla \\cdot \\vec{\\mathbf{E}} & = 4 \\pi \\rho \\\\\n",
|
||||
"\\nabla \\times \\vec{\\mathbf{E}}\\, +\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{B}}}{\\partial t} & = \\vec{\\mathbf{0}} \\\\\n",
|
||||
"\\nabla \\cdot \\vec{\\mathbf{B}} & = 0 \n",
|
||||
"\\end{aligned}"
|
||||
"\\end{align}"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user