When to use Generalized Fraction
Builds a fraction with configurable delimiters, rule, and style. In source, start from the exact \genfrac 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
\genfracThe documented syntax belongs to amsmath. Keep every required argument, brace pair, and environment boundary intact when moving the command between an editor, Markdown processor, notebook, or publishing system.
Example
\genfrac{(}{)}{0pt}{}{n}{k}Rendered output
parenthesized fraction
Copy and compatibility checks
- Copy
\genfracexactly; changing its case or removing a leading backslash can turn it into plain text. - Confirm that the destination loads amsmath before relying on this command.
- Render the example once, then inspect grouping, limits, scripts, and spacing before publishing.