latex tabular deception

parent 59345c5d
......@@ -3,8 +3,8 @@
{
"cell_type": "markdown",
"metadata": {
"hideCode": false,
"hidePrompt": false
"hideCode": true,
"hidePrompt": true
},
"source": [
"# Bienvenue à toi, aventurier !"
......@@ -12,10 +12,10 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 12,
"metadata": {
"hideCode": false,
"hidePrompt": false,
"hidePrompt": true,
"scrolled": true
},
"outputs": [
......@@ -25,6 +25,7 @@
"cell": {
"!": "OSMagics",
"HTML": "Other",
"R": "RMagics",
"SVG": "Other",
"bash": "Other",
"capture": "ExecutionMagics",
......@@ -52,6 +53,11 @@
"writefile": "OSMagics"
},
"line": {
"R": "RMagics",
"Rdevice": "RMagics",
"Rget": "RMagics",
"Rpull": "RMagics",
"Rpush": "RMagics",
"alias": "OSMagics",
"alias_magic": "BasicMagics",
"autoawait": "AsyncMagics",
......@@ -153,15 +159,15 @@
},
"text/plain": [
"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",
"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",
"Automagic is ON, % prefix IS NOT needed for line magics."
]
},
"execution_count": 1,
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
......@@ -175,7 +181,7 @@
"execution_count": 2,
"metadata": {
"hideCode": false,
"hidePrompt": false
"hidePrompt": true
},
"outputs": [],
"source": [
......@@ -186,7 +192,7 @@
"cell_type": "markdown",
"metadata": {
"hideCode": false,
"hidePrompt": false
"hidePrompt": true
},
"source": [
"Mais si, c'est possible avec la carte kiwi :)"
......@@ -197,7 +203,7 @@
"execution_count": 3,
"metadata": {
"hideCode": false,
"hidePrompt": false
"hidePrompt": true
},
"outputs": [],
"source": [
......@@ -209,7 +215,7 @@
"execution_count": 5,
"metadata": {
"hideCode": false,
"hidePrompt": false
"hidePrompt": true
},
"outputs": [
{
......@@ -230,7 +236,7 @@
"execution_count": 6,
"metadata": {
"hideCode": false,
"hidePrompt": false
"hidePrompt": true
},
"outputs": [
{
......@@ -254,7 +260,7 @@
"execution_count": 8,
"metadata": {
"hideCode": false,
"hidePrompt": false
"hidePrompt": true
},
"outputs": [],
"source": [
......@@ -266,7 +272,7 @@
"execution_count": 9,
"metadata": {
"hideCode": false,
"hidePrompt": false
"hidePrompt": true
},
"outputs": [
{
......@@ -286,7 +292,7 @@
"execution_count": 10,
"metadata": {
"hideCode": false,
"hidePrompt": false
"hidePrompt": true
},
"outputs": [
{
......@@ -306,17 +312,92 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 13,
"metadata": {
"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": [],
"source": []
}
],
"metadata": {
"hide_code_all_hidden": false,
"hide_code_all_hidden": true,
"kernelspec": {
"display_name": "Python 3",
"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