[R] Mixed font type in plot title

Duncan Murdoch murdoch.duncan at gmail.com
Tue Feb 8 22:13:36 CET 2011


On 08/02/2011 4:07 PM, john polo wrote:
> Hello useRs,
> I'm trying to put italics and regular font into a title and am having
> some trouble. The title I would like is " /Q. marilandica/ Volume ".

Use

expression(paste(italic( "Q. marilandica "), " volume"))

Duncan Murdoch

>
> If I use
> main=bquote(italic( "Q. marilandica ", " volume"))
>
> I get just " Q. marilandica " in italics in the title.
>
>
> If i use
> main=bquote(italic( "Q. marilandica  ,) volume")
>
> I get " Q.marilandica ,) volume " all in italics.
>
>
> If i try
> main=bquote(italic( "Q. Marilandica ", .( "volume")))
>
> I get the same result as my first example.
>
>
> I've tried other combinations with expression() also, but I'm getting
> nowhere.
>
> Best,
> john
>



More information about the R-help mailing list