> Hi
>
>
> Henrique Dallazuanna wrote:
>> Perhaps:
>> strwidth(expression(bold("text")))
>
>
> Or set the default font face ...
Thanks!
Things can often be so easy!
Roland
>
> plot(1:10)
> text(4, 6, "testing", adj=c(0, 0))
> segments(4, 6, 4 + strwidth("testing"), 6, col="red")
> par(font=2)
Hi
Henrique Dallazuanna wrote:
> Perhaps:
>
> strwidth(expression(bold("text")))
Or set the default font face ...
plot(1:10)
text(4, 6, "testing", adj=c(0, 0))
segments(4, 6, 4 + strwidth("testing"), 6, col="red")
par(font=2)
text(4, 8, "testing", adj=c(0, 0))
segments(4, 8, 4 + strwidth("tes
Thanks it does the trick!
> Perhaps:
>
> strwidth(expression(bold("text")))
>
>
> On 30/10/2007, Roland Kaiser <[EMAIL PROTECTED]> wrote: Hi!
>
> Is there a way to get the string width of the bold typefaces?
>
> like: strwidth("text", family = "serif", font = 2).
>
> Thanks
>
> Roland
>
> ___
Perhaps:
strwidth(expression(bold("text")))
On 30/10/2007, Roland Kaiser <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> Is there a way to get the string width of the bold typefaces?
>
> like: strwidth("text", family = "serif", font = 2).
>
> Thanks
>
> Roland
>
>
Hi!
Is there a way to get the string width of the bold typefaces?
like: strwidth("text", family = "serif", font = 2).
Thanks
Roland
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide htt
5 matches
Mail list logo