sdfgsdhdshd wrote: > > > 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. >> > > small example based on the wiki page: > #(set-global-staff-size 15.000000) > { a_\markup { \postscript #"0 0 moveto 0 13.38582677165 lineto stroke" } } >
For writing some lines, and doing some specific computations, i just need to know precisely which unit llp is using. By many trial and errors i failed to determine it. The lilypond devs surely know the formula. If this message is in the wrong forum, please tell me in which forum i must ask. -- View this message in context: http://www.nabble.com/simple-poscrit-question-tp20913681p20915375.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
