TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you change the node distance to the left for a

 \node[state]         (q4) [below left of=q3] {$homing$}; 

Ok, it's a little bit on the left, but I want it to move it more to the left. How can I do that ?

share|improve this question
Using the positioning library you can use \node[below left = -1cm of q3] {$homing$}; – percusse Mar 19 '12 at 22:44
up vote 20 down vote accepted

You can use xshift:



\begin{tikzpicture}[state/.style={draw=red,ultra thick,rectangle,rounded corners}]

 \node[state] (q3)  {$test$}; 
 \node[state] (q4) [below left of=q3] {$homing$}; 
 \node[state] (q5) [below left of=q3,xshift=-2cm] {$homing1$}; 



enter image description here

share|improve this answer
Great ! thx for your answer ! – Matthieu Riegler Mar 19 '12 at 22:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.