Sam:
> I'm attempting to use LilyPond to create sheets with blank staves on the 
> left half of the page and college-ruled paper (equidistant lines spaced 
> by 9/32in, or 7.1mm, apart) on the right.
...
> How might I go about doing something like this?

This one is for a one page (A4) postscript version,
dimensions in mm, adjust as you see fit:
/////////////////
/a 72 25.4 div def
a a scale
0.1 setlinewidth

/xmin  10   def
/xlen  90   def

/ymin  32   def
/yst    1.7 def
/ysep  10.5 def

/nst   14   def

%%%%%%%%%%%%%%
/y ymin def
nst {
    5 {
        xmin y moveto xlen 0 rlineto stroke
        /y y yst add def
    } repeat
    /y y ysep add def
} repeat

%%%%%%%%%%%%%%
/xmin 105   def
/xlen 105   def

/ysep  -7.1 def
/ymin   0   def
/ymax 297   def

ymax ysep ymin {
    xmin exch moveto xlen 0 rlineto stroke
} for

showpage
/////////////////

Regards,
/Karl Hammar


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to