[texhax] How do write in two or more lines using overbraces/underbraces?

Darío darioslc at openmailbox.org
Sat Jul 22 19:40:06 CEST 2017

El 20/07/2017 11:29 PM, Donald Arseneau escribió:
> On Tue, July 18, 2017 4:12 pm, Darío wrote:
>> Hello, in the next code I would like to that in the overbrace appear 
>> in
>> two lines the words...
> Use \shortstack instead of \text.
> Donald Arseneau, TRIUMF CMMS, asnd at triumf.ca

Hi, I tried with \shorstack and work good, but I must add \\ for the new 
line. While \usepackage{mathtools} and \mathclap like say Mohammed this 
work perfect and elegant.

The only problem that I found with \mathclap it is that if the sentence 
is too long, mathclap don't cut in a new line. In this case I use a 
combination between \mathclap and \shorstack.

Thanks a lot!

More information about the texhax mailing list