You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a marking decoration mark=at position 1 with {...} is applied to a straight line or dummy to-path, it works fine. But when the path is a bend to-path, like (0,0) to[in=30] (2,0), then the marking is not drawn. Meanwhile, mark=at position .99 with {...} survives.
Minimal working example (MWE)
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\begin{document}
\begin{tikzpicture}[
decoration={
markings,
mark=at position .99 with {\draw[red] (0,0) circle (3pt); },
mark=at position 1 with { \draw[blue] (0,0) circle (5pt); }
}
]
\draw [postaction={decorate}] (0,0) to (2,0);
\draw [yshift=-1cm, postaction={decorate}] (0,0) to[in=30] (2,0);
\end{tikzpicture}
\end{document}
The text was updated successfully, but these errors were encountered:
Brief outline of the bug
From https://tex.stackexchange.com/q/647904
When a marking decoration
mark=at position 1 with {...}
is applied to a straight line or dummy to-path, it works fine. But when the path is a bend to-path, like(0,0) to[in=30] (2,0)
, then the marking is not drawn. Meanwhile,mark=at position .99 with {...}
survives.Minimal working example (MWE)
The text was updated successfully, but these errors were encountered: