My code:
\documentclass{scrartcl}
\usepackage{stanli}
\begin{document}
\begin{tikzpicture}
%the points
\point{above}{0}{5};
\point{above_middle}{0}{4};
\point{below_middle}{0}{1};
\point{below}{0}{0};
%the rod
\beam{2}{above}{above_middle};
\beam{2}{below}{below_middle};
%the support
\support{1}{above}[180];
\hinge{1}{above};
%the mass
\node at (below) [circle, draw] {$m$};
%the free body diagram (for the rod)
%S
\point{S}{0}{3};
\load{1}{S}[90];
\notation{1}{S}{$S$};
%-S
\point{-S}{0}{2};
\load{1}{-S}[-90];
\notation{1}{-S}{$S$}[below right];
\end{tikzpicture}
\end{document}
The result:
The ball is behind the rod. I don't know why. It should be in front of the rod. How can one manipulate the layers of the pictures? A completely different solution is welcome too.
Thank you for your help and effort in advance!