Menu

#518 [turn] breaks alignment

v1.0 (example)
closed-duplicate
None
5
2019-02-27
2019-02-26
No

In the following code, the usage of turn breaks the alignment of the paths:

\documentclass[tikz]{standalone}

\begin{document}

\begin{tikzpicture}
    \path [fill=blue] (0,0) -- +(-135:5mm) -- ([turn]90:25mm) -- ([turn]90:5mm) -- cycle;
    \path [fill=red] (0,0) -- +(-135:5mm) -- ([turn]90: 5mm) -- ([turn]90:5mm) -- cycle;
\end{tikzpicture}

\begin{tikzpicture} 
    \path [fill=blue] (0,0) -- ++(-135:5mm) -- ++ (-45:25mm) -- ++ (45:5mm) -- cycle;
    \path [fill=red] (0,0) -- ++(-135:5mm) -- ++ (-45: 5mm) -- ++(45:5mm) -- cycle;
\end{tikzpicture}

\end{document}

cropped and zoomed result:

image

Discussion

  • Leon Kuchenbecker

    OK, that was too large.

    image

     
  • Leon Kuchenbecker

    I guess this should be tracked futher at #519 and be closed here.

     

    Last edit: Leon Kuchenbecker 2019-02-26
  • Henri Menke

    Henri Menke - 2019-02-27
    • status: open --> closed-duplicate
    • assigned_to: Henri Menke
     
  • Henri Menke

    Henri Menke - 2019-02-27
    • Group: TeX Live 2019 --> v1.0 (example)
     
MongoDB Logo MongoDB