With reference to the first answer in this: Drawing Mechanical Systems in LaTeX
I want the text x above the arrow, simple as that, also how can I control how high above the arrow it is?
So I tried adding an {$x$} to the "-latex" arrow, like this:
\draw [-latex,ultra thick] (M.east) ++ (0.2cm,0) -- +(1cm,0) node [midway,above] {$x$};
but the x gets boxed, I want it without the box.
Maybe one could show me how to cancel for node style that was set in the beginning, but that would remove the box around m which is important.
node [draw=none,midway,above] {$x$};. – Sep 11 '12 at 12:38node [draw=none,midway,above=3cm] {$x$};. Change3cmto whatever you desire. – Sep 11 '12 at 12:44