Path: utzoo!attcan!uunet!aplcen!haven!umbc3!math13.math.umbc.edu!rouben From: rouben@math13.math.umbc.edu (Rouben Rostamian) Newsgroups: comp.text.tex Subject: Re: undertilde Keywords: latex, tilde Message-ID: <4078@umbc3.UMBC.EDU> Date: 4 Oct 90 02:05:42 GMT References: <1990Oct4.014728.29527@caen.engin.umich.edu> Sender: newspost@umbc3.UMBC.EDU Reply-To: rouben@math13.math.umbc.edu.UUCP (Rouben Rostamian) Organization: Mathematics Department University of Maryland, Baltimore County Lines: 19 In article <1990Oct4.014728.29527@caen.engin.umich.edu> 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. % The command \undertilde puts a `tilde' under the corresponding character. % It is an adaptation of the TeX command \underbrace (TeXbook, page359) \def\undertilde#1{\mathop{\vtop{\ialign{##\crcr $\hfil\displaystyle{#1}\hfil$\crcr\noalign{\kern2pt\nointerlineskip} $\scriptscriptstyle\sim$\crcr\noalign{\kern2pt}}}}\limits} Rouben Rostamian Telephone: (301) 455-2458 Department of Mathematics and Statistics e-mail: University of Maryland Baltimore County rostamian@umbc.bitnet Baltimore, MD 21228, U.S.A. rostamian@umbc3.umbc.edu