[R] [OT] getting a ~ character in LaTeX
s-luppescu@uchicago.edu
s-luppescu at uchicago.edu
Tue Jan 16 22:24:37 CET 2001
On 16-Jan-2001 Douglas Bates wrote:
> I am writing course notes in LaTeX. In the part where I am describing
> model-fitting functions in R I want to use a ~ character inline. If I
> am displaying an example of R code in its own environment I use the
> alltt environment, which protects the ~ character. I have forgotten
> how to protect the ~ when I am writing something like
> The operator `~' is used to define a model formula in \R.
> The left hand side is evaluated as the response. The right hand
> side can consist of several \Emph{terms} with special meanings
How about \sim? That's what I use when I need a ~ meaning ``is distributed
as.'' You may need \usepackage{amsmath} with this, but I'm not sure.
______________________________________________________________________
Stuart Luppescu -=-=- University of Chicago
$(B:MJ8$HCRF`H~$NIc(B -=-=- s-luppescu at uchicago.edu
http://www.consortium-chicago.org/people/sl.html
Finger sl70 at musuko.uchicago.edu forPGP Public Key
ICQ #21172047 AIM: psycho7070
Acceptance testing:
An unsuccessful attempt to find bugs.
>> Sent on 16-Jan-2001 at 15:20:58 with xfmail
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list