Skip to content

Commit fa2e66b

Browse files
committed
revert: keep katex_bug.md content unmodified; rely on template auto-render
1 parent a126471 commit fa2e66b

File tree

1 file changed

+32
-34
lines changed

1 file changed

+32
-34
lines changed

content/blog/katex_bug.md

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,33 @@ tags = ["demo"]
1111
> Display exceptions, such as inconsistent trailing commas and local restrictions, being pushed to one line, or not being displayed
1212
1313
```markdown
14-
{% katex_block() %}
15-
\\begin{cases}
16-
f(x) \\equiv V_1(x)^2 \\pmod{U_1(x)} \\\\
17-
f(x) \\equiv V_2(x)^2 \\pmod{U_2(x)} \\\\
18-
f(x) \\equiv V_3(x)^2 \\pmod{U_3(x)}
19-
\\end{cases}
20-
{% end %}
14+
$$\begin{cases} f(x) \equiv V_1(x)^2 \pmod{U_1(x)} \\ f(x) \equiv V_2(x)^2 \pmod{U_2(x)} \\ f(x) \equiv V_3(x)^2 \pmod{U_3(x)} \end{cases}$$
2115
```
2216

2317
$$\begin{cases} f(x) \equiv V_1(x)^2 \pmod{U_1(x)} \\ f(x) \equiv V_2(x)^2 \pmod{U_2(x)} \\ f(x) \equiv V_3(x)^2 \pmod{U_3(x)} \end{cases}$$
2418

2519
---
2620

2721
```markdown
28-
{% katex() %}(\\text{order\\_candidate} / p_i) \\cdot G{% end %}
22+
$(\text{order\_candidate} / p_i) \cdot G$
2923
```
3024

3125
$(\text{order\_candidate} / p_i) \cdot G$
3226

3327
---
3428

3529
```markdown
36-
{% katex_block() %}
37-
\\text{order\\_candidate} \\leftarrow \\frac{\\text{order\\_candidate}}{p_i}
38-
{% end %}
30+
$$\text{order\_candidate} \leftarrow \frac{\text{order\_candidate}}{p_i}$$
3931
```
4032

4133
$$\text{order\_candidate} \leftarrow \frac{\text{order\_candidate}}{p_i}$$
4234

4335
---
4436

4537
```markdown
46-
{% katex_block() %}
47-
\\text{flag\\_chocolate}= (a^m+b^m)\\bmod p ,
48-
{% end %}
38+
$$
39+
\text{flag\_chocolate}= (a^m+b^m)\bmod p ,
40+
$$
4941
```
5042

5143
$$
@@ -55,9 +47,9 @@ $$
5547
---
5648

5749
```markdown
58-
{% katex_block() %}
59-
q = p_{\\text{crypto}}-1\\; / \\; 2 = 85\\,414\\,812\\,699\\,185\\,126\\,250\\,990\\,381\\,881\\,994\\,204\\,791 .
60-
{% end %}
50+
$$
51+
q = p_{\text{crypto}}-1\; / \; 2 = 85\,414\,812\,699\,185\,126\,250\,990\,381\,881\,994\,204\,791 .
52+
$$
6153
```
6254

6355
$$
@@ -67,12 +59,16 @@ $$
6759
---
6860

6961
```markdown
70-
{% katex_block() %}
71-
B=\\begin{pmatrix}
72-
2 & & & & & d_{1,6} \\\\
73-
& 2 & & & & d_{1,7} \\\\
74-
& & \\ddots & & & \\vdots\\\\n+ & & & 2 & & d_{17,11}\\\\n+ & & & & 1 & -M\\end{pmatrix},
75-
{% end %}
62+
$$
63+
B=
64+
\begin{pmatrix}
65+
2 & & & & & d_{1,6} \\
66+
& 2 & & & & d_{1,7} \\
67+
& & \ddots & & & \vdots\\
68+
& & & 2 & & d_{17,11}\\
69+
& & & & 1 & -M
70+
\end{pmatrix},
71+
$$
7672
```
7773

7874
$$
@@ -89,9 +85,9 @@ $$
8985
---
9086

9187
```markdown
92-
{% katex_block() %}
93-
S=S_{0}+\\sum_{i,k}b_{i,k}\\,d_{i,k} - K\\,M,
94-
{% end %}
88+
$$
89+
S=S_{0}+\sum_{i,k}b_{i,k}\,d_{i,k} - K\,M,
90+
$$
9591
```
9692

9793
$$
@@ -101,9 +97,9 @@ $$
10197
---
10298

10399
```markdown
104-
{% katex_block() %}
105-
\\text{idek\\{ \\ldots \\}} .
106-
{% end %}
100+
$$
101+
\text{idek\{ \ldots \}} .
102+
$$
107103
```
108104

109105
$$
@@ -113,15 +109,17 @@ $$
113109
---
114110

115111
```markdown
116-
{% katex_block() %}
117-
m_{\\text{min}} = \\underbrace{0x20\\cdots20}_{20\\text{ 个空格}} \\\\
118-
\\qquad \\\\
119-
m_{\\text{max}} = \\underbrace{0x7E\\cdots7E}_{20\\text{ 个波浪号}}
120-
{% end %}
112+
$$
113+
m_{\text{min}} = \underbrace{0x20\cdots20}_{20\text{ 个空格}}
114+
\qquad
115+
m_{\text{max}} = \underbrace{0x7E\cdots7E}_{20\text{ 个波浪号}}
116+
$$
121117
```
122118

123119
$$
124120
m_{\text{min}} = \underbrace{0x20\cdots20}_{20\text{ 个空格}}
125121
\qquad
126122
m_{\text{max}} = \underbrace{0x7E\cdots7E}_{20\text{ 个波浪号}}
127123
$$
124+
125+

0 commit comments

Comments
 (0)