MathMLのトリセツ

blue white red and yellow abstract painting AniCre development
Photo by Steve Johnson on Pexels.com

MathMLとは

恋愛 = 親密度 出会い

ブラウザ上で数式を表示するjavascriptのフレームワークです。

数式を描くのに、特化しており簡単なプログラミングで作る事が出来ます。

導入方法はCDNでの導入がお勧めです。

<script type="text/javascript" async
        src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=MML_SVG"></script>

トリセツ

文字の大きさ

 <mstyle fontsize="5 pt">

基本事項

<mi></mi> ///文字を表す時に使う
<mn></mn> ///数字を現す尾に使う
<mo><mo> ///+,-,*,/,などの演算式を現すのに使う

分数表示<mfrac><mrow>

親密度 出会い
<script type="text/javascript" async
        src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=MML_SVG"></script>
<math>
 <mstyle fontsize="5 pt">
  <mfrac>
    <mrow>
      <mn>親密度</mn>
    </mrow>
    <mn>出会い</mn>
  </mfrac>
</math>

分数を現したい時

<mfrac>//分数使うよ
<mrow>
//上側
</mrow>

<mrow>
//下側
</mrow>
</mfrac>

累乗表示

x 2
<msup>
<mi></mi>
<mn></mn> //2つ目が累乗表示
</msup>

コメント

  1. I’m impressed, I have to say. Really not often do I encounter a weblog that’s each educative and entertaining, and let me inform you, you will have hit the nail on the head. Your idea is outstanding; the problem is one thing that not sufficient people are talking intelligently about. I am very completely satisfied that I stumbled across this in my search for something referring to this.

    https://www.zoritolerimol.com

  2. Simply wanna input on few general things, The website style is perfect, the subject matter is real great. “The idea of God is the sole wrong for which I cannot forgive mankind.” by Marquis de Sade.

    https://www.zoritolerimol.com

  3. Spot on with this write-up, I really think this web site needs much more consideration. I’ll most likely be again to read far more, thanks for that info.

    https://nftepubs.com/epub-profile.php?symbol=book-48528

  4. There is noticeably a bundle to realize about this. I assume you made various nice points in features also.

    https://nftepubs.com/epub-profile.php?symbol=book-25270

  5. Excellent website. Plenty of useful information here. I’m sending it to some friends ans also sharing in delicious. And obviously, thanks for your effort!

    https://nftepubs.com/epub-profile.php?symbol=book-21181

  6. hi!,I like your writing so much! share we communicate more about your article on AOL? I need a specialist on this area to solve my problem. Maybe that’s you! Looking forward to see you.

    https://nftepubs.com/epub-profile.php?symbol=9781506047119

  7. Loving the info on this web site, you have done outstanding job on the content.

    https://nftepubs.com/epub-profile.php?symbol=book-23140

  8. Awesome blog! Do you have any suggestions for aspiring writers? I’m planning to start my own site soon but I’m a little lost on everything. Would you suggest starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m completely confused .. Any tips? Thanks a lot!

    https://nftepubs.com/epub-profile.php?symbol=book-22769

  9. Simply desire to say your article is as amazing. The clarity in your submit is simply spectacular and that i could assume you are a professional in this subject. Fine with your permission let me to grab your feed to keep updated with forthcoming post. Thanks a million and please continue the rewarding work.

    https://nftepubs.com/epub-profile.php?symbol=9781505966589

  10. Hello my family member! I want to say that this post is awesome, nice written and include almost all vital infos. I would like to look extra posts like this .

    https://nftepubs.com/epub-profile.php?symbol=book-53907

  11. I really enjoy reading on this site, it has wonderful articles. “I have a new philosophy. I’m only going to dread one day at a time.” by Charles M. Schulz.

    https://bulktokensender.com/