I have some automatic placed nodes which should be filled with a pattern. However, I noticed that the pattern offset depends on the node position, which makes the nodes looks different.
Minimal example:
\documentclass\[tikz\documentclass[tikz,border=5mm\]border=5mm]{standalone} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture} \foreach \n in {0,1,...,5} { \node \[rectangle[rectangle,draw,minimum width=1cm,minimum height=1cm,pattern=north west lines\]lines] at (1.1*\n cm, 0) {}; \node \[rectangle[rectangle,draw,minimum width=1cm,minimum height=1cm,pattern=dots\]pattern=dots] at (1.1*\n cm, 1.1) {}; } \end{tikzpicture} \end{document} 
How can I achieve that the patterns are drawn identical for every node? I think I have to adjust some pattern origin for that.