Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
2  
Using the positioning library you can use \node[below left = -1cm of q3] {$homing$}; –  percusse Mar 19 '12 at 22:44

1 Answer 1

up vote 12 down vote accepted

You can use xshift:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning}

\begin{document}

\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$}; 

\end{tikzpicture}

\end{document}

enter image description here

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

Your Answer

 
discard

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.