Prev Next under_over

Latex Underline, Underbrace, Overline, and Overbrace
Syntax $latex \name{commands}$$
where name is underline, underbrace, overline, or overbrace,

Description
Display in Latex mode the specified command list with the following additional output.
name Additional Output
underline a line below stretched to match size
underbrace a brace below stretched to match size
overline a line above stretched to match size
overbrace a brace above stretched to match size

Example
name commands Output
underline x @(@ \underline{x} @)@
underbrace x @(@ \underbrace{x} @)@
overline x @(@ \overline{x} @)@
overbrace x @(@ \overbrace{x} @)@
   
name commands Output
underline x+y @(@ \underline{x+y} @)@
underbrace x+y @(@ \underbrace{x+y} @)@
overline x+y @(@ \overline{x+y} @)@
overbrace x+y @(@ \overbrace{x+y} @)@

Input File: latex/under_over.omh