# How to set a “formula triangle” in LaTeX?

I'd like to typeset a formula triangle ("Formeldreieck") for the U=E*d formula - is there an easy way of doing this within LaTeX (I actually use LaTeXit on Mac OS X, but I do know how to add packages if necessary)?

• you mean like this ? – David Carlisle Dec 11 '13 at 9:43
• Exactly - see Marco's answer below (for which I am very thankful). – Christian Dec 12 '13 at 9:05

I think you can use TikZ for this:

\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\tikzset{
Formeldreieck/.style={
draw=blue,thick,
regular polygon,
regular polygon sides=3,
node distance=2cm,
}
}
\begin{document}
\tikz\node[Formeldreieck]{$\dfrac{U}{R\cdot I}$};
\end{document}