Skip to content

Commit 1e55d2d

Browse files
updating styles
1 parent 1e47b55 commit 1e55d2d

File tree

6 files changed

+169
-93
lines changed

6 files changed

+169
-93
lines changed

Chapter1_Introduction/Chapter1_Introduction.ipynb

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,22 @@
10021002
" font-family: \"Computer Modern\";\n",
10031003
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunss.otf');\n",
10041004
" }\n",
1005+
" @font-face {\n",
1006+
" font-family: \"Computer Modern\";\n",
1007+
" font-weight: bold;\n",
1008+
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunsx.otf');\n",
1009+
" }\n",
1010+
" @font-face {\n",
1011+
" font-family: \"Computer Modern\";\n",
1012+
" font-style: oblique;\n",
1013+
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunsi.otf');\n",
1014+
" }\n",
1015+
" @font-face {\n",
1016+
" font-family: \"Computer Modern\";\n",
1017+
" font-weight: bold;\n",
1018+
" font-style: oblique;\n",
1019+
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunso.otf');\n",
1020+
" }\n",
10051021
" div.cell{\n",
10061022
" width:800px;\n",
10071023
" margin-left:16% !important;\n",
@@ -1041,13 +1057,28 @@
10411057
" .warning{\n",
10421058
" color: rgb( 240, 20, 20 )\n",
10431059
" } \n",
1044-
"</style>\n"
1060+
"</style>\n",
1061+
"<script>\n",
1062+
" MathJax.Hub.Config({\n",
1063+
" TeX: {\n",
1064+
" extensions: [\"AMSmath.js\"]\n",
1065+
" },\n",
1066+
" tex2jax: {\n",
1067+
" inlineMath: [ ['$','$'], [\"\\\\(\",\"\\\\)\"] ],\n",
1068+
" displayMath: [ ['$$','$$'], [\"\\\\[\",\"\\\\]\"] ]\n",
1069+
" },\n",
1070+
" displayAlign: 'center', // Change this to 'center' to center equations.\n",
1071+
" \"HTML-CSS\": {\n",
1072+
" styles: {'.MathJax_Display': {\"margin\": 4}}\n",
1073+
" }\n",
1074+
" });\n",
1075+
"</script>\n"
10451076
],
10461077
"metadata": {},
10471078
"output_type": "pyout",
10481079
"prompt_number": 1,
10491080
"text": [
1050-
"<IPython.core.display.HTML at 0x10f034850>"
1081+
"<IPython.core.display.HTML at 0x103dff550>"
10511082
]
10521083
}
10531084
],
@@ -1065,4 +1096,4 @@
10651096
"metadata": {}
10661097
}
10671098
]
1068-
}
1099+
}

Chapter2_MorePyMC/MorePyMC.ipynb

