On Tue, 13 Jan 2009 23:03:58 +0100, Enrico Gregorio
Post by Enrico GregorioPost by ***@aHow can I write on LaTeX a inverse function so the (-1) appears like
in Bourbaki's books do?
http://books.google.es/books?id=IL-SI67hjI4C&pg=PA84&dq="inverse+function"+b
ourbaki#PPA85,M1
With \stackrel you also get incorrect results: compare
$a\overset{-1}{f}b$ and $a\stackrel{-1}{f}b$
which are different since \stackrel produces a relation symbol. Thus
That extra horizontal space is not the only problem: try
$g\stackrel{-1}{g}g$
and
$X\stackrel{-1}{X}X$
There is a vertical centering of the second arg on the
math axis. As a consequence, "g" is shifted up and "X"
is shifted down). This is because of TeX's internal
handling of \mathop (used to get the first arg on top
of the second arg). This problem is masked in the example
with "f" because it happens to be nearly vertically
centered already.
If \stackrel is used, the following is the "good"
definition:
\newcommand{\inversefunction}[1]{{\stackrel{-1}{#1\kern0pt}}}
The addition of a 0pt kern to the argument prevents the case
\mathop{<single symbol>}, which is what triggers the vertical
centering.
[Having said all that, I find the "-1" on top of
the function to be one of Bourbaki's ugliest notation
choices and urge everyone to give it a pass.]
Dan
To reply by email, change LookInSig to luecking