Advertisement
Guest User

MathJax problem

a guest
Apr 21st, 2016
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 29.74 KB | None | 0 0
  1. LMS head:
  2. <script type="text/x-mathjax-config;executed=true">MathJax.Hub.Config({"delayStartupUntil":"onload","showProcessingMessages":false,"messageStyle":"none","menuSettings":{"context":"MathJax","zoom":"None"},"NativeMML":{"showMathMenuMSIE":false,"scale":140},"HTML-CSS":{"linebreaks":{"automatic":true,"width":"container"},"imageFont":null,"scale":130},"tex2jax":{"processEnvironments":false,"displayMath":[],"inlineMath":[]}});</script>
  3. <script type="text/javascript" src="https://s.brightspace.com/lib/mathjax/2.5.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML%2cSafe"></script>
  4.  
  5. my head (in LMS):
  6. <head>
  7.     <title>MathJax testing</title>
  8.     <script type="text/x-mathjax-config;executed=true">
  9.     MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [ [ '$$', '$$'], [ '\\[', '\\]'] ], processEnvironments: true, processEscapes: true}, "HTML-CSS": { scale: 100} });</script>
  10. <script src="https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config=TeX-AMS_HTML"></script>
  11.    
  12. <script type="text/javascript" src="/d2l/common/math/MathML.js?v=10.5.7.1791-85"></script><script type="text/javascript">D2LMathML.DesktopInit('https://s.brightspace.com/lib/mathjax/2.5.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML%2cSafe');</script><script type="text/x-mathjax-config;executed=true">MathJax.Hub.Config({"delayStartupUntil":"onload","showProcessingMessages":false,"messageStyle":"none","menuSettings":{"context":"MathJax","zoom":"None"},"NativeMML":{"showMathMenuMSIE":false,"scale":140},"HTML-CSS":{"linebreaks":{"automatic":true,"width":"container"},"imageFont":null,"scale":130},"tex2jax":{"processEnvironments":false,"displayMath":[],"inlineMath":[]}});</script><script type="text/javascript" src="https://s.brightspace.com/lib/mathjax/2.5.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML%2cSafe"></script><script type="text/javascript">function lti_launch( vars ) { var query = ''; for(var key in vars) { if(query.length == 0) { query += '?' + key + '=' + encodeURIComponent(vars[key]); } else { query += '&' + key + '=' + encodeURIComponent(vars[key]); } } location.replace( '/d2l/customization/pearsonlti/30286/Launch' + query ); }</script><style type="text/css">.MathJax_Hover_Frame {border-radius: .25em; -webkit-border-radius: .25em; -moz-border-radius: .25em; -khtml-border-radius: .25em; box-shadow: 0px 0px 15px #83A; -webkit-box-shadow: 0px 0px 15px #83A; -moz-box-shadow: 0px 0px 15px #83A; -khtml-box-shadow: 0px 0px 15px #83A; border: 1px solid #A6D ! important; display: inline-block; position: absolute}
  13. .MathJax_Menu_Button .MathJax_Hover_Arrow {position: absolute; cursor: pointer; display: inline-block; border: 2px solid #AAA; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -khtml-border-radius: 4px; font-family: 'Courier New',Courier; font-size: 9px; color: #F0F0F0}
  14. .MathJax_Menu_Button .MathJax_Hover_Arrow span {display: block; background-color: #AAA; border: 1px solid; border-radius: 3px; line-height: 0; padding: 4px}
  15. .MathJax_Hover_Arrow:hover {color: white!important; border: 2px solid #CCC!important}
  16. .MathJax_Hover_Arrow:hover span {background-color: #CCC!important}
  17. </style><style type="text/css">#MathJax_About {position: fixed; left: 50%; width: auto; text-align: center; border: 3px outset; padding: 1em 2em; background-color: #DDDDDD; color: black; cursor: default; font-family: message-box; font-size: 120%; font-style: normal; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; border-radius: 15px; -webkit-border-radius: 15px; -moz-border-radius: 15px; -khtml-border-radius: 15px; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
  18. #MathJax_About.MathJax_MousePost {outline: none}
  19. .MathJax_Menu {position: absolute; background-color: white; color: black; width: auto; padding: 5px 0px; border: 1px solid #CCCCCC; margin: 0; cursor: default; font: menu; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; z-index: 201; border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; -khtml-border-radius: 5px; box-shadow: 0px 10px 20px #808080; -webkit-box-shadow: 0px 10px 20px #808080; -moz-box-shadow: 0px 10px 20px #808080; -khtml-box-shadow: 0px 10px 20px #808080; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
  20. .MathJax_MenuItem {padding: 1px 2em; background: transparent}
  21. .MathJax_MenuArrow {position: absolute; right: .5em; padding-top: .25em; color: #666666; font-size: .75em}
  22. .MathJax_MenuActive .MathJax_MenuArrow {color: white}
  23. .MathJax_MenuArrow.RTL {left: .5em; right: auto}
  24. .MathJax_MenuCheck {position: absolute; left: .7em}
  25. .MathJax_MenuCheck.RTL {right: .7em; left: auto}
  26. .MathJax_MenuRadioCheck {position: absolute; left: .7em}
  27. .MathJax_MenuRadioCheck.RTL {right: .7em; left: auto}
  28. .MathJax_MenuLabel {padding: 1px 2em 3px 1.33em; font-style: italic}
  29. .MathJax_MenuRule {border-top: 1px solid #DDDDDD; margin: 4px 3px}
  30. .MathJax_MenuDisabled {color: GrayText}
  31. .MathJax_MenuActive {background-color: #606872; color: white}
  32. .MathJax_MenuDisabled:focus, .MathJax_MenuLabel:focus {background-color: #E8E8E8}
  33. .MathJax_ContextMenu:focus {outline: none}
  34. .MathJax_ContextMenu .MathJax_MenuItem:focus {outline: none}
  35. #MathJax_AboutClose {top: .2em; right: .2em}
  36. .MathJax_Menu .MathJax_MenuClose {top: -10px; left: -10px}
  37. .MathJax_MenuClose {position: absolute; cursor: pointer; display: inline-block; border: 2px solid #AAA; border-radius: 18px; -webkit-border-radius: 18px; -moz-border-radius: 18px; -khtml-border-radius: 18px; font-family: 'Courier New',Courier; font-size: 24px; color: #F0F0F0}
  38. .MathJax_MenuClose span {display: block; background-color: #AAA; border: 1.5px solid; border-radius: 18px; -webkit-border-radius: 18px; -moz-border-radius: 18px; -khtml-border-radius: 18px; line-height: 0; padding: 8px 0 6px}
  39. .MathJax_MenuClose:hover {color: white!important; border: 2px solid #CCC!important}
  40. .MathJax_MenuClose:hover span {background-color: #CCC!important}
  41. .MathJax_MenuClose:hover:focus {outline: none}
  42. </style><style type="text/css">.MathJax_Preview .MJXf-math {color: inherit!important}
  43. </style><style type="text/css">.MJX_Assistive_MathML {position: absolute!important; top: 0; left: 0; clip: rect(1px, 1px, 1px, 1px); padding: 1px 0 0 0!important; border: 0!important; height: 1px!important; width: 1px!important; overflow: hidden!important; display: block!important; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none}
  44. .MJX_Assistive_MathML.MJX_Assistive_MathML_Block {width: 100%!important}
  45. </style><style type="text/css">#MathJax_Zoom {position: absolute; background-color: #F0F0F0; overflow: auto; display: block; z-index: 301; padding: .5em; border: 1px solid black; margin: 0; font-weight: normal; font-style: normal; text-align: left; text-indent: 0; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; box-shadow: 5px 5px 15px #AAAAAA; -webkit-box-shadow: 5px 5px 15px #AAAAAA; -moz-box-shadow: 5px 5px 15px #AAAAAA; -khtml-box-shadow: 5px 5px 15px #AAAAAA; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')}
  46. #MathJax_ZoomOverlay {position: absolute; left: 0; top: 0; z-index: 300; display: inline-block; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
  47. #MathJax_ZoomFrame {position: relative; display: inline-block; height: 0; width: 0}
  48. #MathJax_ZoomEventTrap {position: absolute; left: 0; top: 0; z-index: 302; display: inline-block; border: 0; padding: 0; margin: 0; background-color: white; opacity: 0; filter: alpha(opacity=0)}
  49. </style><style type="text/css">.MathJax_Preview {color: #888}
  50. #MathJax_Message {position: fixed; left: 1em; bottom: 1.5em; background-color: #E6E6E6; border: 1px solid #959595; margin: 0px; padding: 2px 8px; z-index: 102; color: black; font-size: 80%; width: auto; white-space: nowrap}
  51. #MathJax_MSIE_Frame {position: absolute; top: 0; left: 0; width: 0px; z-index: 101; border: 0px; margin: 0px; padding: 0px}
  52. .MathJax_Error {color: #CC0000; font-style: italic}
  53. </style><style type="text/css">.MJXp-script {font-size: .8em}
  54. .MJXp-right {-webkit-transform-origin: right; -moz-transform-origin: right; -ms-transform-origin: right; -o-transform-origin: right; transform-origin: right}
  55. .MJXp-bold {font-weight: bold}
  56. .MJXp-italic {font-style: italic}
  57. .MJXp-scr {font-family: MathJax_Script,'Times New Roman',Times,STIXGeneral,serif}
  58. .MJXp-frak {font-family: MathJax_Fraktur,'Times New Roman',Times,STIXGeneral,serif}
  59. .MJXp-sf {font-family: MathJax_SansSerif,'Times New Roman',Times,STIXGeneral,serif}
  60. .MJXp-cal {font-family: MathJax_Caligraphic,'Times New Roman',Times,STIXGeneral,serif}
  61. .MJXp-mono {font-family: MathJax_Typewriter,'Times New Roman',Times,STIXGeneral,serif}
  62. .MJXp-largeop {font-size: 150%}
  63. .MJXp-largeop.MJXp-int {vertical-align: -.2em}
  64. .MJXp-math {display: inline-block; line-height: 1.2; text-indent: 0; font-family: 'Times New Roman',Times,STIXGeneral,serif; white-space: nowrap; border-collapse: collapse}
  65. .MJXp-display {display: block; text-align: center; margin: 1em 0}
  66. .MJXp-math span {display: inline-block}
  67. .MJXp-box {display: block!important; text-align: center}
  68. .MJXp-box:after {content: " "}
  69. .MJXp-rule {display: block!important; margin-top: .1em}
  70. .MJXp-char {display: block!important}
  71. .MJXp-mo {margin: 0 .15em}
  72. .MJXp-mfrac {margin: 0 .125em; vertical-align: .25em}
  73. .MJXp-denom {display: inline-table!important; width: 100%}
  74. .MJXp-denom > * {display: table-row!important}
  75. .MJXp-surd {vertical-align: top}
  76. .MJXp-surd > * {display: block!important}
  77. .MJXp-script-box > *  {display: table!important; height: 50%}
  78. .MJXp-script-box > * > * {display: table-cell!important; vertical-align: top}
  79. .MJXp-script-box > *:last-child > * {vertical-align: bottom}
  80. .MJXp-script-box > * > * > * {display: block!important}
  81. .MJXp-mphantom {visibility: hidden}
  82. .MJXp-munderover {display: inline-table!important}
  83. .MJXp-over {display: inline-block!important; text-align: center}
  84. .MJXp-over > * {display: block!important}
  85. .MJXp-munderover > * {display: table-row!important}
  86. .MJXp-mtable {vertical-align: .25em; margin: 0 .125em}
  87. .MJXp-mtable > * {display: inline-table!important; vertical-align: middle}
  88. .MJXp-mtr {display: table-row!important}
  89. .MJXp-mtd {display: table-cell!important; text-align: center; padding: .5em 0 0 .5em}
  90. .MJXp-mtr > .MJXp-mtd:first-child {padding-left: 0}
  91. .MJXp-mtr:first-child > .MJXp-mtd {padding-top: 0}
  92. .MJXp-mlabeledtr {display: table-row!important}
  93. .MJXp-mlabeledtr > .MJXp-mtd:first-child {padding-left: 0}
  94. .MJXp-mlabeledtr:first-child > .MJXp-mtd {padding-top: 0}
  95. .MJXp-merror {background-color: #FFFF88; color: #CC0000; border: 1px solid #CC0000; padding: 1px 3px; font-style: normal; font-size: 90%}
  96. .MJXp-scale0 {-webkit-transform: scaleX(.0); -moz-transform: scaleX(.0); -ms-transform: scaleX(.0); -o-transform: scaleX(.0); transform: scaleX(.0)}
  97. .MJXp-scale1 {-webkit-transform: scaleX(.1); -moz-transform: scaleX(.1); -ms-transform: scaleX(.1); -o-transform: scaleX(.1); transform: scaleX(.1)}
  98. .MJXp-scale2 {-webkit-transform: scaleX(.2); -moz-transform: scaleX(.2); -ms-transform: scaleX(.2); -o-transform: scaleX(.2); transform: scaleX(.2)}
  99. .MJXp-scale3 {-webkit-transform: scaleX(.3); -moz-transform: scaleX(.3); -ms-transform: scaleX(.3); -o-transform: scaleX(.3); transform: scaleX(.3)}
  100. .MJXp-scale4 {-webkit-transform: scaleX(.4); -moz-transform: scaleX(.4); -ms-transform: scaleX(.4); -o-transform: scaleX(.4); transform: scaleX(.4)}
  101. .MJXp-scale5 {-webkit-transform: scaleX(.5); -moz-transform: scaleX(.5); -ms-transform: scaleX(.5); -o-transform: scaleX(.5); transform: scaleX(.5)}
  102. .MJXp-scale6 {-webkit-transform: scaleX(.6); -moz-transform: scaleX(.6); -ms-transform: scaleX(.6); -o-transform: scaleX(.6); transform: scaleX(.6)}
  103. .MJXp-scale7 {-webkit-transform: scaleX(.7); -moz-transform: scaleX(.7); -ms-transform: scaleX(.7); -o-transform: scaleX(.7); transform: scaleX(.7)}
  104. .MJXp-scale8 {-webkit-transform: scaleX(.8); -moz-transform: scaleX(.8); -ms-transform: scaleX(.8); -o-transform: scaleX(.8); transform: scaleX(.8)}
  105. .MJXp-scale9 {-webkit-transform: scaleX(.9); -moz-transform: scaleX(.9); -ms-transform: scaleX(.9); -o-transform: scaleX(.9); transform: scaleX(.9)}
  106. .MathJax_PHTML .noError {vertical-align: ; font-size: 90%; text-align: left; color: black; padding: 1px 3px; border: 1px solid}
  107. </style><style type="text/css">.MathJax_Display {text-align: center; margin: 1em 0em; position: relative; display: block!important; text-indent: 0; max-width: none; max-height: none; min-width: 0; min-height: 0; width: 100%}
  108. .MathJax .merror {background-color: #FFFF88; color: #CC0000; border: 1px solid #CC0000; padding: 1px 3px; font-style: normal; font-size: 90%}
  109. .MathJax .MJX-monospace {font-family: monospace}
  110. .MathJax .MJX-sans-serif {font-family: sans-serif}
  111. #MathJax_Tooltip {background-color: InfoBackground; color: InfoText; border: 1px solid black; box-shadow: 2px 2px 5px #AAAAAA; -webkit-box-shadow: 2px 2px 5px #AAAAAA; -moz-box-shadow: 2px 2px 5px #AAAAAA; -khtml-box-shadow: 2px 2px 5px #AAAAAA; filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true'); padding: 3px 4px; z-index: 401; position: absolute; left: 0; top: 0; width: auto; height: auto; display: none}
  112. .MathJax {display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 100%; font-size-adjust: none; text-indent: 0; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0; min-height: 0; border: 0; padding: 0; margin: 0}
  113. .MathJax:focus, body :focus .MathJax {display: inline-table}
  114. .MathJax img, .MathJax nobr, .MathJax a {border: 0; padding: 0; margin: 0; max-width: none; max-height: none; min-width: 0; min-height: 0; vertical-align: 0; line-height: normal; text-decoration: none}
  115. img.MathJax_strut {border: 0!important; padding: 0!important; margin: 0!important; vertical-align: 0!important}
  116. .MathJax span {display: inline; position: static; border: 0; padding: 0; margin: 0; vertical-align: 0; line-height: normal; text-decoration: none}
  117. .MathJax nobr {white-space: nowrap!important}
  118. .MathJax img {display: inline!important; float: none!important}
  119. .MathJax * {transition: none; -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none}
  120. .MathJax_Processing {visibility: hidden; position: fixed; width: 0; height: 0; overflow: hidden}
  121. .MathJax_Processed {display: none!important}
  122. .MathJax_ExBox {display: block!important; overflow: hidden; width: 1px; height: 60ex; min-height: 0; max-height: none}
  123. .MathJax .MathJax_EmBox {display: block!important; overflow: hidden; width: 1px; height: 60em; min-height: 0; max-height: none}
  124. .MathJax .MathJax_HitBox {cursor: text; background: white; opacity: 0; filter: alpha(opacity=0)}
  125. .MathJax .MathJax_HitBox * {filter: none; opacity: 1; background: transparent}
  126. #MathJax_Tooltip * {filter: none; opacity: 1; background: transparent}
  127. @font-face {font-family: MathJax_Blank; src: url('about:blank')}
  128. .MathJax .noError {vertical-align: ; font-size: 90%; text-align: left; color: black; padding: 1px 3px; border: 1px solid}
  129. </style></head>
  130.  
  131. my body (inside LMS):
  132. <body style="overflow-y: hidden;"><div style="visibility: hidden; overflow: hidden; position: absolute; top: 0px; height: 1px; width: auto; padding: 0px; border: 0px; margin: 0px; text-align: left; text-indent: 0px; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal;"><div id="MathJax_Hidden"></div></div><div id="MathJax_Message" style="display: none;"></div>
  133. <p>
  134. <script type="text/x-mathjax-config;executed=true">// <![CDATA[
  135. MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [ [ '$$', '$$'], [ '\\[', '\\]'] ], processEnvironments: true, processEscapes: true}, "HTML-CSS": { scale: 100} });
  136. // ]]></script>
  137. </p>
  138. <h1>Prototype: Nesting Quantifiers</h1>
  139. <h2>Lecture Content</h2>
  140. <p>Here is some content with some math in it: <span class="MathJax_Preview" style="color: inherit;"></span><span class="MathJax" id="MathJax-Element-1-Frame" tabindex="0" data-mathml="<math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;><mfrac><mn>1</mn><mn>2</mn></mfrac></math>" role="presentation" style="position: relative;"><nobr aria-hidden="true"><span class="math" id="MathJax-Span-1" role="math" style="width: 0.844em; display: inline-block;"><span style="display: inline-block; position: relative; width: 0.784em; height: 0px; font-size: 104%;"><span style="position: absolute; clip: rect(1.025em 1000.78em 2.707em -999.997em); top: -2.1em; left: 0.003em;"><span class="mrow" id="MathJax-Span-2"><span class="mfrac" id="MathJax-Span-3"><span style="display: inline-block; position: relative; width: 0.484em; height: 0px; margin-right: 0.123em; margin-left: 0.123em;"><span style="position: absolute; clip: rect(3.368em 1000.3em 4.21em -999.997em); top: -4.444em; left: 50%; margin-left: -0.177em;"><span class="mn" id="MathJax-Span-4" style="font-size: 70.7%; font-family: STIXGeneral-Regular;">1</span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; clip: rect(3.368em 1000.36em 4.21em -999.997em); top: -3.603em; left: 50%; margin-left: -0.177em;"><span class="mn" id="MathJax-Span-5" style="font-size: 70.7%; font-family: STIXGeneral-Regular;">2</span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; clip: rect(0.844em 1000.48em 1.265em -999.997em); top: -1.319em; left: 0.003em;"><span style="display: inline-block; overflow: hidden; vertical-align: 0.003em; border-top-width: 1.3px; border-top-style: solid; width: 0.484em; height: 0px;"></span><span style="display: inline-block; width: 0px; height: 1.085em;"></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.106em;"></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.497em; border-left-width: 0px; border-left-style: solid; width: 0px; height: 1.503em;"></span></span></nobr><span class="MJX_Assistive_MathML" role="presentation"><math xmlns="http://www.w3.org/1998/Math/MathML"><mfrac><mn>1</mn><mn>2</mn></mfrac></math></span></span><script type="math/tex" id="MathJax-Element-1"> \frac{1}{2} </script> and also <span class="MathJax_Preview" style="color: inherit;"></span><span class="MathJax" id="MathJax-Element-2-Frame" tabindex="0" data-mathml="<math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;><msqrt><mi>&amp;#x03C0;</mi></msqrt></math>" role="presentation" style="position: relative;"><nobr aria-hidden="true"><span class="math" id="MathJax-Span-6" role="math" style="width: 1.445em; display: inline-block;"><span style="display: inline-block; position: relative; width: 1.385em; height: 0px; font-size: 104%;"><span style="position: absolute; clip: rect(1.265em 1001.38em 2.527em -999.997em); top: -2.1em; left: 0.003em;"><span class="mrow" id="MathJax-Span-7"><span class="msqrt" id="MathJax-Span-8"><span style="display: inline-block; position: relative; width: 1.325em; height: 0px;"><span style="position: absolute; clip: rect(3.428em 1000.54em 4.21em -999.997em); top: -4.023em; left: 0.724em;"><span class="mrow" id="MathJax-Span-9"><span class="mi" id="MathJax-Span-10" style="font-family: STIXGeneral-Italic;">π<span style="display: inline-block; overflow: hidden; height: 1px; width: 0.063em;"></span></span></span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; clip: rect(3.008em 1000.54em 3.428em -999.997em); top: -3.903em; left: 0.724em;"><span style="display: inline-block; position: relative; width: 0.544em; height: 0px;"><span style="position: absolute; font-family: STIXGeneral-Regular; top: -4.023em; left: 0.003em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; font-family: STIXGeneral-Regular; top: -4.023em; left: 0.063em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span></span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; clip: rect(2.888em 1000.78em 4.21em -999.997em); top: -3.783em; left: 0.003em;"><span style="font-family: STIXVariants;"></span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.106em;"></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.309em; border-left-width: 0px; border-left-style: solid; width: 0px; height: 1.128em;"></span></span></nobr><span class="MJX_Assistive_MathML" role="presentation"><math xmlns="http://www.w3.org/1998/Math/MathML"><msqrt><mi>π</mi></msqrt></math></span></span><script type="math/tex" id="MathJax-Element-2"> \sqrt{\pi} </script>. Here is some display math: <span class="MathJax_Preview" style="color: inherit;"></span><div class="MathJax_Display" style="text-align: center;"><span class="MathJax" id="MathJax-Element-3-Frame" tabindex="0" data-mathml="<math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot; display=&quot;block&quot;><mi>x</mi><mo>=</mo><mfrac><mrow><mo>&amp;#x2212;</mo><mi>b</mi><mo>&amp;#x00B1;</mo><msqrt><msup><mi>b</mi><mn>2</mn></msup><mo>&amp;#x2212;</mo><mn>4</mn><mi>a</mi><mi>c</mi></msqrt></mrow><mrow><mn>2</mn><mi>a</mi></mrow></mfrac></math>" role="presentation" style="position: relative;"><nobr aria-hidden="true"><span class="math" id="MathJax-Span-11" role="math" style="width: 9.138em; display: inline-block;"><span style="display: inline-block; position: relative; width: 8.777em; height: 0px; font-size: 104%;"><span style="position: absolute; clip: rect(0.844em 1008.78em 3.489em -999.997em); top: -2.581em; left: 0.003em;"><span class="mrow" id="MathJax-Span-12"><span class="mi" id="MathJax-Span-13" style="font-family: STIXGeneral-Italic;">x<span style="display: inline-block; overflow: hidden; height: 1px; width: 0.003em;"></span></span><span class="mo" id="MathJax-Span-14" style="font-family: STIXGeneral-Regular; padding-left: 0.303em;">=</span><span class="mfrac" id="MathJax-Span-15" style="padding-left: 0.303em;"><span style="display: inline-block; position: relative; width: 6.794em; height: 0px; margin-right: 0.123em; margin-left: 0.123em;"><span style="position: absolute; clip: rect(3.008em 1006.67em 4.33em -999.997em); top: -4.684em; left: 50%; margin-left: -3.302em;"><span class="mrow" id="MathJax-Span-16"><span class="mo" id="MathJax-Span-17" style="font-family: STIXGeneral-Regular;"></span><span class="mi" id="MathJax-Span-18" style="font-family: STIXGeneral-Italic;">b</span><span class="mo" id="MathJax-Span-19" style="font-family: STIXGeneral-Regular; padding-left: 0.243em;">±</span><span class="msqrt" id="MathJax-Span-20" style="padding-left: 0.243em;"><span style="display: inline-block; position: relative; width: 4.33em; height: 0px;"><span style="position: absolute; clip: rect(3.068em 1003.55em 4.21em -999.997em); top: -4.023em; left: 0.724em;"><span class="mrow" id="MathJax-Span-21"><span class="msubsup" id="MathJax-Span-22"><span style="display: inline-block; position: relative; width: 0.904em; height: 0px;"><span style="position: absolute; clip: rect(3.188em 1000.48em 4.21em -999.997em); top: -4.023em; left: 0.003em;"><span class="mi" id="MathJax-Span-23" style="font-family: STIXGeneral-Italic;">b</span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; top: -4.324em; left: 0.484em;"><span class="mn" id="MathJax-Span-24" style="font-size: 70.7%; font-family: STIXGeneral-Regular;">2</span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span></span></span><span class="mo" id="MathJax-Span-25" style="font-family: STIXGeneral-Regular; padding-left: 0.243em;"></span><span class="mn" id="MathJax-Span-26" style="font-family: STIXGeneral-Regular; padding-left: 0.243em;">4</span><span class="mi" id="MathJax-Span-27" style="font-family: STIXGeneral-Italic;">a</span><span class="mi" id="MathJax-Span-28" style="font-family: STIXGeneral-Italic;">c</span></span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; clip: rect(3.008em 1003.55em 3.428em -999.997em); top: -4.023em; left: 0.724em;"><span style="display: inline-block; position: relative; width: 3.549em; height: 0px;"><span style="position: absolute; font-family: STIXGeneral-Regular; top: -4.023em; left: 0.003em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; font-family: STIXGeneral-Regular; top: -4.023em; left: 3.068em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -4.023em; left: 0.424em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -4.023em; left: 0.844em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -4.023em; left: 1.325em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -4.023em; left: 1.746em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -4.023em; left: 2.166em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -4.023em; left: 2.647em;"><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span></span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; clip: rect(2.888em 1000.78em 4.21em -999.997em); top: -3.963em; left: 0.003em;"><span style="font-family: STIXVariants;"></span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; clip: rect(3.188em 1000.97em 4.21em -999.997em); top: -3.362em; left: 50%; margin-left: -0.478em;"><span class="mrow" id="MathJax-Span-29"><span class="mn" id="MathJax-Span-30" style="font-family: STIXGeneral-Regular;">2</span><span class="mi" id="MathJax-Span-31" style="font-family: STIXGeneral-Italic;">a</span></span><span style="display: inline-block; width: 0px; height: 4.029em;"></span></span><span style="position: absolute; clip: rect(0.844em 1006.79em 1.265em -999.997em); top: -1.319em; left: 0.003em;"><span style="display: inline-block; overflow: hidden; vertical-align: 0.003em; border-top-width: 1.3px; border-top-style: solid; width: 6.794em; height: 0px;"></span><span style="display: inline-block; width: 0px; height: 1.085em;"></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.587em;"></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.809em; border-left-width: 0px; border-left-style: solid; width: 0px; height: 2.441em;"></span></span></nobr><span class="MJX_Assistive_MathML MJX_Assistive_MathML_Block" role="presentation"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi>x</mi><mo>=</mo><mfrac><mrow><mo></mo><mi>b</mi><mo>±</mo><msqrt><msup><mi>b</mi><mn>2</mn></msup><mo></mo><mn>4</mn><mi>a</mi><mi>c</mi></msqrt></mrow><mrow><mn>2</mn><mi>a</mi></mrow></mfrac></math></span></span></div><script type="math/tex; mode=display" id="MathJax-Element-3"> x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} </script></p>
  141.  
  142.  
  143.  
  144. <div style="position: absolute; width: 0px; height: 0px; overflow: hidden; padding: 0px; border: 0px; margin: 0px;"><div id="MathJax_Font_Test" style="position: absolute; visibility: hidden; top: 0px; left: 0px; width: auto; padding: 0px; border: 0px; margin: 0px; white-space: nowrap; text-align: left; text-indent: 0px; text-transform: none; line-height: normal; letter-spacing: normal; word-spacing: normal; font-size: 40px; font-weight: normal; font-style: normal; font-family: STIXSizeOneSym, sans-serif;"></div></div></body>
  145.  
  146. my original file (outside of LMS):
  147. <!DOCTYPE html>
  148. <html lang="en">
  149. <head>
  150.     <title>MathJax testing</title>
  151.     <script type="text/x-mathjax-config">
  152.     MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [ [ '$$', '$$'], [ '\\[', '\\]'] ], processEnvironments: true, processEscapes: true}, "HTML-CSS": { scale: 100} });</script>
  153. <script src='https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config=TeX-AMS_HTML'></script>
  154.    
  155. </head>
  156.  
  157. <body>
  158.  
  159. <script type="text/x-mathjax-config">
  160.     MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [ [ '$$', '$$'], [ '\\[', '\\]'] ], processEnvironments: true, processEscapes: true}, "HTML-CSS": { scale: 100} });</script>
  161.    
  162.  
  163. <h1>Prototype: Nesting Quantifiers</h1>
  164. <h2>Lecture Content</h2>
  165. <p>
  166.     Here is some content with some math in it: \( \frac{1}{2} \) and also $ \sqrt{\pi} $.
  167.     Here is some display math: \[ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \]
  168.  
  169. </p>
  170.  
  171. </body>
  172.  
  173.  
  174. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement