Re: [R] Latex \ell symbol in plotmath

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue, 05 Jun 2007 14:45:40 +0100 (BST)

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

> I am using R 2.5.0 on Fedora Linux core 6, AMD 64.

So for a suitable font you should be able to make this work on X11: I did on my FC5 Opteron system (but the fonts are on a fully loaded separate font server).

> Prof Brian Ripley wrote:
>> 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.
>>
>
> Cheers,
> Mario dos Reis
>
> mdosrei_at_nimr.mrc.ac.uk
> +44 (0)20 8816 2300
>
> Division of Mathematical Biology
> National Institute for Medical Research
> The Ridgeway
> Mill Hill
> London, NW7 1AA, UK
>

-- 
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 - 13:59:15 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.