From Tim.Keighley at csiro.au  Thu Dec 11 03:18:17 2003
From: Tim.Keighley at csiro.au (Tim.Keighley@csiro.au)
Date: Thu Dec 11 03:16:57 2003
Subject: [Rd] Using \leq for <= in Rd files
Message-ID: <FC026A0F0EE43E42A6EE465E2C7FFF78033D6FA3@coxs-nh.nsw.cmis.CSIRO.AU>

Hi,

When writing formulae in Rd files I use \leq to get a less-than-or-equal-to
sign, as this is what the LaTeX references I consulted suggested. This works
correctly for the PDF output (Rcmd Rd2dvi.sh --pdf), however when the Rd
file is converted to text or html this command is converted to "<=q".

A workaround is to use \le instead of \leq which works with my LaTeX
distribution (MiKTeX 2.3.?). Another way would be to change Rdconv.pm by
adding \leq and \geq to the substitution lists in text2html, text2txt and
the other similar functions.

I don't know much about LaTeX so it may be that \leq has been phased out in
favour of \le and the books and websites I read might be out of date.

Cheers,
Tim Keighley

> version
         _
platform i386-pc-mingw32
arch     i386
os       mingw32
system   i386, mingw32
status
major    1
minor    8.1
year     2003
month    11
day      21
language R

	[[alternative HTML version deleted]]


[Rd] Using \leq for <= in Rd files
Tim.Keighley@csiro.au