Jwrede / Anki-KaTeX-Markdown

Creates a new Basic and a new Cloze Note Type that support Markdown and KaTeX
75 stars 5 forks source link

New problem with Katex #10

Closed pilgrimlyieu closed 3 years ago

pilgrimlyieu commented 3 years ago

1 2 New Problem Now! I feel dizzy:(

$\begin{cases}\sin\alpha+\sin\beta={{c1::2\sin\dfrac{\alpha+\beta}{2}\cos\dfrac{\alpha-\beta}{2}}}\\\sin\alpha-\sin\beta={{c2::2\cos\dfrac{\alpha+\beta}{2}\sin\dfrac{\alpha-\beta}{2}}}\\\cos\alpha+\cos\beta={{c3::2\cos\dfrac{\alpha+\beta}{2}\cos\dfrac{\alpha-\beta}{2}}}\\\cos\alpha-\cos\beta={{c4::-2\sin\dfrac{\alpha+\beta}{2}\sin\dfrac{\alpha-\beta}{2}}}\end{cases}$

Moreover, it works normal in the back side.

ficapy commented 3 years ago

It' s normal in my case

Jwrede commented 3 years ago
$\begin{cases}\sin\alpha+\sin\beta={{c1::2\sin\dfrac{\alpha+\beta}{2}\cos\dfrac{\alpha-\beta}{2} }}\\\sin\alpha-\sin\beta={{c2::2\cos\dfrac{\alpha+\beta}{2}\sin\dfrac{\alpha-\beta}{2} }}\\\cos\alpha+\cos\beta={{c3::2\cos\dfrac{\alpha+\beta}{2}\cos\dfrac{\alpha-\beta}{2} }}\\\cos\alpha-\cos\beta={{c4::-2\sin\dfrac{\alpha+\beta}{2}\sin\dfrac{\alpha-\beta}{2} }}\end{cases}$

this works, if you have }}} in a cloze it'll interpret the first two }'s as the end of the cloze so you'll have to type } }}

pilgrimlyieu commented 3 years ago

this works, if you have }}} in a cloze it'll interpret the first two }'s as the end of the cloze so you'll have to type } }}

Thanks you very much! It works!