hi,
das geht besser wenn man den anchor setzt. hier mal 3 varianten
Code:
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{tikz,pgfplots}
\begin{document}
\begin{tikzpicture}
\node[anchor=south west] {Persönliche Daten};
\draw[thick] (6,0) -- (0,0);
\end{tikzpicture}
\begin{tikzpicture}
\draw[thick] (6,0) -- (0,0) node[anchor=south west] {Persönliche Daten};
\end{tikzpicture}
\begin{tikzpicture}
\draw[thick] (6,0) -- (0,0) node[anchor=south west,inner sep=0] {Persönliche Daten};
\end{tikzpicture}
\end{document}
Lesezeichen