Add a math label and equation link link

This commit is contained in:
Aaron Carlisle 2017-03-08 10:53:00 -05:00
parent 78ed095265
commit 8955083f1a

View File

@ -41,6 +41,7 @@ This is a test. Here is an equation:
Here is another:
.. math::
:label: This is a label
\nabla^2 f =
\frac{1}{r^2} \frac{\partial}{\partial r}
@ -48,6 +49,8 @@ Here is another:
\frac{1}{r^2 \sin \theta} \frac{\partial f}{\partial \theta}
\left( \sin \theta \, \frac{\partial f}{\partial \theta} \right) +
\frac{1}{r^2 \sin^2\theta} \frac{\partial^2 f}{\partial \phi^2}
You can add a link to equations like the one above :eq:`This is a label` by using ``:eq:``.
Tables
======