[R] font formating

Eik Vettorazzi E.Vettorazzi at uke.uni-hamburg.de
Thu Nov 15 16:15:28 CET 2007


you can do this with "expression()" as in
 plot(1:2,1:2,main=expression(x[k[j]]))

see ?plotmath for some more possibilities of formating mathematical 
expressions.

hth.


José Alberto Monteiro schrieb:
> I am tryindo to do a very simple thing but cannont find how to do it
> anywhere. I need to formap part of my title as subscript ans superscript.
> How can I do it?
> Thanks a lot in advance
> José
>
>   
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help at r-project.org 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.
>   

-- 
Eik Vettorazzi
Institut für Medizinische Biometrie und Epidemiologie
Universitätsklinikum Hamburg-Eppendorf

Martinistr. 52
20246 Hamburg

T ++49/40/42803-8243
F ++49/40/42803-7790



More information about the R-help mailing list