mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
1 line
7.1 KiB
HTML
1 line
7.1 KiB
HTML
<p><em>Block formulas</em> are surrounded by double dollar signs. For example, <code>$$x = \frac{-b \pm \sqrt{b^2 - 4ac} }{2a}$$</code> renders, <em>on a separate line</em>, as <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" style="text-align: center; position: relative;" data-mathml="<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><mi>x</mi><mo>=</mo><mfrac><mrow><mo>&#x2212;</mo><mi>b</mi><mo>&#x00B1;</mo><msqrt><msup><mi>b</mi><mn>2</mn></msup><mo>&#x2212;</mo><mn>4</mn><mi>a</mi><mi>c</mi></msqrt></mrow><mrow><mn>2</mn><mi>a</mi></mrow></mfrac><mo>.</mo></math>" role="presentation"><nobr aria-hidden="true"><span class="math" id="MathJax-Span-42" style="width: 10.36em; display: inline-block;"><span style="display: inline-block; position: relative; width: 9.229em; height: 0px; font-size: 112%;"><span style="position: absolute; clip: rect(0.658em, 1009.17em, 3.455em, -999.997em); top: -2.557em; left: 0em;"><span class="mrow" id="MathJax-Span-43"><span class="mi" id="MathJax-Span-44" style="font-family: STIXGeneral-Italic;">𝑥</span><span class="mo" id="MathJax-Span-45" style="font-family: STIXGeneral-Regular; padding-left: 0.301em;">=</span><span class="mfrac" id="MathJax-Span-46" style="padding-left: 0.301em;"><span style="display: inline-block; position: relative; width: 6.908em; height: 0px; margin-right: 0.122em; margin-left: 0.122em;"><span style="position: absolute; clip: rect(2.86em, 1006.79em, 4.467em, -999.997em); top: -4.759em; left: 50%; margin-left: -3.39em;"><span class="mrow" id="MathJax-Span-47"><span class="mo" id="MathJax-Span-48" style="font-family: STIXGeneral-Regular;">−</span><span class="mi" id="MathJax-Span-49" style="font-family: STIXGeneral-Italic;">𝑏</span><span class="mo" id="MathJax-Span-50" style="font-family: STIXGeneral-Regular; padding-left: 0.241em;">±</span><span class="msqrt" id="MathJax-Span-51" style="padding-left: 0.241em;"><span style="display: inline-block; position: relative; width: 4.467em; height: 0px;"><span style="position: absolute; clip: rect(3.039em, 1003.46em, 4.289em, -999.997em); top: -3.985em; left: 0.955em;"><span class="mrow" id="MathJax-Span-52"><span class="msubsup" id="MathJax-Span-53"><span style="display: inline-block; position: relative; width: 0.896em; height: 0px;"><span style="position: absolute; clip: rect(3.158em, 1000.48em, 4.17em, -999.997em); top: -3.985em; left: 0em;"><span class="mi" id="MathJax-Span-54" style="font-family: STIXGeneral-Italic;">𝑏</span><span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="position: absolute; top: -4.283em; left: 0.479em;"><span class="mn" id="MathJax-Span-55" style="font-size: 70.7%; font-family: STIXGeneral-Regular;">2</span><span style="display: inline-block; width: 0px; height: 3.991em;"></span></span></span></span><span class="mo" id="MathJax-Span-56" style="font-family: STIXGeneral-Regular; padding-left: 0.241em;">−</span><span class="mn" id="MathJax-Span-57" style="font-family: STIXGeneral-Regular; padding-left: 0.241em;">4</span><span class="mi" id="MathJax-Span-58" style="font-family: STIXGeneral-Italic;">𝑎</span><span class="mi" id="MathJax-Span-59" style="font-family: STIXGeneral-Italic;">𝑐</span></span><span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="position: absolute; clip: rect(2.979em, 1003.51em, 3.396em, -999.997em); top: -4.104em; left: 0.955em;"><span style="display: inline-block; position: relative; width: 3.515em; height: 0px;"><span style="position: absolute; font-family: STIXGeneral-Regular; top: -3.985em; left: 0em;">‾<span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="position: absolute; font-family: STIXGeneral-Regular; top: -3.985em; left: 3.039em;">‾<span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -3.985em; left: 0.42em;">‾<span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -3.985em; left: 0.836em;">‾<span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -3.985em; left: 1.253em;">‾<span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -3.985em; left: 1.729em;">‾<span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -3.985em; left: 2.146em;">‾<span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="font-family: STIXGeneral-Regular; position: absolute; top: -3.985em; left: 2.562em;">‾<span style="display: inline-block; width: 0px; height: 3.991em;"></span></span></span><span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="position: absolute; clip: rect(2.86em, 1000.96em, 4.408em, -999.997em); top: -3.926em; left: 0em;"><span style="font-family: STIXGeneral-Regular;">√</span><span style="display: inline-block; width: 0px; height: 3.991em;"></span></span></span></span></span><span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="position: absolute; clip: rect(3.158em, 1000.96em, 4.17em, -999.997em); top: -3.271em; left: 50%; margin-left: -0.473em;"><span class="mrow" id="MathJax-Span-60"><span class="mn" id="MathJax-Span-61" style="font-family: STIXGeneral-Regular;">2</span><span class="mi" id="MathJax-Span-62" style="font-family: STIXGeneral-Italic;">𝑎</span></span><span style="display: inline-block; width: 0px; height: 3.991em;"></span></span><span style="position: absolute; clip: rect(0.836em, 1006.91em, 1.253em, -999.997em); top: -1.307em; left: 0em;"><span style="display: inline-block; overflow: hidden; vertical-align: 0em; border-top: 1.3px solid; width: 6.908em; height: 0px;"></span><span style="display: inline-block; width: 0px; height: 1.074em;"></span></span></span></span><span class="mo" id="MathJax-Span-63" style="font-family: STIXGeneral-Regular;">.</span></span><span style="display: inline-block; width: 0px; height: 2.562em;"></span></span></span><span style="display: inline-block; overflow: hidden; vertical-align: -0.863em; border-left: 0px solid; width: 0px; height: 2.87em;"></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><mo>.</mo></math></span></span></div><script type="math/tex; mode=display" id="MathJax-Element-3" class="joplin-clipper-hidden">x = \frac{-b \pm \sqrt{b^2 - 4ac} }{2a}.</script></p> |