markdown 乳胶符号和方程

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 乳胶符号和方程相关的知识,希望对你有一定的参考价值。

<html>
  <body>
<table class="ltx_tabular">
<tbody>
<tr class="odd">
<td align="left"><em>description</em></td>
<td align="left"><em>command</em></td>
<td align="left"><em>output</em></td>
</tr>
<tr class="even">
<td align="left">addition</td>
<td align="left"><code>+</code></td>
<td align="left"><mo>+</mo></td>
</tr>
<tr class="odd">
<td align="left">subtraction</td>
<td align="left"><code>-</code></td>
<td align="left"><mo>−</mo></td>
</tr>
<tr class="even">
<td align="left">plus or minus</td>
<td align="left"><code>\pm</code></td>
<td align="left"><mo>±</mo></td>
</tr>
<tr class="odd">
<td align="left">multiplication (times)</td>
<td align="left"><code>\times</code></td>
<td align="left"><mo>×</mo></td>
</tr>
<tr class="even">
<td align="left">multiplication (dot)</td>
<td align="left"><code>\cdot</code></td>
<td align="left"><mo>⋅</mo></td>
</tr>
<tr class="odd">
<td align="left">division symbol</td>
<td align="left"><code>\div</code></td>
<td align="left"><mo>÷</mo></td>
</tr>
<tr class="even">
<td align="left">division (slash)</td>
<td align="left"><code>/</code></td>
<td align="left"><mi mathvariant="normal">/</mi></td>
</tr>
<tr class="odd">
<td align="left">simple text</td>
<td align="left"><code>\text{text}</code></td>
<td align="left"><mtext>text</mtext></td>
</tr>
<tr class="even">
<td align="left">infinity</td>
<td align="left"><code>\infty</code></td>
<td align="left"><mi mathvariant="normal">∞</mi></td>
</tr>
<tr class="odd">
<td align="left">dots</td>
<td align="left"><code>1,2,3,\ldots</code></td>
<td align="left"><mn>1</mn><mo separator="true">,</mo><mn>2</mn><mo separator="true">,</mo><mn>3</mn><mo separator="true">,</mo><mo>…</mo></td>
</tr>
<tr class="even">
<td align="left">dots</td>
<td align="left"><code>1+2+3+\cdots</code></td>
<td align="left"><mn>1</mn><mo>+</mo><mn>2</mn><mo>+</mo><mn>3</mn><mo>+</mo><mo>⋯</mo></td>
</tr>
<tr class="odd">
<td align="left">fraction</td>
<td align="left"><code>\frac{a}{b}</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\frac{a}{b}\)"><span class="katex-mathml"><math><semantics><mrow><mfrac><mrow><mi>a</mi></mrow><mrow><mi>b</mi></mrow></mfrac></mrow><annotation encoding="application/x-tex">\frac{a}{b}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.695392em;"></span><span class="strut bottom" style="height:1.040392em;vertical-align:-0.345em;"></span><span class="base"><span class="mord"><span class="mopen nulldelimiter"></span><span class="mfrac"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.695392em;"><span style="top:-2.6550000000000002em;"><span class="pstrut" style="height:3em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathit mtight">b</span></span></span></span><span style="top:-3.23em;"><span class="pstrut" style="height:3em;"></span><span class="frac-line" style="border-bottom-width:0.04em;"></span></span><span style="top:-3.394em;"><span class="pstrut" style="height:3em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathit mtight">a</span></span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.345em;"></span></span></span></span><span class="mclose nulldelimiter"></span></span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">square root</td>
<td align="left"><code>\sqrt{x}</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\sqrt{x}\)"><span class="katex-mathml"><math><semantics><mrow><msqrt><mrow><mi>x</mi></mrow></msqrt></mrow><annotation encoding="application/x-tex">\sqrt{x}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.8002800000000001em;"></span><span class="strut bottom" style="height:1.04em;vertical-align:-0.23972em;"></span><span class="base"><span class="mord sqrt"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist svg-align" style="height:0.8002800000000001em;"><span style="top:-3em;"><span class="pstrut" style="height:3em;"></span><span class="mord" style="padding-left:0.833em;"><span class="mord mathit">x</span></span></span><span style="top:-2.76028em;"><span class="pstrut" style="height:3em;"></span><span style="height:1em;"><svg width="100%" height="1em">
            <svg viewBox="0 0 400000 1000" preserveAspectRatio="xMinYMin
