[EMAIL PROTECTED] wrote:
There's something (probably a lot) missing in my understanding of
plotmath. The LaTeX code for what I'm trying to produce is

\log(-\log(\hat R))

My (probably hopeless) attempt at it uses nested group()s:

expression(plain(log) * group("(", -plain(log)*group("(", \hat(R), ")"),
")"))

Can anyone do it right for me, please?
Here's my attempt

expression(log(-log(hat(italic(R)))))

Unlike TeX, if you want italics you have to ask for it.

(If you are attempting anthing serious, the TeX package psfrag is worth a look.)


--
Ross Ihaka Email: [EMAIL PROTECTED]
Department of Statistics Phone: (64-9) 373-7599 x 85054
University of Auckland Fax: (64-9) 373-7018
Private Bag 92019, Auckland
New Zealand

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to