Skip to main content

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