Zum Hauptinhalt springen

latex

2.1 Math / LaTeX​

Renders natively on GitHub (since May 2022), Obsidian, Jupyter, and most docs generators.

Inline math: The rendering time complexity is O(nlog⁑n)O(n \log n) where nn is the number of nodes.

Block math:

SVGoutput=βˆ‘i=1NrenderNode(ni)+βˆ‘j=1MrenderEdge(ej)SVG_{output} = \sum_{i=1}^{N} \text{renderNode}(n_i) + \sum_{j=1}^{M} \text{renderEdge}(e_j) Layout(G)=arg⁑min⁑posβˆ‘(u,v)∈Eβˆ₯pos(u)βˆ’pos(v)βˆ₯2\text{Layout}(G) = \arg\min_{pos} \sum_{(u,v) \in E} \|pos(u) - pos(v)\|^2