[texhax] RE: How to use a created box's dimensions....

E. Krishnan ekmath at asianetindia.com
Sun Jan 15 15:18:30 CET 2006


On Sat, 14 Jan 2006, W. Craig Carter wrote:
 
> >> I want a command such as \setover{text text text}{b}, similar to
> >> \underbrace{}{}, but in paragraph mode. "text text text" should be
> >> in an \hbox at the same height as the current line, and "b" should
> >> be centered below "text text text"  It would also be nice to have
> >> the option of putting at "\upbracefill" between the "text text text"
> >> and the "b."
> >
> > Is this what you want?
> >
> > $\underbrace{\hbox{text text text} }_{\hbox{b}}$
> 
> This works (Using the ams \text{} in place of the \hbox{} is what I 
> used as a workaround), but I am hoping for is to *learn* how to do 
> it fundamentally.  What if I don't want the underbrace?  I am hoping 
> that I can do it outside of math mode.

Please see if the attached file fits your need.

-- 
Krishnan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: textover.tex
Type: application/x-tex
Size: 820 bytes
Desc: 
Url : http://tug.org/pipermail/texhax/attachments/20060115/576ff4b6/textover.tex


More information about the texhax mailing list