diff --git a/quantecon_book_theme/layout.html b/quantecon_book_theme/layout.html
index dc28d50..0f28cc9 100644
--- a/quantecon_book_theme/layout.html
+++ b/quantecon_book_theme/layout.html
@@ -199,6 +199,37 @@
touch: false,
});
feather.replace();
+ window.MathJax = {
+ startup: {
+ ready: () => {
+ console.log('MathJax is loaded, but not yet initialized');
+ MathJax.startup.defaultReady();
+ console.log('MathJax is initialized, and the initial typeset is queued');
+ }
+ },
+ tex: {
+ inlineMath: [
+ ['$', '$'],
+ ['\\(', '\\)'],
+ ],
+ processEscapes: true
+ },
+ chtml: {
+ scale: 0.92,
+ displayAlign: "center"
+ },
+ svg: {
+ scale: 0.92,
+ displayAlign: "center",
+ },
+ options: {
+ menuOptions: {
+ settings: {
+ renderer: 'SVG'
+ }
+ }
+ },
+ };
{%- endblock %}
diff --git a/quantecon_book_theme/static/quantecon-book-theme.e15eeb84e703e8a6ad0ca02f57d51d0e.js b/quantecon_book_theme/static/quantecon-book-theme.4437c52682462236109142e624e7c099.js
similarity index 95%
rename from quantecon_book_theme/static/quantecon-book-theme.e15eeb84e703e8a6ad0ca02f57d51d0e.js
rename to quantecon_book_theme/static/quantecon-book-theme.4437c52682462236109142e624e7c099.js
index fe28ea2..1f4bee1 100644
--- a/quantecon_book_theme/static/quantecon-book-theme.e15eeb84e703e8a6ad0ca02f57d51d0e.js
+++ b/quantecon_book_theme/static/quantecon-book-theme.4437c52682462236109142e624e7c099.js
@@ -7,5 +7,4 @@ setFontSize();$('.btn__plus').on('click',function(event){event.preventDefault();
localStorage.toolbarFont=toolbarFont;setFontSize();});$('.btn__minus').on('click',function(event){event.preventDefault();event.stopPropagation();var toolbarFont=parseInt(localStorage.getItem('toolbarFont'))-1;if(toolbarFont<0){toolbarFont=-1;}
localStorage.toolbarFont=toolbarFont;setFontSize();});const collapsableCodeBlocks=document.querySelectorAll("div[class^='collapse'] .highlight");for(var i=0;iShow less...Show more...';collapsableCodeBlocks[i].parentNode.insertBefore(toggleContainer,collapsableCodeBlocks[i].nextSibling);}
const collapsableCodeToggles=document.querySelectorAll("div[class^='collapse'] .toggle");for(var i=0;i.active>ul{display:block}.page__toc .nav .nav{display:none}.page__header{border-bottom:5px solid #0072bc;margin:0 0 4rem 0;padding:0 0 1rem 0}.main-index .page__header{display:none}.page__header-copy{display:flex}@media (max-width: 768px){.page__header-copy{flex-direction:column-reverse}}.page__header-heading{margin:0 1rem 0 0;font-weight:700;flex-shrink:0}.page__header-heading a{color:#444 !important}@media (max-width: 768px){.page__header-heading{font-weight:400;font-size:0.9rem}}.page__header-subheading{margin:0}@media (max-width: 768px){.page__header-subheading{margin:0 0 0.5rem 0;font-weight:700}}.page__header-authors{margin:0.25rem 0 0 0;font-size:0.9rem}@media (max-width: 768px){.page__header-authors{font-size:0.8rem}}.page__content .caption-text{font-weight:normal;font-family:'PT Serif', serif;font-size:1.2rem}.page__content span.eqno{float:right;font-size:1.2em}.page__footer{border-top:5px solid #0072bc;margin:2rem 0;padding:1rem 0 0 0;font-size:0.8rem;opacity:0.7}.main-index h1{border-bottom:5px solid #0072bc;margin:0 0 2rem 0;padding:0 0 1rem 0;font-weight:700}.sidebar{top:0px;left:0px;z-index:1;background-color:#efefef;padding:2rem;margin:0;border-right:1px solid #ccc;width:250px;transform:translate3d(0px, 0px, 0px);visibility:visible;transition:all 0.2s ease 0s;height:100vh;overflow-y:scroll;position:fixed;padding-top:5rem}@media (max-width: 1340px){.sidebar{box-shadow:10px 10px 5px 9999px rgba(255,255,255,0.8);width:300px}}@media (min-width: 1439px){.sidebar{width:300px}}@media (min-width: 1600px){.sidebar{width:350px}}.sidebar.inactive{transform:translate3d(-100%, 0px, 0px);visibility:visible;box-shadow:none}.sidebar__header{margin:0 0 1rem 0;font-family:'Source Sans Pro', sans-serif;font-weight:700;font-size:1rem}.sidebar__nav{font-size:0.9rem}.sidebar__nav ul{list-style:none;display:block;margin:0;padding:0}.sidebar__nav ul ul{padding-left:1rem}.sidebar__nav ul li{margin:0.25rem 0;padding:0}.sidebar__nav ul li .caption{margin-top:1rem !important}.sidebar__nav ul li a{color:#444;opacity:0.8}.sidebar__nav ul li a.active{color:#0072bc;opacity:1}.sidebar__nav .caption-text{font-weight:normal;font-family:'PT Serif', serif}.sidebar__footer{text-align:center;margin:2rem 0 0 0}.bd-search{background-color:#eff1f2;border-bottom:0;margin:0 -2rem 0 -2rem;padding:2rem;width:calc(100% + 4rem);position:relative}.bd-search .form-control{display:block;height:2.75rem;border:solid 1px rgba(210,215,217,0.75);background:#ffffff;border-radius:0.3rem;padding:0 1em;width:100%}.bd-search svg{transform:scaleX(-1);color:#7f888f;cursor:default;display:block;height:2.75rem;opacity:0.325;position:absolute;right:2.75rem;text-align:center;top:2rem}.page__content .table-container{overflow-x:scroll}.page__content table{max-width:100%;border-collapse:collapse;border:0;background-color:transparent}.page__content table tbody tr:nth-child(odd){background-color:#f7f7f7}.page__content table td,.page__content table th{padding:0.25rem 0.75rem;text-align:left;vertical-align:top;border:0}.page__content table td>p,.page__content table th>p{margin:0}.page__content table th{font-weight:bold}.page__content table thead tr th{text-align:left !important}.page__content table thead th,.page__content table thead td{vertical-align:bottom;border:0;border-top:0;border-bottom:1px solid #e1e1e1}.page__content .admonition{font-size:0.9rem;margin:1.5rem auto;padding:0 1rem 0.5rem 1rem;page-break-inside:avoid;box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.1),0 0 0.05rem rgba(0,0,0,0.1)}.page__content .admonition .admonition-title{position:relative;margin:0 -1rem;padding:0.25rem 2rem;font-weight:700;background-color:#0072bc26}.page__content a.copybtn{top:0.4em;opacity:0.2}.page__content #contents{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.page__content #contents+ul{list-style:none;padding:0 !important;border:1px solid #ddd !important;border-width:0 0 0 1px !important;margin:0 0 0 20px !important}.page__content #contents+ul>li{margin:0}.page__content #contents+ul>li>a{display:none}.page__content #contents+ul>li>ul{list-style:disc}.page__content #contents+ul>li>ul>li{margin:0}.page__content .anchor-link{visibility:hidden;text-decoration:none;color:#555;margin-left:6px;padding:0 4px 0 4px;font-family:'Source Sans Pro', sans-serif;font-size:0.8em}.page__content .anchor-link:hover{color:#555;text-decoration:none}.page__content *:hover>.anchor-link{visibility:visible}.page__content div.highlight{background:none;margin-bottom:1em}.page__content div.cell div.highlight{margin-bottom:0em}.page__content .cell .input,.page__content .cell .output{position:relative}.page__content .cell .output .prompt,.page__content .cell .input .prompt{visibility:hidden;position:absolute;top:0rem;left:-55px;width:45px}.page__content .cell .input .prompt:before{content:'In';color:#303f9f;top:0.25rem}.page__content .headerlink{visibility:hidden;text-decoration:none;color:#555;margin-left:6px;padding:0 4px 0 4px;font-family:'Source Sans Pro', sans-serif;font-size:0.8rem}.page__content .headerlink:hover{color:#555}.page__content *:hover>.headerlink{visibility:visible}.page__content .rendered_html img{max-width:100%;display:block;margin:0 auto}.page__content .output_png img{max-width:100%;display:block;margin:0 auto}.page__content .math{color:#333}.page__content a .math{color:#0072bc}.page__content div.math{margin:2rem 0}.page__content .MathJax{color:#333;margin:2rem 0;display:inline !important}.page__content a .MathJax{color:#0072bc}.page__content .figure{text-align:center}.page__content .figure.align-left{text-align:left}.page__content .figure.align-right{text-align:right}.page__content .cell_output img{display:block;margin-left:auto;margin-right:auto}div.cell div.cell_output{padding-right:0}div.cell.tag_scroll-output div.cell_output{max-height:24em;overflow-y:auto}div.cell.tag_scroll-input div.cell_input{max-height:24em;overflow-y:auto}.bd-sidebar .nav:hover{text-decoration:underline}.bd-sidebar .nav li>a{padding:0px;font-size:0.9rem}
+@import url("https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,700;1,400&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap");/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */html{color:#222;font-size:1em;line-height:1.4}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.hidden,[hidden]{display:none !important}.sr-only{border:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sr-only.focusable:active,.sr-only.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;white-space:inherit;width:auto}.invisible{visibility:hidden}.clearfix::before,.clearfix::after{content:" ";display:table}.clearfix::after{clear:both}@media print{*,*::before,*::after{background:#fff !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]::after{content:" (" attr(href) ")"}abbr[title]::after{content:" (" attr(title) ")"}a[href^="#"]::after,a[href^="javascript:"]::after{content:""}pre{white-space:pre-wrap !important}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}body div.cell div.cell_input{border-left-color:#0072bc}#qe-notebook-header{display:none}.home-intro{display:flex;align-content:center}.home-blurb{font-size:1.1rem;line-height:1.5}.home-intro .sponsor{list-style:none;padding:0;flex-shrink:0;margin:0 60px 0 4rem;text-align:center}.home-intro .sponsor li{display:block;margin:1rem 0;padding:0}.web-version{display:inline-block;padding:2rem 0rem}.web-version a{display:block;color:#23262c;border:1px solid #23262c;border-radius:5px;padding:1rem 40px 1rem 120px;position:relative}.web-version a:hover{border-color:#23262c;text-decoration:none;background:#23262c;color:#fff}.web-version a:hover p{color:#eee}.web-version a .thumb{position:absolute;left:40px;top:1rem;font-size:3.5rem;color:#23262c}.web-version a .thumb img{width:50px}.web-version a h2{line-height:1;margin:0;font-size:1.4rem}.web-version a p{margin:10px 0 0 0;color:#444}.home-alternatives{padding:1rem 0rem}.home-alternatives ul{list-style:none;padding:0;margin:0 0}.home-alternatives li{padding:0;margin:1rem 1rem}.home-alternatives li a{display:block;color:#23262c;border:1px solid #ddd;border-radius:5px;padding:1rem 25px 1rem 75px;position:relative}.home-alternatives li a:hover{border-color:#23262c;text-decoration:none;background:#23262c;color:#fff}.home-alternatives li a:hover svg{color:#fff}.home-alternatives li a:hover p{color:#eee}.home-alternatives li a svg{position:absolute;left:25px;top:1rem;font-size:2rem;color:#23262c}.home-alternatives li a h3{line-height:1;margin:0;font-size:1.2rem}.home-alternatives li a p{margin:10px 0 0 0;color:#444}.highlight{margin:0;padding:0.5rem 10px;border:1px solid #e1e1e1;background:#f7f7f7;border-radius:2px}.highlight{position:relative}.highlight:before{position:absolute;top:0.25rem;left:-40px;font-weight:bold;width:25px;text-align:left;color:#303f9f;font-family:monospace, serif;font-weight:400}.highlight-none .highlight{background:#ffffff;border:0;padding:0;margin:0rem 0 1.5rem 0}.highlight pre{overflow-x:auto;white-space:pre;word-wrap:normal;margin:0.25rem 0}.highlight .hll{background-color:#ffc}.highlight .c{color:#60a0b0;font-style:italic}.highlight .err{border:1px solid red}.highlight .k{color:#007020;font-weight:700}.highlight .o{color:#666}.highlight .cm{color:#60a0b0;font-style:italic}.highlight .cp{color:#007020}.highlight .c1{color:#60a0b0;font-style:italic}.highlight .cs{color:#60a0b0;background-color:#fff0f0}.highlight .gd{color:#a00000}.highlight .ge{font-style:italic}.highlight .gr{color:red}.highlight .gh{color:navy;font-weight:700}.highlight .gi{color:#00a000}.highlight .go{color:#888}.highlight .gp{color:#c65d09;font-weight:700}.highlight .gs{font-weight:700}.highlight .gu{color:purple;font-weight:700}.highlight .gt{color:#04d}.highlight .kc{color:#007020;font-weight:700}.highlight .kd{color:#007020;font-weight:700}.highlight .kn{color:#007020;font-weight:700}.highlight .kp{color:#007020}.highlight .kr{color:#007020;font-weight:700}.highlight .kt{color:#902000}.highlight .m{color:#40a070}.highlight .s{color:#4070a0}.highlight .na{color:#4070a0}.highlight .nb{color:#007020}.highlight .nc{color:#0e84b5;font-weight:700}.highlight .no{color:#60add5}.highlight .nd{color:#555;font-weight:700}.highlight .ni{color:#d55537;font-weight:700}.highlight .ne{color:#007020}.highlight .nf{color:#06287e}.highlight .nl{color:#002070;font-weight:700}.highlight .nn{color:#0e84b5;font-weight:700}.highlight .nt{color:#062873;font-weight:700}.highlight .nv{color:#bb60d5}.highlight .ow{color:#007020;font-weight:700}.highlight .w{color:#bbb}.highlight .mf{color:#40a070}.highlight .mh{color:#40a070}.highlight .mi{color:#40a070}.highlight .mo{color:#40a070}.highlight .sb{color:#4070a0}.highlight .sc{color:#4070a0}.highlight .sd{color:#4070a0;font-style:italic}.highlight .s2{color:#4070a0}.highlight .se{color:#4070a0;font-weight:700}.highlight .sh{color:#4070a0}.highlight .si{color:#70a0d0;font-style:italic}.highlight .sx{color:#c65d09}.highlight .sr{color:#235388}.highlight .s1{color:#4070a0}.highlight .ss{color:#517918}.highlight .bp{color:#007020}.highlight .vc{color:#bb60d5}.highlight .vg{color:#bb60d5}.highlight .vi{color:#bb60d5}.highlight .il{color:#40a070}.ansi-bold,.ansibold{font-weight:700}.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-fg{color:#282c36}.ansi-black-intense-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-fg{color:#b22b31}.ansi-red-intense-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-fg{color:#007427}.ansi-green-intense-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-fg{color:#b27d12}.ansi-yellow-intense-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-fg{color:#0065ca}.ansi-blue-intense-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-fg{color:#a03196}.ansi-magenta-intense-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-fg{color:#258f8f}.ansi-cyan-intense-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-fg{color:#a1a6b2}.ansi-white-intense-bg{background-color:#a1a6b2}.ansi-default-inverse-bg,.ansibgblack{background-color:#000}.ansi-default-inverse-fg{color:#fff}.ansi-underline{text-decoration:underline}.ansi-inverse{outline:dotted 0.5px}.ansiblack{color:#000}.ansired{color:#8b0000}.ansigreen{color:#006400}.ansiyellow{color:#c4a000}.ansiblue{color:#00008b}.ansipurple{color:#9400d3}.ansicyan{color:#4682b4}.ansigray{color:gray}.ansibgred{background-color:red}.ansibggreen{background-color:green}.ansibgyellow{background-color:#ff0}.ansibgblue{background-color:#00f}.ansibgpurple{background-color:#f0f}.ansibgcyan{background-color:#0ff}.ansibggray{background-color:gray}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box}html{scroll-behavior:smooth;font-size:1rem}html.font-plus{font-size:1.2rem}html.font-minus{font-size:0.9rem}@media (min-width: 768px){html{font-size:16px}html.font-plus{font-size:calc(16px * 1.2)}html.font-minus{font-size:calc(16px * 0.9)}}@media (min-width: 992px){html{font-size:18px}html.font-plus{font-size:calc(18px * 1.2)}html.font-minus{font-size:calc(18px * 0.9)}}@media (min-width: 1200px){html{font-size:18px}html.font-plus{font-size:calc(18px * 1.2)}html.font-minus{font-size:calc(18px * 0.9)}}.show-for-sr{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0, 0, 0, 0)}body{font-size:1rem;line-height:1.5;font-weight:400;padding-top:0px;color:#444;font-family:'Source Sans Pro', sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.dark-theme{background:#333;color:#fff !important}body.dark-theme a,body.dark-theme h1,body.dark-theme h2,body.dark-theme h3,body.dark-theme h4{color:#fff !important}body.dark-theme cite,body.dark-theme code,body.dark-theme tt{background-color:transparent}body.dark-theme .maths,body.dark-theme .math{color:#fff !important}body.dark-theme .highlight{background:#222 !important}body.dark-theme .toolbar,body.dark-theme .drawer,body.dark-theme .sidebar,body.dark-theme .drawer .inner{background:#444}body.dark-theme .btn__search input{color:#fff}body.dark-theme .btn__search input:focus{border-color:#fff}body.dark-theme .page__content .image-reference img{filter:invert(100%) hue-rotate(-180deg) !important;-ms-filter:invert(100%) !important;-webkit-filter:invert(100%) hue-rotate(-180deg) !important}.section,.reference,.math{scroll-margin-top:60px}h1{font-weight:900;font-size:3rem;margin:0 0 1rem 0}h2{font-weight:900;font-size:3rem}h3{font-weight:900;font-size:2.5rem}h4{font-weight:900;font-size:2rem}a{transition:all 0.2s ease-in-out;text-decoration:underline}h1,h2,h3 h4,h5{font-weight:normal;font-family:'PT Serif', serif}h1{font-size:2em;color:#333}h2{font-size:1.7rem}h3{font-size:1.4rem}h4{font-size:1.2rem;font-family:'Source Sans Pro', sans-serif;color:#000}strong,b{font-weight:700}li{margin:0.5rem 0}a{color:#0072bc;text-decoration:none;transition:all 0.15s linear;overflow-wrap:break-word}a:hover{color:#004979;text-decoration:underline}a:visited{color:#004979}pre{font-size:0.9rem;white-space:pre-wrap;word-wrap:break-word}cite,code,tt{font-family:'Source Code Pro', monospace;letter-spacing:0.01rem;background-color:#efefef;font-style:normal;border:1px dotted #cccccc;border-radius:2px;padding:0 2px;font-size:0.9rem;overflow-wrap:break-word}.wrapper{margin:0 0 0 0;display:flex;flex-direction:column-reverse}.main{position:relative;display:flex;flex-direction:row-reverse;justify-content:center;padding-left:2rem;padding-right:2rem;padding-top:4rem}.toolbar{position:sticky;top:0;width:100%;padding:0 1rem;z-index:2;background-color:#efefef;border-bottom:1px solid #ccc}.toolbar__inner{margin:0 auto 0 auto;height:50px;line-height:1;display:flex;justify-content:space-between;align-items:center}.toolbar ul{list-style:none;padding:0;margin:0;display:flex;align-items:center}.toolbar li{margin:0 10px;padding:0;cursor:pointer;transition:all 0.2s ease-in-out;opacity:0.8}.toolbar li:hover,.toolbar li.btn-active{opacity:1;transform:scale(1.1)}.toolbar li a{color:#444}.toolbar li.btn__plus{opacity:0.5}.font-plus .toolbar li.btn__plus{opacity:1;transform:scale(1.1)}.toolbar li.btn__minus{opacity:0.5}.font-minus .toolbar li.btn__minus{opacity:1;transform:scale(1.1)}.toolbar li.btn__contrast{opacity:0.5;margin-right:2rem}.toolbar li.btn__fullscreen{opacity:0.5}.toolbar li.btn__search{display:flex;align-items:center}.toolbar li.btn__search input{height:auto;display:inline-block;width:175px;border:1px solid #ccc;border-radius:2px;background-color:#f8f8f8;margin:0 -28px 0 0;line-height:1;font-size:0.9rem;padding:0.3rem 0.5rem;transition:all 0.2s linear;outline:0;display:none}.toolbar li.btn__search input:focus{border-color:#444}.toolbar li.btn__search svg{background-color:transparent;z-index:999}.toolbar li.btn__search:hover{transform:none}.toolbar li.btn__search:hover input{border-color:#444}.toolbar li.btn__qelogo a{display:block;overflow:hidden;height:30px;width:105px;background:url(https://assets.quantecon.org/img/menubar/qemb-logo.png) no-repeat left top;background-size:105px 30px}.toolbar li svg{width:20px;height:20px}@media (max-width: 576px){.toolbar li.btn__plus,.toolbar li.btn__minus,.toolbar li.btn__fullscreen,.toolbar li.btn__search{display:none}}.page{max-width:800px;position:relative;flex-grow:1}@media (max-width: 768px){.page{max-width:100%}}.page__toc{position:absolute;right:calc(-200px - 3rem);top:0;margin:0;height:100%;width:200px}@media (max-width: 1350px){.page__toc{display:none}}.page__toc .inner{height:100%}.page__toc-header{font-weight:700;margin:0 0 1rem 0}.page__toc-nav{font-size:0.9rem}.page__toc-nav ul{list-style:none;margin:0;padding:0}.page__toc-nav ul ul{padding-left:1rem}.page__toc-nav ul li{margin:0.25rem 0;padding:0}.page__toc-nav ul li a{color:#444;opacity:0.8}.page__toc-nav ul li a.active{color:#0072bc;opacity:1}.page__toc-nav .logo img{max-width:150px}.page__toc-nav .powered{font-size:0.8rem}.page__toc-footer{position:sticky;top:6rem;margin:2rem 0 0 0;font-size:0.9rem}.page__toc-footer a{color:#444;opacity:0.8;text-decoration:none}.page__toc-footer a:hover{color:#0072bc;opacity:1}.page__toc .nav>.active>ul{display:block}.page__toc .nav .nav{display:none}.page__header{border-bottom:5px solid #0072bc;margin:0 0 4rem 0;padding:0 0 1rem 0}.main-index .page__header{display:none}.page__header-copy{display:flex}@media (max-width: 768px){.page__header-copy{flex-direction:column-reverse}}.page__header-heading{margin:0 1rem 0 0;font-weight:700;flex-shrink:0}.page__header-heading a{color:#444 !important}@media (max-width: 768px){.page__header-heading{font-weight:400;font-size:0.9rem}}.page__header-subheading{margin:0}@media (max-width: 768px){.page__header-subheading{margin:0 0 0.5rem 0;font-weight:700}}.page__header-authors{margin:0.25rem 0 0 0;font-size:0.9rem}@media (max-width: 768px){.page__header-authors{font-size:0.8rem}}.page__content .caption-text{font-weight:normal;font-family:'PT Serif', serif;font-size:1.2rem}.page__content span.eqno{float:right;font-size:1.2em}.page__footer{border-top:5px solid #0072bc;margin:2rem 0;padding:1rem 0 0 0;font-size:0.8rem;opacity:0.7}.main-index h1{border-bottom:5px solid #0072bc;margin:0 0 2rem 0;padding:0 0 1rem 0;font-weight:700}.sidebar{top:0px;left:0px;z-index:1;background-color:#efefef;padding:2rem;margin:0;border-right:1px solid #ccc;width:250px;transform:translate3d(0px, 0px, 0px);visibility:visible;transition:all 0.2s ease 0s;height:100vh;overflow-y:scroll;position:fixed;padding-top:5rem}@media (max-width: 1340px){.sidebar{box-shadow:10px 10px 5px 9999px rgba(255,255,255,0.8);width:300px}}@media (min-width: 1439px){.sidebar{width:300px}}@media (min-width: 1600px){.sidebar{width:350px}}.sidebar.inactive{transform:translate3d(-100%, 0px, 0px);visibility:visible;box-shadow:none}.sidebar__header{margin:0 0 1rem 0;font-family:'Source Sans Pro', sans-serif;font-weight:700;font-size:1rem}.sidebar__nav{font-size:0.9rem}.sidebar__nav ul{list-style:none;display:block;margin:0;padding:0}.sidebar__nav ul ul{padding-left:1rem}.sidebar__nav ul li{margin:0.25rem 0;padding:0}.sidebar__nav ul li .caption{margin-top:1rem !important}.sidebar__nav ul li a{color:#444;opacity:0.8}.sidebar__nav ul li a.active{color:#0072bc;opacity:1}.sidebar__nav .caption-text{font-weight:normal;font-family:'PT Serif', serif}.sidebar__footer{text-align:center;margin:2rem 0 0 0}.bd-search{background-color:#eff1f2;border-bottom:0;margin:0 -2rem 0 -2rem;padding:2rem;width:calc(100% + 4rem);position:relative}.bd-search .form-control{display:block;height:2.75rem;border:solid 1px rgba(210,215,217,0.75);background:#ffffff;border-radius:0.3rem;padding:0 1em;width:100%}.bd-search svg{transform:scaleX(-1);color:#7f888f;cursor:default;display:block;height:2.75rem;opacity:0.325;position:absolute;right:2.75rem;text-align:center;top:2rem}.page__content .table-container{overflow-x:scroll}.page__content table{max-width:100%;border-collapse:collapse;border:0;background-color:transparent}.page__content table tbody tr:nth-child(odd){background-color:#f7f7f7}.page__content table td,.page__content table th{padding:0.25rem 0.75rem;text-align:left;vertical-align:top;border:0}.page__content table td>p,.page__content table th>p{margin:0}.page__content table th{font-weight:bold}.page__content table thead tr th{text-align:left !important}.page__content table thead th,.page__content table thead td{vertical-align:bottom;border:0;border-top:0;border-bottom:1px solid #e1e1e1}.page__content .admonition{font-size:0.9rem;margin:1.5rem auto;padding:0 1rem 0.5rem 1rem;page-break-inside:avoid;box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.1),0 0 0.05rem rgba(0,0,0,0.1)}.page__content .admonition .admonition-title{position:relative;margin:0 -1rem;padding:0.25rem 2rem;font-weight:700;background-color:#0072bc26}.page__content a.copybtn{top:0.4em;opacity:0.2}.page__content #contents{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.page__content #contents+ul{list-style:none;padding:0 !important;border:1px solid #ddd !important;border-width:0 0 0 1px !important;margin:0 0 0 20px !important}.page__content #contents+ul>li{margin:0}.page__content #contents+ul>li>a{display:none}.page__content #contents+ul>li>ul{list-style:disc}.page__content #contents+ul>li>ul>li{margin:0}.page__content .anchor-link{visibility:hidden;text-decoration:none;color:#555;margin-left:6px;padding:0 4px 0 4px;font-family:'Source Sans Pro', sans-serif;font-size:0.8em}.page__content .anchor-link:hover{color:#555;text-decoration:none}.page__content *:hover>.anchor-link{visibility:visible}.page__content div.highlight{background:none;margin-bottom:1em}.page__content div.cell div.highlight{margin-bottom:0em}.page__content .cell .input,.page__content .cell .output{position:relative}.page__content .cell .output .prompt,.page__content .cell .input .prompt{visibility:hidden;position:absolute;top:0rem;left:-55px;width:45px}.page__content .cell .input .prompt:before{content:'In';color:#303f9f;top:0.25rem}.page__content .headerlink{visibility:hidden;text-decoration:none;color:#555;margin-left:6px;padding:0 4px 0 4px;font-family:'Source Sans Pro', sans-serif;font-size:0.8rem}.page__content .headerlink:hover{color:#555}.page__content *:hover>.headerlink{visibility:visible}.page__content .rendered_html img{max-width:100%;display:block;margin:0 auto}.page__content .output_png img{max-width:100%;display:block;margin:0 auto}.page__content .math{color:#333}.page__content a .math{color:#0072bc}.page__content div.math{margin:2rem 0}.page__content .MathJax{color:#333;margin:2rem 0}.page__content a .MathJax{color:#0072bc}.page__content .figure{text-align:center}.page__content .figure.align-left{text-align:left}.page__content .figure.align-right{text-align:right}.page__content .cell_output img{display:block;margin-left:auto;margin-right:auto}div.cell div.cell_output{padding-right:0}div.cell.tag_scroll-output div.cell_output{max-height:24em;overflow-y:auto}div.cell.tag_scroll-input div.cell_input{max-height:24em;overflow-y:auto}.bd-sidebar .nav:hover{text-decoration:underline}.bd-sidebar .nav li>a{padding:0px;font-size:0.9rem}
diff --git a/quantecon_book_theme/theme.conf b/quantecon_book_theme/theme.conf
index 1f6215e..6055ddb 100644
--- a/quantecon_book_theme/theme.conf
+++ b/quantecon_book_theme/theme.conf
@@ -1,7 +1,7 @@
# Note: this should only be changed in src/jinja/theme.conf.j2
[theme]
inherit = pydata_sphinx_theme
-stylesheet = quantecon-book-theme.885d9ef116b3d4de1ea03f6d505b5c33.css
+stylesheet = quantecon-book-theme.9428881bef30503ba3c98a8c152d748d.css
[options]
single_page = False
diff --git a/src/js/quantecon-book-theme.js b/src/js/quantecon-book-theme.js
index 5362a02..e24f59e 100644
--- a/src/js/quantecon-book-theme.js
+++ b/src/js/quantecon-book-theme.js
@@ -197,24 +197,4 @@ $(document).ready(() => {
contentTables[i].parentNode.insertBefore(wrapper, contentTables[i]);
wrapper.appendChild(contentTables[i]);
}
- window.MathJax = {
- tex: {
- inlineMath: [
- ['$', '$'],
- ['\\(', '\\)'],
- ],
- processEscapes: true
- },
- chtml: {
- scale: 0.92
- },
- options: {
- menuOptions: {
- settings: {
- renderer: 'SVG'
- }
- }
- },
- displayAlign: "center"
- };
})
diff --git a/src/scss/quantecon-book-theme.scss b/src/scss/quantecon-book-theme.scss
index fe0d0ef..2034da3 100644
--- a/src/scss/quantecon-book-theme.scss
+++ b/src/scss/quantecon-book-theme.scss
@@ -940,7 +940,6 @@ tt {
.MathJax {
color: #333;
margin: 2rem 0;
- display: inline !important; // Fix to remove padding on focus
}
a .MathJax {