Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

word splitting in arguments to %%tikz #38

Open
cfraizer opened this issue Feb 25, 2022 · 1 comment
Open

word splitting in arguments to %%tikz #38

cfraizer opened this issue Feb 25, 2022 · 1 comment

Comments

@cfraizer
Copy link

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

%%tikz -f svg -l calc,positioning,shapes.misc -x $preamble

generates LaTeX code like:

% ⋮
\usetikzlibrary{shapes.misc}
\tikzset{terminal/.style={rectangle,
\begin{document}
% ⋮
@nog642
Copy link

nog642 commented Mar 9, 2024

Still an issue.

Ran pip install git+https://github.com/kpobrien/ipython-tikzmagic.git to get pull #43 to deal with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants