Forgot password?
 Register account
View 133|Reply 0

[MathJax] math.length 疑問

[Copy link]

3156

Threads

7932

Posts

45

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 | 快速注册

$\LaTeX$ formula tutorial

Mobile version

2025-6-8 10:21 GMT+8

Powered by Discuz!

Processed in 0.017916 second(s), 21 queries

× Quick Reply To Top Edit