Lines changed: 15 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -2516,75 +2516,21 @@
25162516
" font-family: \"Computer Modern\";\n",
25172517
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunss.otf');\n",
25182518
" }\n",
2519-
" div.cell{\n",
2520-
" width:800px;\n",
2521-
" margin-left:16% !important;\n",
2522-
" margin-right:auto;\n",
2523-
" }\n",
2524-
" h1 {\n",
2525-
" font-family: Helvetica, serif;\n",
2526-
" }\n",
2527-
" h4{\n",
2528-
" margin-top:12px;\n",
2529-
" margin-bottom: 3px;\n",
2530-
" }\n",
2531-
" div.text_cell_render{\n",
2532-
" font-family: Computer Modern, \"Helvetica Neue\", Arial, Helvetica, Geneva, sans-serif;\n",
2533-
" line-height: 145%;\n",
2534-
" font-size: 130%;\n",
2535-
" width:800px;\n",
2536-
" margin-left:auto;\n",
2537-
" margin-right:auto;\n",
2538-
" }\n",
2539-
" .CodeMirror{\n",
2540-
" font-family: \"Source Code Pro\", source-code-pro,Consolas, monospace;\n",
2541-
" }\n",
2542-
" .prompt{\n",
2543-
" display: None;\n",
2519+
" @font-face {\n",
2520+
" font-family: \"Computer Modern\";\n",
2521+
" font-weight: bold;\n",
2522+
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunsx.otf');\n",
25442523
" }\n",
2545-
" .text_cell_render h5 {\n",
2546-
" font-weight: 300;\n",
2547-
" font-size: 22pt;\n",
2548-
" color: #4057A1;\n",
2549-
" font-style: italic;\n",
2550-
" margin-bottom: .5em;\n",
2551-
" margin-top: 0.5em;\n",
2552-
" display: block;\n",
2524+
" @font-face {\n",
2525+
" font-family: \"Computer Modern\";\n",
2526+
" font-style: oblique;\n",
2527+
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunsi.otf');\n",
25532528
" }\n",
2554-
" \n",
2555-
" .warning{\n",
2556-
" color: rgb( 240, 20, 20 )\n",
2557-
" } \n",
2558-
"</style>\n",
2559-
"<script>\n",
2560-
" MathJax.Hub.Config({\n",
2561-
" TeX: {\n",
2562-
" extensions: [\"AMSmath.js\"]\n",
2563-
" },\n",
2564-
" tex2jax: {\n",
2565-
" inlineMath: [ ['$','$'], [\"\\\\(\",\"\\\\)\"] ],\n",
2566-
" displayMath: [ ['$$','$$'], [\"\\\\[\",\"\\\\]\"] ]\n",
2567-
" },\n",
2568-
" displayAlign: 'center', // Change this to 'center' to center equations.\n",
2569-
" \"HTML-CSS\": {\n",
2570-
" styles: {'.MathJax_Display': {\"margin\": 4}}\n",
2571-
" }\n",
2572-
" });\n",
2573-
"</script>"
2574-
],
2575-
"metadata": {},
2576-
"output_type": "pyout",
2577-
"prompt_number": 105,
2578-
"text": [
2579-
"<IPython.core.display.HTML at 0x10f024850>"
2580-
]
2581-
},
2582-
{
2583-
"html": [
2584-
"<style>\n",
25852529
" @font-face {\n",
25862530
" font-family: \"Computer Modern\";\n",
2587-
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunss.otf');\n",
2531+
" font-weight: bold;\n",
2532+
" font-style: oblique;\n",
2533+
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunso.otf');\n",
25882534
" }\n",
25892535
" div.cell{\n",
25902536
" width:800px;\n",
@@ -2640,17 +2586,17 @@
26402586
" styles: {'.MathJax_Display': {\"margin\": 4}}\n",
26412587
" }\n",
26422588
" });\n",
2643-
"</script>"
2589+
"</script>\n"
26442590
],
26452591
"metadata": {},
26462592
"output_type": "pyout",
2647-
"prompt_number": 106,
2593+
"prompt_number": 1,
26482594
"text": [
2649-
"<IPython.core.display.HTML at 0x10f108e50>"
2595+
"<IPython.core.display.HTML at 0x10cc9f550>"
26502596
]
26512597
}
26522598
],
2653-
"prompt_number": 106
2599+
"prompt_number": 1
26542600
},
26552601
{
26562602
"cell_type": "code",

Chapter3_MCMC/IntroMCMC.ipynb

Lines changed: 33 additions & 9 deletions
Large diffs are not rendered by default.

Chapter4_TheGreatestTheoremNeverTold/LawOfLargeNumbers.ipynb

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,22 @@
11031103
" font-family: \"Computer Modern\";\n",
11041104
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunss.otf');\n",
11051105
" }\n",
1106+
" @font-face {\n",
1107+
" font-family: \"Computer Modern\";\n",
1108+
" font-weight: bold;\n",
1109+
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunsx.otf');\n",
1110+
" }\n",
1111+
" @font-face {\n",
1112+
" font-family: \"Computer Modern\";\n",
1113+
" font-style: oblique;\n",
1114+
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunsi.otf');\n",
1115+
" }\n",
1116+
" @font-face {\n",
1117+
" font-family: \"Computer Modern\";\n",
1118+
" font-weight: bold;\n",
1119+
" font-style: oblique;\n",
1120+
" src: url('http://9dbb143991406a7c655e-aa5fcb0a5a4ec34cff238a2d56ca4144.r56.cf5.rackcdn.com/cmunso.otf');\n",
1121+
" }\n",
11061122
" div.cell{\n",
11071123
" width:800px;\n",
11081124
" margin-left:16% !important;\n",
@@ -1157,16 +1173,17 @@
11571173
" styles: {'.MathJax_Display': {\"margin\": 4}}\n",
11581174
" }\n",
11591175
" });\n",
1160-
"</script>"
1176+
"</script>\n"
11611177
],
1178+
"metadata": {},
11621179
"output_type": "pyout",
1163-
"prompt_number": 32,
1180+
"prompt_number": 1,
11641181
"text": [
1165-
"<IPython.core.display.HTML at 0x1155d1210>"
1182+
"<IPython.core.display.HTML at 0x10d46b550>"
11661183
]
11671184
}
11681185
],
1169-
"prompt_number": 32
1186+
"prompt_number": 1
11701187
},
11711188
{
11721189
"cell_type": "markdown",

Chapter5_LossFunctions/LossFunctions.ipynb

Lines changed: 34 additions & 5 deletions
Large diffs are not rendered by default.

Chapter6_Priorities/Priors.ipynb

Lines changed: 32 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)