What is the default separation between a point and its label when using thecoordinate command? In the following code, I plot some dots on a grid using label option and "." to typeset the dot. The dot serves as the label in this code.
There is some displacement of the label from its point. I would like to know what this displacement is so that I can be consistent in the positioning of labels. The option
[label distance=<- (a measure with units)>]
within the label option will decrease this distance by <a measure with units>.
It seems that if the node is to be placed over the point, which can be specified by declaring the angle of 90 or not declaring any angle, [label distance=-4pt] seems to eliminate the artificial displacement. If the label is to be placed to the right of the point, [label distance=-5pt] seems to eliminate the artificial displacement.
Why would you need to compensate by different amounts for a node that is place to the right or above a node?! If the label is to be put above right of the point, the label distance option cannot eliminate the artificial displacement. Can this displacement be suppressed?
\documentclass{amsart}
\usepackage{tikz}
\usetikzlibrary{calc,angles,positioning,intersections}
\begin{document}
\begin{tikzpicture}
\draw [help lines] (-2,-2) grid (2,2);
\coordinate[label={[label distance=-4pt]90:$.$}] (A) at (1,1);
\coordinate[label={[label distance=-5pt]0:$.$}] (A) at (0,0);
\coordinate[label={[label distance=-5pt]45:$.$}] (A) at (-1,-1);
\coordinate[label={[label distance=-5.5pt]45:$.$}] (A) at (0,-1);
\coordinate[label={[label distance=-6pt]45:$.$}] (A) at (1,-1);
\end{tikzpicture}
\end{document}

labelis placed not relative to the center of thenodebut relative to its closest edge. – A.Ellett May 17 '15 at 00:10rectangleand so it might seem that the distance is different, depending on which anchor on the label will be used. (Also the inner and outer xseps and yseps will affect the placement.) Setevery label/.append style={draw}to see what I mean. – Qrrbrbirlbel May 17 '15 at 00:11., the node should be a square. So, thelabel distance=<some measure>should be the same whether the label is above or to the right of the point. – user74973 May 17 '15 at 00:17inner sep=0pt? Wouldn't that put the label, which is., at the point? (I did try that, but I didn't include it in the code.) – user74973 May 17 '15 at 00:20outer sep(defaults to.5\pgflinewidthso that the border lies on the outside of adrawn shape). Note, that the$.$has different dimensions in vertical and horizontal dimensions, seeevery label/.append style={draw, inner sep=0pt}. (However, I assume the actual label will contain actual text/math and not just the dot.) Try to set the label's shape tocircle. – Qrrbrbirlbel May 17 '15 at 00:25textboxwith no width and no length? – user74973 May 17 '15 at 00:34.in a circular node, and I hadinner sep=0ptandouter sep=0pt. The.cannot be placed at the origin ... without other options. – user74973 May 17 '15 at 00:36\documentclass{standalone} \setlength\fboxsep{0pt} \begin{document} \fbox{$.$} \end{document}and you can see how the horizontal and vertical dimensions are different. – A.Ellett May 17 '15 at 00:37\setlength\fboxsep{0pt}to my current file. – user74973 May 17 '15 at 00:39standalonedocument in which you can see that$.$has different horizontal and vertical widths. It's not a suggestion for how to solve your problem. @Qrrbrbirlbel's suggestions about changing the node shape to circle is what you should do. – A.Ellett May 17 '15 at 00:41standalone? – user74973 May 17 '15 at 00:42.in a circular node by itself won't work. – user74973 May 17 '15 at 00:43fbox, I see that the period is a circular disc but the node surrounding it is much wider than it is tall. – user74973 May 17 '15 at 00:47standalonedocument, there's no node that you're working with. That's what$.$looks like. LaTeX adds various space around this construct. If you just want a point, then you should do something more like\node[circle,fill,inner sep=0.2pt,outer sep=0pt] at (<node-name/coordinate>);– A.Ellett May 17 '15 at 00:50