So, I've just seen a video about a method of notation called "Triangle of Power", which simplifies things when it comes down to exponents, logarithms, etc. It was originally introduced in this post on Math.Stackexchange: https://math.stackexchange.com/questions/30046/alternative-notation-for-exponents-logs-and-roots/165225#165225
I wanted to use it in my LaTeX documents, but couldn't figure out a way to actually write it easily; my knowledge of custom commands and positioning of symbols is not enough.
So, what I want to do is this:
And it needs to have some nice way of not providing one of the values (really, see the video if you're interested). Moreover, it should more-or-less fit in line with other notation, so it shouldn't be too big nor sticking out, though it probably will look okay if the values themselves stick out a little.
How can I implement this?
\stackrel{y}{_x\triangle_{z}}
. You could make a simple macro as\newcommand\PowerTriangle[3]{\stackrel{#2}{_{#1}\triangle_{#3}}}
, and use it as$\PowerTriangle{x}{y}{z}
. There is room for improvement though, probably someone can make a better version. – Torbjørn T. May 4 '16 at 10:45