Am 19.11.2007 um 18:43 schrieb Prof Brian Ripley:
On Mon, 19 Nov 2007, Roland Kaiser wrote:
Hi all!
To add to my previous posting
I want to give some more deatils give a more precise
I want to print a hyphen to a pdf() or postscript() device.
As the documentaion of postscript says
Am 20.11.2007 um 12:13 schrieb Prof Brian Ripley:
On Tue, 20 Nov 2007, Roland Kaiser wrote:
Am 19.11.2007 um 18:43 schrieb Prof Brian Ripley:
On Mon, 19 Nov 2007, Roland Kaiser wrote:
Hi all!
To add to my previous posting
I want to give some more deatils give a more precise
I want
Hi all!
I consulted the help pages for postscript().
I noticed the execption for the - sign which is mapped to a minus
glyph.
How can I define a textstring that contains
a hyphen (a short dash) and is applicable with strwidth().
Further I want to print it with postscript()
Thanks for any
Hi all!
I want to print a hyphen to a pdf() or postscript() device.
As the documentaion of postscript says
ASCII Character 45(-) is mapped to a minus sign (ASCII Character
95) by default.
The advice given is to use \173 for a hyphen.
But, the following code produces a curly brace
instead of a
Hi all!
I encountered precision problems using pdf().
So far, I found out, that pdf() sets the Mediabox
to even values in dtp points (1/72 inch).
This can be seen in the following example.
page.width - 13.1/2.54 # in centimeters
page.height - 19/2.54
pdf(file = foo.pdf, width = page.width,
, adj=c(0, 0))
segments(4, 8, 4 + strwidth(testing), 8, col=red)
Paul
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
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
7 matches
Mail list logo