Forgot password
 Register account
View 133|Reply 0

[MathJax] math.length 疑問

[Copy link]

3226

Threads

7843

Posts

52

Reputation

Show all posts

hbghlyj posted 2024-2-27 18:53 |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
這一行是什麼意思?

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-23 19:35 GMT+8

Powered by Discuz!

Processed in 0.011715 seconds, 22 queries