ishamid wrote:
Dear fellow conspirators,
Is there a saner way to define the following accent using ConTeXt's framework:
\def\SHIFT#1{\dimen0=.00#1ex \multiply\dimen0 by\fontdimen1\font \kern-.0156\dimen0} % compensate for slant/italic in lower accents
\def\h#1{{\oalign{\relax#1\crcr\hidewidth\SHIFT{34}% \vbox to.2ex{\hbox{\char'25}\vss}\hidewidth}}}
\def\~#1{{\struttedbox{\accent"7E #1}}}
less encoding dependent: \unexpanded\def\~{\struttedbox{\texttilde#1}} Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------