[texhax] Annuity symbols?

Thomas, Larry LTHOMAS at spc.edu
Thu Aug 24 17:09:48 CEST 2006

I am trying to define a command to typeset annuity symbols. My attempt
for an ordinary annuity looks like this:

\newcommand{\ordan}[2]{\ensuremath{ a_{\overline{#1\,}\!| #2}}}

In the symbol, the right end of the overline on argument #1 should just
meet the top of the | before argument #2, no matter the height of the
arguments. In 


the overbar and the | do not touch, but in 


they overlap. Is there a way to ensure that the overbar and the | meet
at a right angle (as in \urcorner)?


More information about the texhax mailing list