slice"><path d="M95 622c-2.667 0-7.167-2.667-13.5
-8S72 604 72 600c0-2 .333-3.333 1-4 1.333-2.667 23.833-20.667 67.5-54s
65.833-50.333 66.5-51c1.333-1.333 3-2 5-2 4.667 0 8.667 3.333 12 10l173
378c.667 0 35.333-71 104-213s137.5-285 206.5-429S812 17.333 812 14c5.333
-9.333 12-14 20-14h399166v40H845.272L620 507 385 993c-2.667 4.667-9 7-19
7-6 0-10-1-12-3L160 575l-65 47zM834 0h399166v40H845z"></path></svg></svg></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.23972em;"></span></span></span></span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(n\)"><span class="katex-mathml"><math><semantics><mrow><mi>n</mi></mrow><annotation encoding="application/x-tex">n</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.43056em;"></span><span class="strut bottom" style="height:0.43056em;vertical-align:0em;"></span><span class="base"><span class="mord mathit">n</span></span></span>​</span>th root</td>
<td align="left"><code>\sqrt[n]{x}</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\sqrt[n]{x}\)"><span class="katex-mathml"><math><semantics><mrow><mroot><mrow><mi>x</mi></mrow><mrow><mi>n</mi></mrow></mroot></mrow><annotation encoding="application/x-tex">\sqrt[n]{x}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.8002800000000001em;"></span><span class="strut bottom" style="height:1.04em;vertical-align:-0.23972em;"></span><span class="base"><span class="mord sqrt"><span class="root"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.5516160000000001em;"><span style="top:-2.836336em;"><span class="pstrut" style="height:2.5em;"></span><span class="sizing reset-size6 size1 mtight"><span class="mord mtight"><span class="mord mathit mtight">n</span></span></span></span></span></span></span></span><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist svg-align" style="height:0.8002800000000001em;"><span style="top:-3em;"><span class="pstrut" style="height:3em;"></span><span class="mord" style="padding-left:0.833em;"><span class="mord mathit">x</span></span></span><span style="top:-2.76028em;"><span class="pstrut" style="height:3em;"></span><span style="height:1em;"><svg width="100%" height="1em">
            <svg viewBox="0 0 400000 1000" preserveAspectRatio="xMinYMin
