Open cfraizer opened 2 years ago
In one cell, I create a preamble like:
preamble=r'''\tikzset{terminal/.style={rectangle, minimum size=6mm, rounded corners=3mm, very thick, draw=black!50, top color=white, bottom color=black!20, font=\ttfamily}}'''
But it seems to terminate the preamble at <space> characters. so
<space>
%%tikz -f svg -l calc,positioning,shapes.misc -x $preamble
generates LaTeX code like:
% ⋮ \usetikzlibrary{shapes.misc} \tikzset{terminal/.style={rectangle, \begin{document} % ⋮
Still an issue.
Ran pip install git+https://github.com/kpobrien/ipython-tikzmagic.git to get pull #43 to deal with this.
pip install git+https://github.com/kpobrien/ipython-tikzmagic.git
In one cell, I create a preamble like:
But it seems to terminate the preamble at
<space>
characters. sogenerates LaTeX code like: