When to use Stacked Relation
Places a compact annotation above a relation. In source, start from the exact \stackrel command instead of imitating the rendered glyph with Unicode characters or manual spacing. This keeps the expression editable and gives the renderer enough structure to apply mathematical spacing correctly.
Syntax
\stackrelThe documented syntax belongs to Core LaTeX. Keep every required argument, brace pair, and environment boundary intact when moving the command between an editor, Markdown processor, notebook, or publishing system.
Example
a\stackrel{def}=bRendered output
definition over equals
Copy and compatibility checks
- Copy
\stackrelexactly; changing its case or removing a leading backslash can turn it into plain text. - Confirm that the destination loads Core LaTeX before relying on this command.
- Render the example once, then inspect grouping, limits, scripts, and spacing before publishing.