80,090 reputation
16202434
bio website loopspace.mathforge.org
location
age
visits member for 4 years, 5 months
seen 2 hours ago

Dec
15
comment Drawing knots with tikz - no visible crossings
@ulead86 See updated answer. That gave me the clue to what was actually going on here. Thanks.
Dec
15
revised Drawing knots with tikz - no visible crossings
Added an alternative solution using the `end tolerance` key.
Dec
15
comment Drawing knots with tikz - no visible crossings
@ulead86 The difference between the two diagrams comes in the scale=X option on the outer tikzpicture. The issue in your diagram is that the crossing is being ignored because it is failing a distance test. By scaling up the diagram, you effectively lower the tolerance on that distance test and so make it more likely that the crossing will get seen.
Dec
15
comment “Z-level” in TikZ
@Kpym It's been over two years since I last looked at this code so I don't actually remember what that was for. Most likely, it was part of some code in an older version that I forgot to delete in the last version.
Dec
14
comment Drawing knots with tikz - no visible crossings
@cfr Interestingly, the necessity of no spaces is because the knot environment is defined using \NewDocumentEnvironment from xparse rather than the standard \newenvironment.
Dec
14
comment Drawing knots with tikz - no visible crossings
@cfr Did you remove the space? If you don't delete the space between \begin{knot} and the [...] then the part in [...] isn't taken as the optional argument to the knot environment but is passed on to \tikzset which doesn't have the same effect.
Dec
14
answered Drawing knots with tikz - no visible crossings
Dec
13
awarded  Announcer
Dec
12
comment Adding a large brace next to a body of text
@cfr Having actually just read the answer again, I realise you might be referring to the infamous tikzmark library rather than a library to put braces next to text (as I originally thought). Are you?
Dec
12
comment Adding a large brace next to a body of text
@cfr Is there? What library is that? (Please provide a link rather than a hint!)
Dec
8
awarded  Announcer
Nov
25
awarded  Notable Question
Nov
23
awarded  Great Answer
Nov
16
awarded  Nice Answer
Nov
14
awarded  Nice Question
Nov
12
comment How put color in all math mode?
Sort of related: tex.stackexchange.com/q/335/86
Nov
6
awarded  Popular Question
Nov
1
comment Setting \tikzstyle inside \foreach
The code in a \foreach loop is executed inside a group and so outside it the styles are not set.
Oct
27
awarded  Necromancer
Oct
25
comment How do I display pi in LaTeX like Don?
My phi code is now on github: github.com/loopspace/golden