TeX - LaTeX Asked on January 19, 2021
I’m trying to draw a very simple braid diagram, and the below code "half successfully" builds a PDF with the desired output (but only just before the compilation stops from the below error), but I can’t use this code in any actual document since it always terminates with Dimension too large
and Arithmetic overflow
errors at end{knot}
. Deleting one or two of the strands seems to make it compile fine (it depends which ones, it seems like).
knots
package).documentclass{article}
usepackage{tikz}
usetikzlibrary{knots}
begin{document}
begin{tikzpicture}
node at (0,0) {$bullet$};
node at (1,0) {$bullet$};
node at (1.5,0) {$bullet$};
begin{knot}
strand (1,0) to (0,-3);
strand (1.5,0) to (0.5,-3);
strand (0,0) to (1.5,-3);
end{knot}
node at (0,-3) {$bullet$};
node at (0.5,-3) {$bullet$};
node at (1.5,-3) {$bullet$};
end{tikzpicture}
end{document}
Not a full answer to my question, but the following code works fine for me (with no errors) (thanks to this tweet). I can use this to get the diagram I want, but I still have no idea what's causing the error in the first place, and would like to know...
begin{tikzpicture}[knot gap=7]
draw[knot] (1,0) to (0,-3);
draw[knot] (1.5,0) to (0.5,-3);
draw[knot] (0,0) to (1.5,-3);
node at (0,0) {$bullet$};
node at (1,0) {$bullet$};
node at (1.5,0) {$bullet$};
node at (0,-3) {$bullet$};
node at (0.5,-3) {$bullet$};
node at (1.5,-3) {$bullet$};
end{tikzpicture}
Answered by Tim on January 19, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP