Forgot password?
 Create new account
View 111|Reply 2

“去行间公式后的1个br”支持的环境?

[Copy link]

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2024-2-11 03:37:03 |Read mode
zdy3pc.js中,
  1.         .replace(/(\\\]|\\end\{align\*?\}|\\end\{gather\*?\}|\\end\{equation\*?\}|\$\$)( |&nbsp;)*<br>/g,'$1')
  2.             //去行间公式后的1个br
Copy the Code

好像没有匹配 \begin{cases}、\begin{eqnarray}、\begin{alignat}等

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

kuing Posted at 2024-2-11 17:35:13
cases 环境:正常情况应内嵌于数学环境中,所以不需要处理。
eqnarray 环境:不推荐使用,所以也不处理。
alignat 环境:比较少用,可以考虑加上,但暂时懒得改。

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

 Author| hbghlyj Posted at 2024-3-22 01:55:05
还有\begin{multline}

手机版Mobile version|Leisure Math Forum

2025-4-20 22:07 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list