Seite 1 von 1

Tikz custom pattern frame

Verfasst: So 11. Sep 2016, 19:59
von p3l4h0
\documentclass{article}

\usepackage{tikz}

\begin{document}

    \begin{tikzpicture}
        \node[draw,dotted] {My text};
    \end{tikzpicture}

\end{document}
Wie bekomme ich anstatt dotted und dashed usw auch
_.._.._..
- - - - -
._._._._
.__.__.__.__
.............
als linienumrandung hin ?
danke

Verfasst: So 11. Sep 2016, 20:51
von esdd
Siehe die Erklärungen zu dash pattern, dash phase und den vordefinierten Linienstilen in der Dokumentation, Unterabschnitt 15.3.2 Graphic Parameters: Dash Pattern.

Verfasst: So 11. Sep 2016, 20:59
von p3l4h0
vielen Dank