Skip to content

Commit

Permalink
Protect possible parentheses in computing looseness #947
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenke committed Nov 29, 2020
1 parent a651531 commit 3c46a69
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,10 @@
}

\def\tikz@to@start@compute@looseness{%
\edef\tikz@computed@start{([shift=(\tikz@to@out:\the\pgf@xa)]\tikz@tofrom)}%
\edef\tikz@computed@start{([shift=({\tikz@to@out}:\the\pgf@xa)]\tikz@tofrom)}%
}
\def\tikz@to@end@compute@looseness{%
\edef\tikz@computed@end{([shift=(\tikz@to@in:\the\pgf@xb)]\tikz@toto)}%
\edef\tikz@computed@end{([shift=({\tikz@to@in}:\the\pgf@xb)]\tikz@toto)}%
}
\def\tikz@to@start@compute@control{%
\let\tikz@computed@start=\tikz@to@out@control%
Expand Down

0 comments on commit 3c46a69

Please sign in to comment.