[OS X TeX] decorated underbrace?

Alain Schremmer Schremmer.Alain at gmail.com
Sun Jan 22 21:59:52 CET 2006


Morten Høgholm wrote:

> On Thu, 19 Jan 2006 04:21:53 +0100, Alain Schremmer  
> <Schremmer.Alain at gmail.com> wrote:
>
>> Is there a way to define \xunderbrace[under] and \xoverbrace{over} 
>> to  work like \xleftarrow[under]{over}?
>
>
> \overbrace and \underbrace create an operator in the eyes of TeX 
> (just  like \sum), which means that they allow subscripts and 
> superscripts:
>
> \documentclass{article}
> \begin{document}
> \[
>   \underbrace{ARG}_{xyz}^{abc}
> \]
> \end{document}

Indeed, I ignored the fact that \xleftarrow is a 0-place command while 
\underbrace is a 1-place one.

I am duly ashamed of myself  :-[ .

Most grateful, if belated, regards 
(It is only now that I have had a chance to try but then immediately to 
use it already in several places.)
--schremmer

P.S. Since my message can make sense only as a response to yours, it is 
of course bottom-posted ;-) .

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list