{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 1. Telling Stories with Jupyter Notebooks" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "

### Doug Blank\n", "Bryn Mawr College\n", "Department of Computer Science\n", "

" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "*For telling stories in Digital Humanities, Mathematics, Sciences, Art, and Computing.*" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 1.1 Markdown\n", "\n", "Simple formatting including **bold**, *italics*, ~~strike through~~, lists, links, etc.\n", "\n", "1. Thing one\n", "1. Thing two\n", "1. Thing three\n", "\n", "> This is a quote from an important person. - Me" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### 1.1.1 HTML\n", "\n", "Can mix in HTML in the Markdown." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### 1.1.2 Images\n", "\n", "Including images:\n", "\n", "" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### 1.1.3 Equations" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### 1.1.3.1 Maxwell's Equations" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "\\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{align}" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### 1.1.3.2 Probability" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The probability of getting $k$ heads when flipping $n$ coins:" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "\\begin{equation*}\n", "P(E) = {n \\choose k} p^k (1-p)^{ n-k}\n", "\\end{equation*}" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## 1.2 StoryMapJS" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "From [storymap.KnightLab.com](https://storymap.KnightLab.com)" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false, "format": "tab" }, "outputs": [ { "data": { "text/html": [ "\n", "
\n", "\n", "\n", "\n", "\n", "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "%%html\n", "\n", "