From p.dalgaard@biostat.ku.dk  Wed Jul  7 22:17:55 1999
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 07 Jul 1999 23:17:55 +0200
Subject: [R] superscript -,+?
In-Reply-To: Ben Bolker's message of "Wed, 7 Jul 1999 15:43:33 -0400 (EDT)"
References: <Pine.SUN.3.95.990707153807.18452A-100000@paca>
Message-ID: <x2lncsupks.fsf@blueberry.kubism.ku.dk>

Ben Bolker <ben@eno.princeton.edu> writes:

>   In Version 0.64.1  (May 8, 1999), Solaris 2.5.1,
> 
>    expression(theta^{-})
>       
>       and
> 
>    expression(theta^{+})
> 
>  (and the equivalent subscripts) give syntax errors.
> 
>   (Superscript or subscripts of numbers, letters, or "+1" or "-1" all
> work.)
> 
>   Anyone have a workaround or a patch?
>   Or should I just use psfrag as god intended?
> 

Both theta^"+" and theta^+{} seem to work ok. The thing to remember is
that + is an operator so if it is used in an expression, it needs to
have something to operate on, or you need to explicitly use it as a
character.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[R] superscript -,+?
Peter Dalgaard BSA