slice"><path d="M95 622c-2.667 0-7.167-2.667-13.5
-8S72 604 72 600c0-2 .333-3.333 1-4 1.333-2.667 23.833-20.667 67.5-54s
65.833-50.333 66.5-51c1.333-1.333 3-2 5-2 4.667 0 8.667 3.333 12 10l173
378c.667 0 35.333-71 104-213s137.5-285 206.5-429S812 17.333 812 14c5.333
-9.333 12-14 20-14h399166v40H845.272L620 507 385 993c-2.667 4.667-9 7-19
7-6 0-10-1-12-3L160 575l-65 47zM834 0h399166v40H845z"></path></svg></svg></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.23972em;"></span></span></span></span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">exponentiation</td>
<td align="left"><code>a^b</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(a^{b}\)"><span class="katex-mathml"><math><semantics><mrow><msup><mi>a</mi><mi>b</mi></msup></mrow><annotation encoding="application/x-tex">a^{b}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.849108em;"></span><span class="strut bottom" style="height:0.849108em;vertical-align:0em;"></span><span class="base"><span class="mord"><span class="mord mathit">a</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.849108em;"><span style="top:-3.063em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathit mtight">b</span></span></span></span></span></span></span></span></span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left">subscript</td>
<td align="left"><code>a_b</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(a_{b}\)"><span class="katex-mathml"><math><semantics><mrow><msub><mi>a</mi><mi>b</mi></msub></mrow><annotation encoding="application/x-tex">a_{b}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.43056em;"></span><span class="strut bottom" style="height:0.58056em;vertical-align:-0.15em;"></span><span class="base"><span class="mord"><span class="mord mathit">a</span><span class="msupsub"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.33610799999999996em;"><span style="top:-2.5500000000000003em;margin-left:0em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathit mtight">b</span></span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.15em;"></span></span></span></span></span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">absolute value</td>
<td align="left"><code>|x|</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(|x|\)"><span class="katex-mathml"><math><semantics><mrow><mi mathvariant="normal">∣</mi><mi>x</mi><mi mathvariant="normal">∣</mi></mrow><annotation encoding="application/x-tex">|x|</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.75em;"></span><span class="strut bottom" style="height:1em;vertical-align:-0.25em;"></span><span class="base"><span class="mord mathrm">∣</span><span class="mord mathit">x</span><span class="mord mathrm">∣</span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left">natural log</td>
<td align="left"><code>\ln(x)</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\ln(x)\)"><span class="katex-mathml"><math><semantics><mrow><mi>ln</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow><annotation encoding="application/x-tex">\ln(x)</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.75em;"></span><span class="strut bottom" style="height:1em;vertical-align:-0.25em;"></span><span class="base"><span class="mop">ln</span><span class="mopen">(</span><span class="mord mathit">x</span><span class="mclose">)</span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">logarithms</td>
<td align="left"><code>\log_{a}b</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\log_{a}b\)"><span class="katex-mathml"><math><semantics><mrow><msub><mi>log</mi><mi>a</mi></msub><mi>b</mi></mrow><annotation encoding="application/x-tex">\log_{a}b</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:0.93858em;vertical-align:-0.24414em;"></span><span class="base"><span class="mop"><span class="mop">lo<span style="margin-right:0.01389em;">g</span></span><span class="msupsub"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.057252em;"><span style="top:-2.4558600000000004em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathit mtight">a</span></span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.24414em;"></span></span></span></span></span><span class="mord mathit">b</span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left">exponential function</td>
<td align="left"><code>e^x=\exp(x)</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(e^{x}=\exp(x)\)"><span class="katex-mathml"><math><semantics><mrow><msup><mi>e</mi><mi>x</mi></msup><mo>=</mo><mi>exp</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow><annotation encoding="application/x-tex">e^{x}=\exp(x)</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.75em;"></span><span class="strut bottom" style="height:1em;vertical-align:-0.25em;"></span><span class="base"><span class="mord"><span class="mord mathit">e</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.664392em;"><span style="top:-3.063em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathit mtight">x</span></span></span></span></span></span></span></span></span><span class="mrel">=</span><span class="mop">exp</span><span class="mopen">(</span><span class="mord mathit">x</span><span class="mclose">)</span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">deg</td>
<td align="left"><code>\deg(f)</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\deg(f)\)"><span class="katex-mathml"><math><semantics><mrow><mi>deg</mi><mo>(</mo><mi>f</mi><mo>)</mo></mrow><annotation encoding="application/x-tex">\deg(f)</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.75em;"></span><span class="strut bottom" style="height:1em;vertical-align:-0.25em;"></span><span class="base"><span class="mop">de<span style="margin-right:0.01389em;">g</span></span><span class="mopen">(</span><span class="mord mathit" style="margin-right:0.10764em;">f</span><span class="mclose">)</span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left">degree</td>
<td align="left"><code>\degree</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\degree\)"><span class="katex-mathml"><math><semantics><mrow><mi mathvariant="normal">°</mi></mrow><annotation encoding="application/x-tex">\degree</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.69444em;"></span><span class="strut bottom" style="height:0.69444em;vertical-align:0em;"></span><span class="base"><span class="mord mathrm">°</span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">arcmin</td>
<td align="left"><code>^\prime</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(^\prime\)"><span class="katex-mathml"><math><semantics><mrow><msup><mrow></mrow><mo mathvariant="normal">′</mo></msup></mrow><annotation encoding="application/x-tex">^\prime</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.751892em;"></span><span class="strut bottom" style="height:0.751892em;vertical-align:0em;"></span><span class="base"><span class="mord"><span></span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.751892em;"><span style="top:-3.063em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mathrm mtight">′</span></span></span></span></span></span></span></span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left">arcsec</td>
<td align="left"><code>^{\prime\prime}</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(^{\prime\prime}\)"><span class="katex-mathml"><math><semantics><mrow><msup><mrow></mrow><mrow><mo mathvariant="normal">′</mo><mo mathvariant="normal">′</mo></mrow></msup></mrow><annotation encoding="application/x-tex">^{\prime\prime}</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.751892em;"></span><span class="strut bottom" style="height:0.751892em;vertical-align:0em;"></span><span class="base"><span class="mord"><span></span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height:0.751892em;"><span style="top:-3.063em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathrm mtight">′</span><span class="mord mathrm mtight">′</span></span></span></span></span></span></span></span></span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">circle plus</td>
<td align="left"><code>\oplus</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\oplus\)"><span class="katex-mathml"><math><semantics><mrow><mo>⊕</mo></mrow><annotation encoding="application/x-tex">\oplus</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.58333em;"></span><span class="strut bottom" style="height:0.66666em;vertical-align:-0.08333em;"></span><span class="base"><span class="mord">⊕</span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left">circle times</td>
<td align="left"><code>\otimes</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\otimes\)"><span class="katex-mathml"><math><semantics><mrow><mo>⊗</mo></mrow><annotation encoding="application/x-tex">\otimes</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.58333em;"></span><span class="strut bottom" style="height:0.66666em;vertical-align:-0.08333em;"></span><span class="base"><span class="mord">⊗</span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">equal</td>
<td align="left"><code>=</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(=\)"><span class="katex-mathml"><math><semantics><mrow><mo>=</mo></mrow><annotation encoding="application/x-tex">=</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.36687em;"></span><span class="strut bottom" style="height:0.36687em;vertical-align:0em;"></span><span class="base"><span class="mrel">=</span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left">not equal</td>
<td align="left"><code>\ne</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\ne\)"><span class="katex-mathml"><math><semantics><mrow><mo>≠</mo></mrow><annotation encoding="application/x-tex">\ne</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.716em;"></span><span class="strut bottom" style="height:0.9309999999999999em;vertical-align:-0.215em;"></span><span class="base"><span class="mrel">≠</span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">less than</td>
<td align="left"><code>&lt;</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(<\)"><span class="katex-mathml"><math><semantics><mrow><mo>&lt;</mo></mrow><annotation encoding="application/x-tex">&lt;</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.5391em;"></span><span class="strut bottom" style="height:0.5782em;vertical-align:-0.0391em;"></span><span class="base"><span class="mrel">&lt;</span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left">less than or equal to</td>
<td align="left"><code>\le</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\le\)"><span class="katex-mathml"><math><semantics><mrow><mo>≤</mo></mrow><annotation encoding="application/x-tex">\le</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.63597em;"></span><span class="strut bottom" style="height:0.7719400000000001em;vertical-align:-0.13597em;"></span><span class="base"><span class="mrel">≤</span></span></span>​</span></td>
</tr>
<tr class="even">
<td align="left">greater than or equal to</td>
<td align="left"><code>\ge</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\ge\)"><span class="katex-mathml"><math><semantics><mrow><mo>≥</mo></mrow><annotation encoding="application/x-tex">\ge</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.63597em;"></span><span class="strut bottom" style="height:0.7719400000000001em;vertical-align:-0.13597em;"></span><span class="base"><span class="mrel">≥</span></span></span>​</span></td>
</tr>
<tr class="odd">
<td align="left">approximately equal to</td>
<td align="left"><code>\approx</code></td>
<td align="left"><span class="katex ltx_Math math not-editable v1" data-equation="\(\approx\)"><span class="katex-mathml"><math><semantics><mrow><mo>≈</mo></mrow><annotation encoding="application/x-tex">\approx</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="strut" style="height:0.48312em;"></span><span class="strut bottom" style="height:0.48312em;vertical-align:0em;"></span><span class="base"><span class="mrel">≈</span></span></span>​</span></td>
</tr>
</tbody>
</table>
</body></html>

以上是关于markdown 乳胶符号和方程的主要内容,如果未能解决你的问题,请参考以下文章

在 R-Markdown 中使用 knitr 和 kableExtra 的表格单元格中的乳胶公式或符号,

如何使用用户在Juypter中使用ipywidgets UI控件设置的值以交互方式更新乳胶方程式?

方程组周围的乳胶盒

在乳胶中的方程中缺少 endgroup插入错误?

Python:将乳胶符号转换为 unicode?

css CSS基于Core CSS scaffold for Scholarly Markdown HTML v0.1.2,修改为获取表乳胶样式。