【问题标题】:How can I add a new line in MathView in Android如何在 Android 的 MathView 中添加新行
【发布时间】:2016-12-08 09:43:07
【问题描述】:

我已经用谷歌搜索了,但找不到合适的解决方案。

MathView 工作正常,但是当我添加 '\' 以添加新行时,它会转义 '\' 字符。 我尝试添加'\\'和'\〜'。但他们没有工作。

数学视图:https://github.com/kexanie/MathView

【问题讨论】:

  • 也许可以试试\newline?这似乎是如何在 TeX 中编写换行符。
  • 我添加了 '\\\\' 并且成功了。
  • 对于 MathView 中的新行但在 Mathjax 语法之外我必须添加
    标签。

标签: android math webview android-webview mathjax


【解决方案1】:

不错的尝试,但在里面使用它

\begin{multline} first line \\ second line\end{multline}

这里我使用了 $$ 所以它的双反斜杠和四个反斜杠四个换行

$$\\color{black}{\\small\\begin{multline}\\text{first line} \\\\ here's my second line\\end{multline}}$$

希望对你有帮助:)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-09-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多