I am going to draw a balance with a pivot (the triangle) and two pans (the T
bars), as shown in the figure below. However, I was only able to draw the triangle, following this post.
How to draw the slope line with a certain angle?
How to draw the pans and the texts above them in right angles?
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\tikzset{
pivot/.style={
draw,
regular polygon,
regular polygon sides = 3,
fill = red,
node distance = 1cm,
minimum height = 2em
}
}
\begin{document}
\begin{tikzpicture}
\node () [pivot] {};
\end{tikzpicture}
\end{document}