SpectralSequences / latex

Latex package to print spectral sequence diagrams using pgf/tikz.
9 stars 4 forks source link

bend + scale is broken #8

Closed dalcde closed 4 years ago

dalcde commented 4 years ago

The following does not produce the desired outcome:

\documentclass{article}
\usepackage{spectralsequences}

\begin{document}
\begin{sseqpage}[scale=0.3]
  \class(0, 0)
  \class(3, 3)
  \structline [bend left = 10] (0, 0)(3, 3)
\end{sseqpage}
\end{document}

Removing the [scale = 0.3] "fixes" the problem.

hoodmane commented 4 years ago

No idea what the heck this is. Maybe tomorrow I'll figure it out. Seems vaguely like it's some bad interaction between \sseq@draw@addoffsetfalse and \tikz@to@compute@relative. If that's the case, it's possible that it was affected b my recent changes to the offset mechanism in tikz coordinates. This would explain why I've never seen this behavior before if it is very recent. Further suggestion that there is some relationship comes from the fact that the nearly the same glitch appears if you say "\draw (0,0) to[bend left=10] (3,3);".

It's kind of sad that this overlap exists between the execution path between when drawing structlines and using tikz primitives, but this whole package works because of a bunch of crazy hacks so I guess it's not so surprising.

On Sun, Jan 12, 2020 at 10:03 PM Dexter Chua notifications@github.com wrote:

The following does not produce the desired outcome:

\documentclass{article}\usepackage{spectralsequences} \begin{document}\begin{sseqpage}[scale=0.3] \class(0, 0) \class(3, 3) \structline [bend left = 10] (0, 0)(3, 3)\end{sseqpage}\end{document}

Removing the [scale = 0.3] "fixes" the problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hoodmane/spectralsequences/issues/8?email_source=notifications&email_token=ACCVWKVD5SCKRSMWWS2KXX3Q5P74RA5CNFSM4KF44PCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IFU3ETQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCVWKSCCWTPN472BFJH5YTQ5P74RANCNFSM4KF44PCA .

hoodmane commented 4 years ago

Fixed by be1fa51b6d002da0ba5288423da534e4d8b84851