xrightarrow
Creates an extensible right-pointing arrow with optional text above or below, commonly used in mathematical expressions to show transformations or implications.
Overview
Provides a flexible way to create arrows that automatically adjust their length based on the content placed above or below them, making them ideal for various mathematical notations.
- Essential in showing mathematical transformations, especially in algebra and category theory
- Perfect for displaying step-by-step solutions where each step leads to the next
- Commonly used in chemical equations to show reaction conditions
- Allows for clear visualization of mappings, transitions, and logical implications
- Superior to fixed-length arrows when dealing with varying-length labels
Examples
Chemical reaction with labeled transition.
\text{H}_2\text{O} \xrightarrow{\text{heat}} \text{H}_2 + \frac{1}{2}\text{O}_2
Function limit approaching infinity.
x \xrightarrow{n \to \infty} L
Group homomorphism with kernel.
G \xrightarrow{\phi} H