miercuri, 20 iulie 2022

Codul LATEX pentru LaTex

 daca vrei sa arate asa


acesta este codul, dar NU html

<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mi>L</mi>
  <mspace width="-.325em" />
  <mpadded height="+.21em" depth="-.21em" voffset="+.21em">
      <mstyle displaystyle="false" scriptlevel="1">
          <mi>A</mi>
    </mstyle>
  </mpadded>
  <mspace width="-.17em" />
  <mi>T</mi>
  <mspace width="-.14em" />
  <mpadded height="-.5ex" depth="+.5ex" voffset="-.5ex">
      <mi>E</mi>
  </mpadded>
  <mspace width="-.115em" />
  <mi>X</mi>
</math>
Alta forma, de tipul

TeX and LaTeX

se face cu codul
 <p><span class="tex">T<sub>e</sub>X</span> and 
<span class="latex">L<sup>a</sup>T<sub>e</sub>X</span></p>
 

Putin mai fotografic
 
se face cu codul

Versiunea curentă este

<p>Versiunea curentă este
<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \mathrm {L\!\!^{{}_{\scriptstyle A}}\!\!\!\!\!\;\;T\!_{\displaystyle E}\!X} \,2_{\displaystyle \varepsilon }}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle scriptlevel="0" displaystyle="true">
<mrow class="MJX-TeXAtom-ORD">
<mi mathvariant="normal">L</mi>
<mspace width="negativethinmathspace"></mspace>
<msup>
<mspace width="negativethinmathspace"></mspace>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mrow class="MJX-TeXAtom-ORD">

</mrow>
<mrow class="MJX-TeXAtom-ORD">
<mstyle scriptlevel="1" displaystyle="false">
<mi mathvariant="normal">A</mi>
</mstyle>
</mrow>
</msub>
</mrow>
</msup>
<mspace width="negativethinmathspace"></mspace>
<mspace width="negativethinmathspace"></mspace>
<mspace width="negativethinmathspace"></mspace>
<mspace width="negativethinmathspace"></mspace>
<mspace width="negativethinmathspace"></mspace>
<mspace width="thickmathspace"></mspace>
<mspace width="thickmathspace"></mspace>
<mi mathvariant="normal">T</mi>
<msub>
<mspace width="negativethinmathspace"></mspace>
<mrow class="MJX-TeXAtom-ORD">
<mstyle scriptlevel="0" displaystyle="true">
<mi mathvariant="normal">E</mi>
</mstyle>
</mrow>
</msub>
<mspace width="negativethinmathspace"></mspace>
<mi mathvariant="normal">X</mi>
</mrow>
<mspace width="thinmathspace"></mspace>
<msub>
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<mstyle scriptlevel="0" displaystyle="true">
<mi>ε<!-- ε --></mi>
</mstyle>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \mathrm {L\!\!^{{}_{\scriptstyle A}}\!\!\!\!\!\;\;T\!_{\displaystyle E}\!X} \,2_{\displaystyle \varepsilon }}</annotation>
</semantics>
</math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/55ca3b312fbbd9013a2b13caa0d0c86be6283b9c" class="mwe-math-fallback-image-inline" aria-hidden="true" style="vertical-align: -1.005ex; width:8.99ex; height:2.843ex;" alt="{\displaystyle \mathrm {L\!\!^{{}_{\scriptstyle A}}\!\!\!\!\!\;\;T\!_{\displaystyle E}\!X} \,2_{\displaystyle \varepsilon }}"></span>
</p> 
 Scrierea CHIAR in Latex se face cu codul 
\LaTex
care NU ESTE PREVAZUT IN MathJax
 
Aceasta este o varianta mai "fitzoasa"

XeLaTeX

cu codul
<p><span class="latex">X<sub><span class=revcap>e</span></sub>L<sup>a</sup>T<sub>e</sub>X</span></p>
 

 

Niciun comentariu:

Trimiteți un comentariu