latex tabular deception

parent 59345c5d
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": { "metadata": {
"hideCode": false, "hideCode": true,
"hidePrompt": false "hidePrompt": true
}, },
"source": [ "source": [
"# Bienvenue à toi, aventurier !" "# Bienvenue à toi, aventurier !"
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 12,
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false, "hidePrompt": true,
"scrolled": true "scrolled": true
}, },
"outputs": [ "outputs": [
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
"cell": { "cell": {
"!": "OSMagics", "!": "OSMagics",
"HTML": "Other", "HTML": "Other",
"R": "RMagics",
"SVG": "Other", "SVG": "Other",
"bash": "Other", "bash": "Other",
"capture": "ExecutionMagics", "capture": "ExecutionMagics",
...@@ -52,6 +53,11 @@ ...@@ -52,6 +53,11 @@
"writefile": "OSMagics" "writefile": "OSMagics"
}, },
"line": { "line": {
"R": "RMagics",
"Rdevice": "RMagics",
"Rget": "RMagics",
"Rpull": "RMagics",
"Rpush": "RMagics",
"alias": "OSMagics", "alias": "OSMagics",
"alias_magic": "BasicMagics", "alias_magic": "BasicMagics",
"autoawait": "AsyncMagics", "autoawait": "AsyncMagics",
...@@ -153,15 +159,15 @@ ...@@ -153,15 +159,15 @@
}, },
"text/plain": [ "text/plain": [
"Available line magics:\n", "Available line magics:\n",
"%alias %alias_magic %autoawait %autocall %automagic %autosave %bookmark %cat %cd %clear %colors %conda %config %connect_info %cp %debug %dhist %dirs %doctest_mode %ed %edit %env %gui %hist %history %killbgscripts %ldir %less %lf %lk %ll %load %load_ext %loadpy %logoff %logon %logstart %logstate %logstop %ls %lsmagic %lx %macro %magic %man %matplotlib %mkdir %more %mv %notebook %page %pastebin %pdb %pdef %pdoc %pfile %pinfo %pinfo2 %pip %popd %pprint %precision %prun %psearch %psource %pushd %pwd %pycat %pylab %qtconsole %quickref %recall %rehashx %reload_ext %rep %rerun %reset %reset_selective %rm %rmdir %run %save %sc %set_env %store %sx %system %tb %time %timeit %unalias %unload_ext %who %who_ls %whos %xdel %xmode\n", "%R %Rdevice %Rget %Rpull %Rpush %alias %alias_magic %autoawait %autocall %automagic %autosave %bookmark %cat %cd %clear %colors %conda %config %connect_info %cp %debug %dhist %dirs %doctest_mode %ed %edit %env %gui %hist %history %killbgscripts %ldir %less %lf %lk %ll %load %load_ext %loadpy %logoff %logon %logstart %logstate %logstop %ls %lsmagic %lx %macro %magic %man %matplotlib %mkdir %more %mv %notebook %page %pastebin %pdb %pdef %pdoc %pfile %pinfo %pinfo2 %pip %popd %pprint %precision %prun %psearch %psource %pushd %pwd %pycat %pylab %qtconsole %quickref %recall %rehashx %reload_ext %rep %rerun %reset %reset_selective %rm %rmdir %run %save %sc %set_env %store %sx %system %tb %time %timeit %unalias %unload_ext %who %who_ls %whos %xdel %xmode\n",
"\n", "\n",
"Available cell magics:\n", "Available cell magics:\n",
"%%! %%HTML %%SVG %%bash %%capture %%debug %%file %%html %%javascript %%js %%latex %%markdown %%perl %%prun %%pypy %%python %%python2 %%python3 %%ruby %%script %%sh %%svg %%sx %%system %%time %%timeit %%writefile\n", "%%! %%HTML %%R %%SVG %%bash %%capture %%debug %%file %%html %%javascript %%js %%latex %%markdown %%perl %%prun %%pypy %%python %%python2 %%python3 %%ruby %%script %%sh %%svg %%sx %%system %%time %%timeit %%writefile\n",
"\n", "\n",
"Automagic is ON, % prefix IS NOT needed for line magics." "Automagic is ON, % prefix IS NOT needed for line magics."
] ]
}, },
"execution_count": 1, "execution_count": 12,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -175,7 +181,7 @@ ...@@ -175,7 +181,7 @@
"execution_count": 2, "execution_count": 2,
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false "hidePrompt": true
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -186,7 +192,7 @@ ...@@ -186,7 +192,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false "hidePrompt": true
}, },
"source": [ "source": [
"Mais si, c'est possible avec la carte kiwi :)" "Mais si, c'est possible avec la carte kiwi :)"
...@@ -197,7 +203,7 @@ ...@@ -197,7 +203,7 @@
"execution_count": 3, "execution_count": 3,
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false "hidePrompt": true
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -209,7 +215,7 @@ ...@@ -209,7 +215,7 @@
"execution_count": 5, "execution_count": 5,
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false "hidePrompt": true
}, },
"outputs": [ "outputs": [
{ {
...@@ -230,7 +236,7 @@ ...@@ -230,7 +236,7 @@
"execution_count": 6, "execution_count": 6,
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false "hidePrompt": true
}, },
"outputs": [ "outputs": [
{ {
...@@ -254,7 +260,7 @@ ...@@ -254,7 +260,7 @@
"execution_count": 8, "execution_count": 8,
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false "hidePrompt": true
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
...@@ -266,7 +272,7 @@ ...@@ -266,7 +272,7 @@
"execution_count": 9, "execution_count": 9,
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false "hidePrompt": true
}, },
"outputs": [ "outputs": [
{ {
...@@ -286,7 +292,7 @@ ...@@ -286,7 +292,7 @@
"execution_count": 10, "execution_count": 10,
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false "hidePrompt": true
}, },
"outputs": [ "outputs": [
{ {
...@@ -306,17 +312,92 @@ ...@@ -306,17 +312,92 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 13,
"metadata": { "metadata": {
"hideCode": false, "hideCode": false,
"hidePrompt": false "hidePrompt": true
},
"outputs": [],
"source": [
"%page"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"hideCode": true,
"hidePrompt": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"ename": "SyntaxError",
"evalue": "invalid syntax (<ipython-input-17-b7c2658eaa39>, line 1)",
"output_type": "error",
"traceback": [
"\u001b[0;36m File \u001b[0;32m\"<ipython-input-17-b7c2658eaa39>\"\u001b[0;36m, line \u001b[0;32m1\u001b[0m\n\u001b[0;31m $$\\begin{table}[]\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m invalid syntax\n"
]
}
],
"source": [
"$$\\begin{table}[]\n",
"\\begin{tabular}{lll}\n",
"Jour & XP & PV \\\\\n",
"1 & 0 & 30 \\\\\n",
"2 & 20 & 23 \\\\\n",
"3 & 100 & 1 \n",
"\\end{tabular}\n",
"\\end{table}$$"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
"data": {
"text/latex": [
"\\begin{align}\n",
"\\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}\n"
],
"text/plain": [
"<IPython.core.display.Latex object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%%latex\n",
"\\begin{align}\n",
"\\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": "code",
"execution_count": null,
"metadata": {},
"outputs": [], "outputs": [],
"source": [] "source": []
} }
], ],
"metadata": { "metadata": {
"hide_code_all_hidden": false, "hide_code_all_hidden": true,
"kernelspec": { "kernelspec": {
"display_name": "Python 3", "display_name": "Python 3",
"language": "python", "language": "python",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment