fix newline disabling katex render

This commit is contained in:
queue-miscreant 2025-03-25 20:03:22 -05:00
parent 3bcf958e86
commit cc41c90cca
2 changed files with 4 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -242,8 +242,7 @@ def show_diagonalized(operator: GoldbergOperator):
sympy.latex(eigenspace.inv(), fold_short_frac=True) sympy.latex(eigenspace.inv(), fold_short_frac=True)
}}}""" }}}"""
Markdown(f""" Markdown(f"""$$
$$
\\begin{{align*}} \\begin{{align*}}
dk &= {show_diagonalized("dk")} \\\\ dk &= {show_diagonalized("dk")} \\\\
c &= {show_diagonalized("c")} \\\\ c &= {show_diagonalized("c")} \\\\
@ -280,8 +279,8 @@ In all three cases, these coincide with the norm of the GC parameters:
$$ $$
\begin{gather*} \begin{gather*}
cD = GC(2, 0) \longrightarrow \|2 + 0u\| = 2^2 + 2 \cdot 0 + 0^2 = 4 \\
dkD = GC(1, 1) \longrightarrow \|1 + 1u\| = 1^2 + 1 \cdot 1 + 1^2 = 3 \\ dkD = GC(1, 1) \longrightarrow \|1 + 1u\| = 1^2 + 1 \cdot 1 + 1^2 = 3 \\
cD = GC(2, 0) \longrightarrow \|2 + 0u\| = 2^2 + 2 \cdot 0 + 0^2 = 4 \\
wD = GC(2, 1) \longrightarrow \|2 + 1u\| = 2^2 + 2 \cdot 1 + 1^2 = 7 wD = GC(2, 1) \longrightarrow \|2 + 1u\| = 2^2 + 2 \cdot 1 + 1^2 = 7
\end{gather*} \end{gather*}
$$ $$