I want to make an ER diagram using TikZ with its
er
library. Unfortunately I have a problem with the alignment of the node labels.The label seems to use a different alignment than the node, i.e. the label is some units right of the place it supposed to be, and even not in the node. Here is my code:
\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{er} \begin{document} \tikzstyle{every entity} = [draw=blue, fill=blue!20] \begin{tikzpicture} \node[entity] (person) {Person}; \end{tikzpicture} \end{document}
I have already completely reinstalled LaTeX but it didn't work out. Thank you so far and I hope you can help me with this task.