I’m using GitHub - artisticat1/obsidian-tikzjax: Render LaTeX and TikZ diagrams in your notes plugin, to render the first image on this page: https://tex.org.uk/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf#page=888
The code is as folows:
\begin{document}
\usetikzlibrary {datavisualization.formats.functions} \begin{tikzpicture}[scale=0.5]
\datavisualization [school book axes={unit=10}, visualize as smooth line, clean ticks, x axis={label=$x$}, y axis={label=$f(x)$}] data [format=function] { var x : interval [-20:20]; func y = \value x*\value x/10; };
\end{tikzpicture}
\end{document}
I scaled down the whole thing otherwise it comes out of view (and I still have no way to scroll inside the rendering box to see the full image).
Anyone know how to move it so that the render is completely visible and centered with the document?