Skip to content

Commit 03e7bf1

Browse files
committed
content: add katex_bug demo page to reproduce rendering issues
1 parent ed2133e commit 03e7bf1

File tree

1 file changed

+119
-0
lines changed

1 file changed

+119
-0
lines changed

content/blog/katex_bug.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
+++
2+
title = "katex bug"
3+
+++
4+
5+
> Display exceptions, such as inconsistent trailing commas and local restrictions, being pushed to one line, or not being displayed
6+
7+
```markdown
8+
$$\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}$$
9+
```
10+
11+
$$\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}$$
12+
13+
---
14+
15+
```markdown
16+
$(\text{order\_candidate} / p_i) \cdot G$
17+
```
18+
19+
$(\text{order\_candidate} / p_i) \cdot G$
20+
21+
---
22+
23+
```markdown
24+
$$\text{order\_candidate} \leftarrow \frac{\text{order\_candidate}}{p_i}$$
25+
```
26+
27+
$$\text{order\_candidate} \leftarrow \frac{\text{order\_candidate}}{p_i}$$
28+
29+
---
30+
31+
```markdown
32+
$$
33+
\text{flag\_chocolate}= (a^m+b^m)\bmod p ,
34+
$$
35+
```
36+
37+
$$
38+
\text{flag\_chocolate}= (a^m+b^m)\bmod p ,
39+
$$
40+
41+
---
42+
43+
```markdown
44+
$$
45+
q = p_{\text{crypto}}-1\; / \; 2 = 85\,414\,812\,699\,185\,126\,250\,990\,381\,881\,994\,204\,791 .
46+
$$
47+
```
48+
49+
$$
50+
q = p_{\text{crypto}}-1\; / \; 2 = 85\,414\,812\,699\,185\,126\,250\,990\,381\,881\,994\,204\,791 .
51+
$$
52+
53+
---
54+
55+
```markdown
56+
$$
57+
B=
58+
\begin{pmatrix}
59+
2 & & & & & d_{1,6} \\
60+
& 2 & & & & d_{1,7} \\
61+
& & \ddots & & & \vdots\\
62+
& & & 2 & & d_{17,11}\\
63+
& & & & 1 & -M
64+
\end{pmatrix},
65+
$$
66+
```
67+
68+
$$
69+
B=
70+
\begin{pmatrix}
71+
2 & & & & & d_{1,6} \\
72+
& 2 & & & & d_{1,7} \\
73+
& & \ddots & & & \vdots\\
74+
& & & 2 & & d_{17,11}\\
75+
& & & & 1 & -M
76+
\end{pmatrix},
77+
$$
78+
79+
---
80+
81+
```markdown
82+
$$
83+
S=S_{0}+\sum_{i,k}b_{i,k}\,d_{i,k} - K\,M,
84+
$$
85+
```
86+
87+
$$
88+
S=S_{0}+\sum_{i,k}b_{i,k}\,d_{i,k} - K\,M,
89+
$$
90+
91+
---
92+
93+
```markdown
94+
$$
95+
\text{idek\{ \ldots \}} .
96+
$$
97+
```
98+
99+
$$
100+
\text{idek\{ \ldots \}} .
101+
$$
102+
103+
---
104+
105+
```markdown
106+
$$
107+
m_{\text{min}} = \underbrace{0x20\cdots20}_{20\text{ 个空格}}
108+
\qquad
109+
m_{\text{max}} = \underbrace{0x7E\cdots7E}_{20\text{ 个波浪号}}
110+
$$
111+
```
112+
113+
$$
114+
m_{\text{min}} = \underbrace{0x20\cdots20}_{20\text{ 个空格}}
115+
\qquad
116+
m_{\text{max}} = \underbrace{0x7E\cdots7E}_{20\text{ 个波浪号}}
117+
$$
118+
119+

0 commit comments

Comments
 (0)