Forgot password
 Register account
View 294|Reply 3

MathJax 展示步骤

[Copy link]

3175

Threads

7937

Posts

48

Reputation

Show all posts

hbghlyj posted 2023-5-6 08:10 |Read mode
\toggle 宏(产生 MathML <maction> 元素)$$
\require{action}
\def\longest{x(x+1) + 1(x+1)}
\def\click{\rlap{\enclose{roundedbox}{\small\text{下一步}}}\hphantom{\longest}}
\def\={\phantom{ {}={} }}
(x+1)^2
\toggle
  {\begin{aligned}[t]& = \click\end{aligned}}
  {\begin{aligned}[t]& = (x+1)(x+1)\\[3px]&\=\click\end{aligned}}
  {\begin{aligned}[t]& = (x+1)(x+1)\\[3px]& = x(x+1) + 1(x+1)\\&\=\click\end{aligned}}
  {\begin{aligned}[t]& = (x+1)(x+1)\\[3px]& = x(x+1) + 1(x+1)\\[3px]& = (x^2+x) + (x+1)\\[3px]&\=\click\end{aligned}}
  {\begin{aligned}[t]& = (x+1)(x+1)\\[3px]& = x(x+1) + 1(x+1)\\[3px]& = (x^2+x) + (x+1)\\[3px]& = x^2 + (x + x) + 1\\[3px]&\=\click\end{aligned}}
  {\begin{aligned}[t]& = (x+1)(x+1)\\[3px]& = x(x+1) + 1(x+1)\\[3px]& = (x^2+x) + (x+1)\\[3px]& = x^2 + (x + x) + 1\\[3px]& = x^2 + 2x + 1\end{aligned}}
\endtoggle
$$

678

Threads

110K

Posts

213

Reputation

Show all posts

kuing posted 2023-5-6 17:30
还能这样玩,腻害😃😃😃

Comment

其实...那个按钮是假的...点击公式任意处都触发下一步  posted 2023-5-6 17:46
点击左边的(x+1)^2不会触发,点=及右边的部分才会  posted 2023-5-6 17:52

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-1 03:38 GMT+8

Powered by Discuz!

Processed in 0.012704 seconds, 25 queries