我正在尝试在webview中显示用LaTex编写的数学公式,但我正在努力处理字符“\”:我不能写“\”因为是错误,但如果我使用“\\”应用程序无法渲染公式。
url += "This is a display equation: $$P=\frac{F}{A}$$";
url += "This is also an identical display equation with different format:\\[P=\\frac{F}{A}\\]";
我正在使用这个问题作为模型:Display Good-looking Math Formula in Android
任何建议表示赞赏。
对于每个有我自己问题的人...我最近发现有一种更简单的方法可以用MathView显示数学公式。如果有人有兴趣:qazxsw poi