Created
February 21, 2014 18:03
-
-
Save ahmadia/9139649 to your computer and use it in GitHub Desktop.
test.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:1158fead9543c8d3045d3c16256fcb369b7f32ab49b355a03facca15d6c448aa" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"import markdown" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [], | |
"prompt_number": 1 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"markdown.markdown(\"*some Markdown*\")" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"metadata": {}, | |
"output_type": "pyout", | |
"prompt_number": 2, | |
"text": [ | |
"u'<p><em>some Markdown</em></p>'" | |
] | |
} | |
], | |
"prompt_number": 2 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"markdown.markdown(\"*some Markdown with ```\\begin{align} x=3 \\end{align}```\")" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"metadata": {}, | |
"output_type": "pyout", | |
"prompt_number": 7, | |
"text": [ | |
"u'<p>*some Markdown with <code>\\x08egin{align} x=3 \\\\end{align}</code></p>'" | |
] | |
} | |
], | |
"prompt_number": 7 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"markdown.markdown(\"*some Markdown with $$x=3$$\")" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"metadata": {}, | |
"output_type": "pyout", | |
"prompt_number": 8, | |
"text": [ | |
"u'<p>*some Markdown with $$x=3$$</p>'" | |
] | |
} | |
], | |
"prompt_number": 8 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"markdown.markdown(\"*some Markdown with $x=3$\")" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"metadata": {}, | |
"output_type": "pyout", | |
"prompt_number": 9, | |
"text": [ | |
"u'<p>*some Markdown with $x=3$</p>'" | |
] | |
} | |
], | |
"prompt_number": 9 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"markdown.markdown(\"*some Markdown with $$x=3 \\bold{x}$$\")" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"metadata": {}, | |
"output_type": "pyout", | |
"prompt_number": 10, | |
"text": [ | |
"u'<p>*some Markdown with $$x=3 \\x08old{x}$$</p>'" | |
] | |
} | |
], | |
"prompt_number": 10 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"markdown.markdown(\"\"\"\\begin{align}\n", | |
" \\vec{r} = x\\vec{e}_x + y\\vec{e}_y = x\\vec{e}_x + x^2\\vec{e}_y\n", | |
"\\end{align}\n", | |
"\"\"\")" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"metadata": {}, | |
"output_type": "pyout", | |
"prompt_number": 11, | |
"text": [ | |
"u'<p>\\x08egin{align}\\n \\x0bec{r} = x\\x0bec{e}_x + y\\x0bec{e}_y = x\\x0bec{e}_x + x^2\\x0bec{e}_y\\n\\\\end{align}</p>'" | |
] | |
} | |
], | |
"prompt_number": 11 | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"Let us consider a particle sliding on a parabola which has a profile of:\n", | |
"\n", | |
"\\begin{align}\n", | |
" y = x^2\n", | |
"\\end{align}\n", | |
"\n", | |
"The coordinates of the particle are shown in Figure 1.\n", | |
"\n", | |
"Let us consider a particle sliding on a parabola which has a profile of:\n", | |
"\n", | |
"$$\n", | |
"\\begin{align}\n", | |
" y = x^2\n", | |
"\\end{align}\n", | |
"$$\n", | |
"\n", | |
"Let us consider a particle sliding on a parabola which has a profile of:\n", | |
"\n", | |
"$$\n", | |
" y = x^2\n", | |
"$$\n", | |
"\n", | |
"The coordinates of the particle are shown in Figure 1.\n", | |
"\n", | |
"The coordinates of the particle are shown in Figure 1." | |
] | |
} | |
], | |
"metadata": {} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment