Skip to content

Commit 5f5ee73

Browse files
chp1 style for mathajx
1 parent 7957a80 commit 5f5ee73

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

Chapter1_Introduction/Chapter1_Introduction.ipynb

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
" div.text_cell_render{\n",
4141
" font-family: Computer Modern, \"Helvetica Neue\", Arial, Helvetica, Geneva, sans-serif;\n",
4242
" line-height: 145%;\n",
43-
" font-size: 110%;\n",
43+
" font-size: 120%;\n",
4444
" width:800px;\n",
4545
" margin-left:auto;\n",
4646
" margin-right:auto;\n",
@@ -54,6 +54,27 @@
5454
"</style>"
5555
]
5656
},
57+
{
58+
"cell_type": "markdown",
59+
"metadata": {},
60+
"source": [
61+
"<script>\n",
62+
" MathJax.Hub.Config({\n",
63+
" TeX: {\n",
64+
" extensions: [\"AMSmath.js\"]\n",
65+
" },\n",
66+
" tex2jax: {\n",
67+
" inlineMath: [ ['$','$'], [\"\\\\(\",\"\\\\)\"] ],\n",
68+
" displayMath: [ ['$$','$$'], [\"\\\\[\",\"\\\\]\"] ]\n",
69+
" },\n",
70+
" displayAlign: 'center', // Change this to 'center' to center equations.\n",
71+
" \"HTML-CSS\": {\n",
72+
" styles: {'.MathJax_Display': {\"margin\": 4}}\n",
73+
" }\n",
74+
" });\n",
75+
"</script>"
76+
]
77+
},
5778
{
5879
"cell_type": "markdown",
5980
"metadata": {},

0 commit comments

Comments
 (0)