For all labels in my drawings I use the common settings
every label/.style = {label distance=1mm, inner sep=0mm,
font=\footnotesize\sffamily, align=center,
text=teal!60!black},
This works fine as well if labels are in one or more lines until I don't use TikZ library babel. With it in case of one line label in the label node is introduced empty space:
Is this a bug or I miss something in label style definition? How to eliminate this space? Solutions to not use babel or use align=center locally when is needed, for some reason had to leave out of consideration.
The MWE for above picture is:
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{babel}
\begin{document}
\begin{tikzpicture}[
every label/.style = {label distance=1mm, inner sep=0mm,
font=\footnotesize\sffamily, align=center,
text=teal!60!black},
dot/.style = {circle, fill=black, inner sep=0mm, outer sep=0mm,
minimum size=1mm,
node contents={}},
]
% axes
\draw[->] (-1.7,0) -- (2.4,0) node[fill=cyan,below left] {$\phi_1(t)$};
\draw[->] (0,-1.7) -- (0,2.4) node[fill=cyan,below left] {$\phi_2(t)$};
\draw[densely dashed,very thin] (0,0) circle (13mm);
% signals
\foreach \i [count=\ix from 1] in {0,90,180,270}
\draw (\i:13mm) node[dot,label={[fill=yellow]\i+45:$s_{\ix}$}];
%----------------
\end{tikzpicture}
\end{document}


%terminated line somewhere. However this works without space\draw (\i:13mm) node[dot,label={[fill=yellow,node contents={$s_\ix$}]\i+45:}];. In case you run out of options :) – percusse May 30 '16 at 08:15quoteslibrary and slovene babel. – Zarko May 30 '16 at 08:24