~tex-sx/tex-sx/development

« back to all changes in this revision

Viewing changes to hobby_test.tex

  • Committer: Andrew Stacey
  • Date: 2014-04-02 11:44:50 UTC
  • mto: This revision was merged to the branch mainline in revision 168.
  • Revision ID: stacey@math.ntnu.no-20140402114450-cvx6z25rk0jv1djv
New version of the TQFT code using the new pic syntax of TikZ3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
\HobbyDisableAux
43
43
 
44
44
\begin{document}
45
 
 
 
45
\begin{tikzpicture}[use Hobby shortcut]
 
46
% filled points
 
47
\fill (0,0) circle (1pt);
 
48
\fill (2,0) circle (1pt);
 
49
% middle crossing loop
 
50
\draw[save Hobby path=fish,thick, red] (3,-1) .. ([blank=soft]2,0) .. (0,0.93) .. (-0.93,0) .. (0,-0.93) .. (2,0) .. ([blank=soft]3,1);
 
51
\tikzset{show Hobby path=fish}
 
52
\draw[restore and use Hobby path={fish}{invert soft blanks,disjoint=true},thick, blue];
 
53
\end{tikzpicture}
 
54
\end{document}
46
55
 
47
56
\begin{tikzpicture}
48
57
\pgfpathmoveto{\pgfpoint{0}{0}}