[comp.text] \cite in LaTeX

anderson@cme.nbs.gov (William E. Anderson) (01/17/89)

I need some help redefining \cite to change the format of references.
Specifically, I need my references superscripted in the text and
not in sqwuare brackets as is the LaTeX default.  Something like:

\def\cite#1{$^{#1}$}

which would work if argument #1 was the actual reference number
and not a key list.
-- 
NAME:   William E. Anderson            TELE: (301) 975-2423
USMAIL: NIST (formrly NBS)             INTERNET: anderson@ceee.nbs.gov
        Rm. B-344, Bldg. 220           UUCP: uunet!cme-durer!anderson
        Gaithersburg, MD  20899

mrd@sun.soe.clarkson.edu (Michael DeCorte) (01/19/89)

In article <838@sunspot.cme.nbs.gov> anderson@cme.nbs.gov (William E. Anderson) writes:

   Specifically, I need my references superscripted in the text and
   not in sqwuare brackets as is the LaTeX default.

the default def is

\def\@cite#1#2{[{#1\if@tempswa , #2\fi}]}

Try this:
\makeatletter
\def\@cite#1#2{$^{#1\if@tempswa , #2\fi}$}
\makeatother

\def\cite#1{$^{#1}$}
--

Michael DeCorte // (315)265-2439 // P.O. Box 652, Potsdam, NY 13676
Internet: mrd@sun.soe.clarkson.edu  // Bitnet:   mrd@clutx.bitnet        
---------------------------------------------------------------------------
Clarkson Archive Server // commands = help, index, send, path
archive-server@sun.soe.clarkson.edu
archive-server%sun.soe.clarkson.edu@omnigate.bitnet
dumb1!dumb2!dumb3!smart!sun.soe.clarkson.edu!archive-server
---------------------------------------------------------------------------