Forgot password?
 Create new account
View 93|Reply 0

[MathJax] math.length 疑問

[Copy link]

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2024-2-27 18:53:59 |Read mode
github.com/mathjax/MathJax-src/blob/8565f9da9 … eX.ts#L211C1-L211C33
在findMathInString中,
  /**
   * Search a string for math delimited by one of the delimiter pairs,
   *   or by \begin{env}...\end{env}, or \eqref{...}, \ref{...}, \\, or \$.
   *
   * @param {ProtoItem[]} math  The array of proto math items located so far
   * @param {number} n          The index of the string being searched
   * @param {string} text       The string being searched
   */

有一行:
  1.         if (math.length === 2) {
Copy the Code
這一行是什麼意思?

手机版Mobile version|Leisure Math Forum

2025-4-20 22:04 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list