[Tex/LaTex] How to increase the horizontal distance between nodes

nodestikz-pgf

I've got this Tikz picture and I'd like to increase the horizontal distance between the nodes while keeping the vertical distance unchanged. I know how to do it by placing the nodes manually using coordinates, but I'd rather not do it if it can be avoided.

picture showing the nodes

Here's the code:

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
  [align=center,node distance=2cm]
  \node[label=above:A] (A)                      
       {(1)};
  \node[label=above:B1] (B1) [above right of=A]
       {($m+1$)};
  \node[label=above:B2] (B2) [below right of=A]
       {($m+1$)};
  \node[label=above:C] (C)  [below right of=B1]
       {($2m-1$)};
\end{tikzpicture}
\end{document}

Any help appreciated.

Best Answer

You can specify the relative x and y positions separately using the tikz library positioning

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
  [align=center,node distance=2cm]  %< no need of this global node separation
  \node[label=above:A] (A)                      
       {(1)};
  \node[label=above:B1] (B1) [above right=0.7cm and 4cm of A]
       {($m+1$)};
  \node[label=above:B2] (B2) [below right=0.7cm and 4cm of A]
       {($m+1$)};
  \node[label=above:C] (C)  [below right=0.7cm and 4cm of B1]
       {($2m-1$)};
\end{tikzpicture}
\end{document}

enter image description here