Menu

#310 Problem with color scopes

v1.0 (example)
closed-works-for-me
nobody
None
5
2018-12-29
2014-05-10
No

The following two pictures should produce the same result but, since version 3.0, they don't. A similar problem happens with the newer Latex tip from arrows.meta.

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[preaction={draw=red}] (0,0) -- (1,0);
\draw[-latex] (0,-1) -- (1,-1);
\end{tikzpicture}

\begin{tikzpicture}
\draw[preaction={color=red}] (0,0) -- (1,0);
\draw[-latex] (0,-1) -- (1,-1);
\end{tikzpicture}
\end{document}

Discussion

  • Henri Menke

    Henri Menke - 2018-12-28

    Cannot reproduce, mark as fixed.

     
  • Stefan Pinnow

    Stefan Pinnow - 2018-12-29
    • status: open --> closed-works-for-me
     
  • Stefan Pinnow

    Stefan Pinnow - 2018-12-29

    For me also the two pictures give the same result (everything in black).

     
MongoDB Logo MongoDB