mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-27 03:20:27 +08:00
Merge pull request #4466 from minrk/pandoc-preamble
various pandoc latex fixes - add missing declarations to latex_base (required for pandoc-highlighted code in markdown) - fix ansi color in latex, which didn't work in a variety of ways. closes #4245
This commit is contained in:
commit
4ee44b3871
@ -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