mitex
mitex copied to clipboard
TikZ Support
Unable to get tikz to work:
#import "@preview/mitex:0.2.5": *
#mitext(`
\usepackage{tikz}
\begin{tikzpicture}
\node[draw] at (0,0) {some text};
\node[draw,align=left] at (3,0) {some text\\ spanning three lines\\ with manual line breaks};
\node[draw,text width=4cm] at (2,-2) {some text spanning three lines with automatic line breaks};
\end{tikzpicture}
`)
Tikz is extremely complex, and is likely one of the last things that would be supported by mitex
Is it easier to reimplement TikZ or to get mitex to support all the parts of TeX that TikZ relies on?