/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "e.h"
#include "e.def"
void
{
int c, t;
#ifndef NEQN
int effps;
#endif /* NEQN */
c = oalloc();
t = oalloc();
#ifdef NEQN
#else /* NEQN */
/* vertical shift if high */
/* horiz shift if high */
#endif /* NEQN */
switch (type) {
case VEC: /* vec */
#ifndef NEQN
printf(".ds %d \\v'-.4m'\\s%d\\(->\\s0\\v'.4m'\n",
break;
#endif /* NEQN */
case DYAD: /* dyad */
#ifdef NEQN
printf(".ds %d \\v'-12p'_\\v'12p'\n", c);
#else /* NEQN */
".ds %d \\v'-.4m'\\s%d\\z\\(<-\\(->\\s0\\v'.4m'\n",
#endif /* NEQN */
break;
case HAT:
printf(".ds %d ^\n", c);
break;
case TILDE:
printf(".ds %d ~\n", c);
break;
case DOT:
#ifndef NEQN
".ds %d \\s%d\\v'-.67m'.\\v'.67m'\\s0\n", c, effps);
#else /* NEQN */
printf(".ds %d \\v'-12p'.\\v'12p'\n", c);
#endif /* NEQN */
break;
case DOTDOT:
#ifndef NEQN
".ds %d \\s%d\\v'-.67m'..\\v'.67m\\s0'\n",
c, effps);
#else /* NEQN */
printf(".ds %d \\v'-12p'..\\v'12p'\n", c);
#endif /* NEQN */
break;
case BAR:
#ifndef NEQN
printf(".ds %d \\s%d\\v'.28m'\\h'.05m'\\l'\\n"
"(%du-.1m\\(rn'\\h'.05m'\\v'-.28m'\\s0\n",
#else /* NEQN */
printf(".ds %d \\v'-12p'\\l'\\n(%du'\\v'12p'\n",
c, p1);
#endif /* NEQN */
break;
case UNDER:
#ifndef NEQN
printf(".nr %d 0\n", t);
#else /* NEQN */
#endif /* NEQN */
break;
}
#ifndef NEQN
printf(".nr %d 0\n", t);
printf(".as %d \\h'-\\n(%du-\\n(%du/2u+\\n(%du'\\v'0-\\n(10u'\\*(%d",
/* BUG - should go to right end of widest */
#else /* NEQN */
printf(".as %d \\h'-\\n(%du-\\n(%du/2u'\\v'0-\\n(10u'\\*(%d",
#endif /* NEQN */
#ifndef NEQN
if (dbg)
printf(".\tdiacrit: %c over S%d, lf=%c, rf=%c, h=%d,b=%d\n",
#else /* NEQN */
if (dbg)
printf(".\tdiacrit: %c over S%d, h=%d, b=%d\n",
#endif /* NEQN */
}