Questions tagged [tikz-knots]

{tikz-knots} is for questions relating to the use of the `knots` library for TikZ, which is a part of the `spath3` package.

Filter by
Sorted by
Tagged with
6
votes
1answer
64 views

Unexpected behavior of arrow decorations on knots: Multiple arrows and gaps appear

I'm using the knots tikzlibrary to draw some knots, and wanted to orient my knots, i.e. add an arrow. I use a decoration style which I've called "arrowat", which inserts an arrow at the desired spot (...
0
votes
0answers
32 views

Scaling knot diagram is losing ability to detect crossings

My goal is to be able to render knot diagrams in tek and the be able to scale them so that I can place them in environments such as equations. However, when I begin to scale the diagrams so that they ...
1
vote
1answer
31 views

Smoothing a curve drawn in the knots package

I am trying to teach myself how to use the knots package for latex to render images for a paper I am writing. Unfortunately nobody else in my department has any experience with this package. I think ...
2
votes
1answer
42 views

Tikz: Using self intersection of knots library in an align environment throws error

Correct me if it's bad style but I used align to horizontally order multiple tikzpicture's and discovered the following. Take the standard example for self intersections from the manual for the knots ...
5
votes
3answers
106 views

Tikz : self intersection not recognized in knots library of spath3

I have troubles with self intersections in the knots library. Consider the following: \documentclass[tikz,border=1pt]{standalone} \usetikzlibrary{calc,knots} %set default length and ...
5
votes
1answer
99 views

Change Path Color at Specified Points (to Tricolor Trefoil Knot)

I am currently teaching myself Knot Theory and am looking to draw related diagrams using TikZ. Using the knots library and a foreach loop, I have written a pretty solid code for drawing a monocolor ...
4
votes
1answer
71 views

knots : The \strand command seems to have strange effect to the \clip command

I'm drawing a knot diagram and I use the \clip command to help shading the regions. However, it seems that the \strand command of the knot environment have some strange effect to \clip. For instance, ...
2
votes
0answers
49 views

Drawing an angle that should not cross over an intermediate line

I want to draw an angle arc using the angles tikz library. This arc has to not cross over an intermediate line between its limits. I try to use the knots package but it doesn't seem to work well with ...
4
votes
2answers
93 views

dash path between two intersections with other path

I wish to dash the red path when it is between the intersections with the blue path. How can I do this using paths names? \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \...
1
vote
1answer
256 views

How to draw toroidal grid diagrams in TikZ [duplicate]

I am trying to turn a planar grid diagram into a 3D toroidal graph by identifying the top edge with the bottom and the left with the right, i.e: So the grid below on the left would be transformed ...
3
votes
2answers
126 views

TikZ Knots package: crossing changed after scaling

I have realised that my knot diagram changes one of its crossings when it's scaled differently. The crossings should be correct in the second diagram generated by the code below. I don't know how this ...
3
votes
1answer
81 views

Flip crossing doesn't work in TikZ with two strands

I am struggling to change the bottom crossing of this picture. This is for my project and the deadline is in an hour but I've just found out this mistake! Please can someone help to flip that crossing ...
4
votes
1answer
305 views

How do I draw the orientation of a knot in TikZ?

So I am trying to add an arrow to a path of the figure-8 knot to indicate its orientation, but I can't seem to get it visible on the diagram. I'm a beginner in TikZ and any help would be appreciated. ...
2
votes
1answer
121 views

Make a Tikz figure (a hypersurface figure made by Inkscape)

I am interested in drawing this figure through tikz: I made this figure myself though Inkscape. What is the best strategy to make this figure through tikz? Ans: The best way, for us, seems to be ...
0
votes
1answer
77 views

Complicated curves intertwined in the link figures (II) [closed]

This is a more advanced question following an earlier one. I am struggled to draw these types of figures: There is a package called the knot library. So I am going to try the knot library out. But ...
2
votes
0answers
108 views

Complicated curves intertwined in the link figures (I): Unsolved Christmas tree decoration [closed]

I am struggled to draw these types of figures: I guessed there is a package called the knot library (just learned this thing exist 2 mins ago): So I am going to try the knot library out. But in case ...
4
votes
1answer
269 views

Reproduce bracket polynomials

I want to reproduce the following bracket polynomials, but I'm quite clueless on how to do so. From what I've searched, people often use tikz to reproduce these knots. But how to draw knot using tikz? ...
2
votes
1answer
131 views

Force individual pin angle in knots package TikZ

I am trying to draw a knot using the knots package, but the crossing labels are straight up, which looks bad at most crossings. This is my code: \begin{tikzpicture} \begin{knot}[draft mode=crossings, ...
3
votes
1answer
107 views

Flipping behavior at triple point crossings in knots package for tikz

I am using Andrew Stacey's fantastic knots package, and I am having trouble getting triple point crossings displayed in the order I intend. Consider the following: \documentclass{amsart} \usepackage{...
1
vote
1answer
137 views

Framed Knots — Blackboard framing — Ribbons

I'm using Tikz to draw knots. I am wondering whether there is some way of drawing framed knots i.e. when you think of your knot as being made out of ribbon so that a Type I Reidermeister move induces ...
7
votes
2answers
283 views

Shade a region in a knot diagram

Using the knots package, I have drawn a (3,7)-torus knot. I would like for the inner region of the diagram to be shaded gray. A minimal working example for the code follows. \documentclass{article} \...
1
vote
1answer
204 views

How can I construct a planar tangle, shaed or un-shaded, in LaTeX or Mathematica using the tikz package?

I have tried searching for tikz code regarding planar tangles and planar algebras online, but the code does not copy over accurately. I noticed that in these online sources, the package "mathfig" was ...
6
votes
3answers
354 views

Drawing knots without overdrawing a grid

I would like to draw a knot with self intersections. This can be done with the TikZ library knots. However, in my situation I have a grid in the background which should not be overdrawn from the white ...
7
votes
1answer
388 views

How to split a (Hobby) path in two

I'm trying to make a knot diagram and to visualize the deformation of a knot, I'd like to split the path from a certain point and have it continue in two directions. I've attempted to get what I want ...
1
vote
0answers
441 views

Drawing knot on Latex [duplicate]

I want to draw some knots for my master's dissertation, but I dont want to do that by including pictures of them. Can I do this on latex? If this is possible how? If not, are there any apps which can ...
2
votes
1answer
344 views

How to draw Temperley-Lieb diagrams in LaTeX?

Could someone please provide some sort of template for drawing some basic Temperley-Lieb diagrams in LateX? I have tried using the tikz package, but am still unable to make any progress. Here is one ...
1
vote
1answer
83 views

Unwanted white space around knots in TikZ

I'm talking about problems with following MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{knots} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} Lorem ipsum ...
3
votes
1answer
127 views

Crossings for small knots: I can't seem to manage to flip one of two very close crossings

This question is related to this one on small knots, but the solution there does not help (though it is needed in order for the intersections to appear at all. My problem is the following: I'm ...
1
vote
0answers
187 views

Tikz knots package: line style with consider self-intersections [closed]

Using the tikz knots package, when using the option consider self intersections, the redrawn parts of the overcrossing line do not maintain the style: for example, a thick line redraws as thin near ...
4
votes
1answer
160 views

Unexpected behavior of the “knots” tikz library when a crossing is close to another (thick) line: What's going on?

I recently tried to draw some Olympic rings using the tikz library "knots", and ran into some unexpected behavior. As can be seen in the linked answer, the lower crossing of the black and green rings ...
4
votes
1answer
150 views

How can the knots TikZ library be used with current l3 (e.g. TeX Live 2015)?

The knots library for TikZ seems to be incompatible with the current l3 packages as provided, for example, by TeX Live 2015. The following example, taken from the library's documentation compiles ...
3
votes
0answers
140 views

How to avoid double & dotted/dashed lines unexpectedly joins the segments? [duplicate]

As you can notice, the dots of the dotted double line are joined by two very thin lines. Also the dashed-double line joins them automatically. Is there a way out to remove those unions? (I left knots ...