[R] Latex \ell symbol in plotmath

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jun 5 15:45:40 CEST 2007


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



More information about the R-help mailing list