Code
and
Markdown
. You can click on one of these to add a
new cell to the notebook.
Enter
or Esc
.
$ E=m c^2 $
. For displayed equations shown
on a separate line, you can use $$ \int_{-\infty}^{\infty} e^{-x^2} = \sqrt{\pi}. $$
.
\[a^2 + b^2 = c^2\]
. However,
you can (and should) use an align*
environment for
groups of equations, like this:
\begin{align*}
a &= 12345 \\
b &= 67890 \\
c &= a + b
\end{align*}
\tag{}
to label equations that you want
to refer to later, like this:
$$ \frac{1}{\pi} = \frac{2 \sqrt 2}{99^2} \sum_{k=0}^\infty
\frac{(4k)!}{k!^4} \frac{26390k+1103}{396^{4k}} \tag{A} $$
Then you can write "Equation (A) was proved by Ramanujan" in the text.
\left(
and \right)
, for example
$ \left( \frac{a}{b} \right)\left(\sum_i c_i\right) $
.
#
symbol followed by a space to indicate a major heading,
like
# My New Theory of Everything
.#
symbols for more minor headings.
-
symbol followed by a space to indicate a bullet point.
You can use 1.
followed by a space to indicate a numbered list.
**
to indicate bold text, like **important**
.
Use *
to indicate italic text, like *urgent*
.
Python was developed by [Guido van Rossum](https://en.wikipedia.org/wiki/Guido_van_Rossum).
CTRL-C
, then paste it into a markdown
cell with CTRL-V
. When the markdown cell is open for editing,
you will see text like this: 
.
When the cell is closed, you will see the image instead of the text.
When the image is inserted this way, the image data is stored in the
notebook file, so you can move the notebook to another computer and
the image will still be there.