I'm looking for a way to get symbols for perpendicular and parallel with an equal height. I want to use the symbols as a superscript to a function like
\Psi^{\perp/\parallel}
However, it looks kind of awkward since the two symbols are not displayed at the same height (the parallel sign is way larger). If I use
\scriptstyle\parallel
the symbols have approximately the same height but are not aligned properly in the vertical direction.
Update: I found out that
\Psi^{\perp/\raisebox{0.5pt}{$\scriptscriptstyle\parallel$}}(x)
produces what I'm looking for. Still this is kind of a hack and more consistent solution would be really appreciated.
Best Answer
I suggest you construct a symbol using vertical rules. One version that will adapt itself to different math modes is
which you can use as
The height of the
\vrule
here automatically adjusts to the height of\perp
, setting the depth to0pt
makes it fit with the base of that symbol too.