Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ogicse!milton!newton!lgy From: lgy@phys.washington.edu (Laurence G. Yaffe) Newsgroups: comp.text.tex Subject: Re: undertilde Keywords: latex, tilde Message-ID: Date: 4 Oct 90 02:09:08 GMT References: <1990Oct4.014728.29527@caen.engin.umich.edu> Sender: news@milton.u.washington.edu Lines: 30 oliveria@caen.engin.umich.edu (ROQUE DONIZETE DE OLIVEIRA) writes: >How can I define a macro (with \def or \newcommand) >in Latex to to something like \tilde{a} but I want >the tilde to be at the bottom. I guess you could >called it \undertilde . I looked at the macro >for \underbrace but couldn't get my \undertilde to >work in a similar way. > Roque Oliveira > oliveria@caen.engin.umich.edu Here's what I use: \def\undertilde #1% {% \setbox0=\hbox {$#1$}% \setbox1=\hbox {$\tilde {\phantom {\copy0}}$}% \setbox2=\vtop {\offinterlineskip\box0\kern 1pt \box1}% \dp2 = 2.8 pt \box2% }% I'm sure this could be greatly improved; it doesn't cope well with putting tildes under things with big descenders (but then such use will always look terrible). -- -------------------------------------------------------------------------- Laurence G. Yaffe Internet: lgy@newton.phys.washington.edu University of Washington Bitnet: yaffe@uwaphast.bitnet