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:
MinRK 2013-10-30 15:46:44 -07:00
parent 8f440770bf
commit 95efb7ae5b

View File

@ -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}"
]
},
{