Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MathJax 支持用 \\ 换行 #340

Closed
Infinemen opened this issue Oct 27, 2020 · 7 comments
Closed

MathJax 支持用 \\ 换行 #340

Infinemen opened this issue Oct 27, 2020 · 7 comments
Assignees

Comments

@Infinemen
Copy link

理科生,往往需要推导下公式,所以希望用一个块完成公式推导,这个时候就需要换行。谢谢,程序员辛勤工作。

@Infinemen Infinemen changed the title 我想要latex支持用 “\\” 换行 我想要latex公式支持用 “\\” 换行 Oct 27, 2020
@88250
Copy link
Member

88250 commented Oct 27, 2020

麻烦补充一下 \\ 的公式文本,我们对这块不熟悉,谢谢。

@Infinemen
Copy link
Author

Infinemen commented Oct 27, 2020

f=a+b+c+a=2a+b+c

显示为

f=a+b+c+a=2a+b+c
f=a+b+c+a \\ =2a+b+c

希望能显示为

f=a+b+c+a
 =2a+b+c

本来插了图片结果显示不了,重新更新了以下。

@88250
Copy link
Member

88250 commented Oct 27, 2020

收到,谢谢。

@Vanessa219
Copy link
Member

数学公式我们使用了 katex 和 mathjax,目前 katex 是支持 \\ ,但 mathjax 就有问题,需要等待他们修复 mathjax/MathJax#2312

@Infinemen
Copy link
Author

谢谢

@Infinemen
Copy link
Author

Infinemen commented Oct 29, 2020

\\ 完整语法是 \\[行距] 来决定换行后两行之间的距离。默认比较窄,如果有比较高的符号 比如分数 积分号这种,默认行距两行会挨在一起。
等开发大大有时间来精雕细琢的时候,希望能把这个细节改一改。个人觉得 默认4-5px比较合适: \\[4px] 或者 \\[5px]

@88250 88250 changed the title 我想要latex公式支持用 “\\” 换行 MathJax 支持用 \\ 换行 Nov 30, 2020
@88250 88250 added the Bug label Nov 30, 2020
@88250
Copy link
Member

88250 commented May 26, 2021

v1.2.0 以后已经移除支持 MathJax 引擎,我关闭了。

@88250 88250 closed this as completed May 26, 2021
@88250 88250 removed the Bug label May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants