[Tex/LaTex] How to make $E\subseteq F$ vertical

math-modevertical alignment

I am wondering whether anyone knows how to type $E \subset F$ vertical. That is $E$ is on the top then right below it is $\cap$, and below which is $F$.

Best Answer

Based on Seamus answer, here is a marcro that only uses TeX-ish primitives. It should work in any math context, and requires \usepackage{graphicx}.

\newcommand{\vrel}[3]{
\vcenter{\halign{\hfill##\hfill\cr
\ensuremath{#1}\cr
\rotatebox[origin=c]{270}{\ensuremath{#2}}\cr
\ensuremath{#3}\cr
}}}

Usage:

\vrel{E}{\subseteq}{F}