Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
36 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 ...
3
votes
1answer
60 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. ...
1
vote
1answer
70 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 ...
1
vote
1answer
55 views

Complicated curves intertwined in the link figures (II)

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
85 views

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

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 ...
3
votes
1answer
124 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? ...
0
votes
0answers
38 views

Drawing a knot in-text [duplicate]

I'm writing a paper on knot theory and would like to write an equation that needs a knot drawn in, kind of like this: π(trefoil knot)=(x,y;...) instead of trefoil knot I would like a little ...
2
votes
1answer
73 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
61 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
98 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
197 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
140 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
274 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 ...
6
votes
1answer
290 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
224 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
226 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
63 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
96 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
158 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
135 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
131 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
84 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 ...