Re: [R] Latex \ell symbol in plotmath

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue, 05 Jun 2007 12:57:26 +0100 (BST)

On Tue, 5 Jun 2007, Mario dos Reis wrote:

> Is it possible to use the '\ell' (i.e. the log likelihood) in plots?

'plots'? On what OS and what device? (There is no general solution here.)

> I've been browsing the plotmath documentation unsucesfully.

That symbol is in neither of the Latin-1 nor symbol encoding used in R's standard fonts for postscript(), pdf() and the like. Since it is not in the Adobe symbol encoding it is not accessible via plotmath.

It is Unicode character U+2113, and so on UTF-8 R systems you may well be able to enter it as \u2113 and get it plotted on-screen in a suitable font. But we'd need to know a lot more about your system to advise on how exactly to do so.

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 05 Jun 2007 - 12:15:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 05 Jun 2007 - 14:31:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.