\undergroup{AB}

The command \undergroup{AB} is used to place a horizontal line (or group) under the specified text or mathematical expression. This is often used to emphasize or group terms together visually in mathematical expressions or equations.

Examples

Emphasizing the group AB in an expression.

\undergroup{AB} + CD

Grouping the terms a and b together under a line.

x = \undergroup{a + b} + c

Underlining fractions to emphasize them as a group.

\undergroup{\frac{1}{2}} + \undergroup{\frac{3}{4}}