Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • Can help you this link at the §7? loopspace.mathforge.org/HowDidIDoThat/TeX/Knots Commented Sep 2, 2019 at 10:42
  • @Sebastiano I have seen this link. I am not sure how that code works, though. If you believe that this could be the solution, can you write up an answer explaining it? I'm still rather new to TikZ, sorry... Commented Sep 2, 2019 at 10:45
  • With lot of sincerity I should to read the manual and I'm not very able to give you an answer. Surely there is my +1. My best regards. Commented Sep 2, 2019 at 10:48
  • (Sorry - only just seen this.) The difficulty here is that colours and decorations have to be applied to paths as a whole, but the knot library is designed for when we are trying to draw strands as entire paths which cross over each other at possibly unknown places. So there's a basic tension between the two. I'm not sure of the best way to solve this one. Commented Mar 27, 2020 at 20:36
  • @AndrewStacey Yeah, I worried that that was the case. Based on my own toying around, it looks like knots obscures parts of a path rather than creating multiple. Do you have any plans to adjust its functioning, possibly as an option? BTW, I did find a rather crude solution in using multiple strands, but I had to manually create a number of the intersections using the double feature of TikZ. Commented Mar 27, 2020 at 22:45