I'd like to insert an annotation above equations without breaking the spacing of that equation. The annotation should be aligned to the left, and begin with an arrow that points down on the first symbol.
Code
\newcommand{\hookdownleft}{\rotatebox[origin=b]{90}{$\Lsh$}}
\begin{dfn}
$\overset{\hookdownleft \text{family of sets from } \Omega \:
\rightarrow \: \text{one set from } \Omega}{op} \in \mathcal{O} =
\set{\text{set operations}}}$
\end{dfn}
\mathrlap
(provided by themathtools
package) to make LaTeX think the notation has no width.\mathrlap{overset{...}{..}}
doesn't do any good. The annotation and the rest of the definition get moved to the beginning of the line, but the symbol above the annotation (op
) stays in place, creating overlapping text.\mathrlap
should go inside the\overset
:\overset{\mathrlap{\hookdownleft \text{family of sets ...}}}
.