Mathjax 不具合 小文字がずっと大文字になる問題20-05-01 新しいページはコチラ

提供: yonewiki
移動: 案内, 検索
(概要)
(概要)
 
1行: 1行:
 +
[[Mathjax 不具合]]に戻る
 
== '''概要''' ==
 
== '''概要''' ==
結構、悩みましたが不具合だと感じたので記述しておきます。
+
V3.0.4でEdgeブラウザのみに起こる現象で結構、悩みましたが不具合だと感じたので記述しておきます。
  
たとえば以下のように、問題なく使える小文字をすべて使った数式があるとします。
+
たとえば以下のように、平方根の分子にアルファベットの大文字を一度使います。
  
  
<big><ymath>$$ 26 = \mathrm{a}+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+s+t+u+v+w+x+y+z $$</ymath></big>
+
<big><ymath>\[ \sqrt{\frac{\mathstrut \mathrm{A}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{B}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{C}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{D}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{E}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{F}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{G}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{H}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{I}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{J}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{K}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{L}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{M}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{N}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{O}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{P}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{Q}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{R}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{S}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{T}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{U}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{V}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{W}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{X}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{Y}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{Z}}{\mathstrut \pi}}  \]</ymath> </big>
  
  
以下のように平方根の分子にアルファベットの大文字を一度使います。
+
すると!
  
  
<big><ymath>\[ \sqrt{\frac{\mathstrut \mathrm{A}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{B}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{C}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{D}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{E}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{F}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{G}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{H}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{I}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{J}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{K}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{L}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{M}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{N}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{O}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{P}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{Q}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{R}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{S}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{T}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{U}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{V}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{W}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{X}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{Y}}{\mathstrut \pi}}\sqrt{\frac{\mathstrut \mathrm{Z}}{\mathstrut \pi}}  \]</ymath> </big>
+
\$\$ \frac{ a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+s+t+u+v+w+x+y+z}{4} \$\$
 +
 
 +
と記述した数式が
 +
 
 +
 +
<big><ymath>$$ \frac{ a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+s+t+u+v+w+x+y+z}{4} $$</ymath></big>
 +
 
 +
 
 +
となってしまいます。Edgeブラウザ以外では正常に表示されます。これは平方根ではなくても、同じです。
 +
最初は平方根の分子のアルファベットだけが対象だと思っていましたが、関係なくインラインではないディスプレイ表示について、そのページで使った最初のアルファベットが大文字なのか小文字なのかが優先されていると思います。
  
  
すると!
 
  
<big><ymath>$$ \frac{ \mathrm{a}+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+s+t+u+v+w+x+y+z}{4} $$</ymath></big>
+
 
 +
[[Mathjax 不具合]]に戻る

2020年5月14日 (木) 00:00時点における最新版



個人用ツール
名前空間

変種
操作
案内
ツールボックス