LaTeX Overview¶
Rendering of inline LaTex is supportedly natively within Jupyter notebooks and Jupyter Book publishing workflows.
\[f(x) = x^2 +x - \sin(x)\]
Rendering tikz Diagrams¶
In a Jupyter Book workflow, the sphinx-contrib/tikz renderer can be used to render tikz diagrams from tikz scripts in appropriately labeled fenced code blocks.
The innovationOUtside/ipython_magic_tikz IPython magic can also be used to render tikz defined diagrams inside a notebook from an appropriately magicked code cell:
%load_ext tikz_magic
%%tikz
\draw[thick,rounded corners=8pt]
(0,0)--(0,2)--(1,3.25)--(2,2)--(2,0)--(0,2)--(2,2)--(0,0)--(2,0);