I want to place a circle in the corner of a gray background and this is the code:
\documentclass[tikz]{standalone}
\usetikzlibrary{calc}
\newlength{\width}
\setlength{\width}{16cm}
\newlength{\height}
\setlength{\height}{10cm}
\begin{document}
\begin{tikzpicture}
\node[fill=gray,minimum width=\width,minimum height=\height] at (0.5\width,0.5\height) {};
\draw[green] (0,0) |- (\width,\height);
\node[circle,anchor=north west,fill=blue,text=white,minimum size=0.2\height,font=\Large,inner sep=0pt,outer sep=0pt] at (0,\height) {T};
\end{tikzpicture}
\end{document}
However the circle is not in the upper left corner as expected:
Now leave out the circle
and try it again with:
\node[anchor=north west,fill=blue,text=white,minimum size=0.2\height,font=\Large,inner sep=0pt,outer sep=0pt] at (0,\height) {T};
What am I doing wrong or what is going on here?