lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple poscrit question


From: sdfgsdhdshd
Subject: Re: simple poscrit question
Date: Tue, 9 Dec 2008 05:07:13 -0800 (PST)


Kieren MacMillan wrote:
> 
> Hi sdfgsdhdshd,
> 
>> In a score, i add some ps code to draw a few specific lines.
>> The question is: how to draw with a precise length in cm?
>> Like:
>> 0 0 moveto x y lineto
>> how must be x to be exactly 3 cm, and y exactly 2 cm?
> 
> The page
> <http://www.physics.emory.edu/~weeks/graphics/howtops1.html>
> will tell you how to scale to cm.
> 

It is for ps only; but llp modify the scale, but i don't know how much.
btw, i use
#(set-global-staff-size 15)

small example based on the wiki page:
#(set-global-staff-size 15.000000)
{ a_\markup { \postscript #"0 0 moveto 0 13.38582677165 lineto stroke" } }

According to wiki, the line should be 4cm long. But i got one between 1.5 cm
and 1.6 cm (too imprecise).

-- 
View this message in context: 
http://www.nabble.com/simple-poscrit-question-tp20913681p20914363.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]