lilypond-user
[Top][All Lists]
Advanced

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

RE: dotted vertical lines between notes


From: Fairchild
Subject: RE: dotted vertical lines between notes
Date: Sun, 29 Apr 2007 11:09:50 -0500

Trevor, Jim -

Here's a sledgehammer way.

%%%%%%%%%%%%%%%%%%%%%%

staffViolin = \new Staff { \time 4/4
    \set Staff.instrument="Violin"
    \key c \major    \clef treble    \relative c' {
        c1*1/9 d1*1/9 e1*1/9 f1*1/9
_\markup { \postscript #"0.3 setlinewidth 1 setlinecap [0.03 1] 0 setdash 1
-0.5 moveto 0 -6 rlineto stroke"}
        g1*1/9 a1*1/9 b1*1/9
_\markup { \postscript #"0.3 setlinewidth 1 setlinecap [0.03 1] 0 setdash 1
1.0 moveto 0 -7 rlineto stroke"}
        c1*1/9 d1*1/9 c,1*1/10 d1*1/10 e1*1/10
_\markup { \postscript #"0.3 setlinewidth 1 setlinecap [0.03 1] 0 setdash 1
-0.5 moveto 0 -9 rlineto stroke"}
        f1*1/10 g1*1/10
_\markup { \postscript #"0.3 setlinewidth 1 setlinecap [0.03 1] 0 setdash 1
0.0 moveto 0 -10 rlineto stroke"}
        a1*1/10 b1*1/10
_\markup { \postscript #"0.3 setlinewidth 1 setlinecap [0.03 1] 0 setdash 1
1 moveto 0 -11 rlineto stroke"}
        c1*1/10 d1*1/10
_\markup { \postscript #"0.3 setlinewidth 1 setlinecap [0.03 1] 0 setdash 1
2.0 moveto 0 -11 rlineto stroke"}
        e1*1/10
    \bar "|."    } }
staffViolinII = \new Staff  {
    \set Staff.instrument="Violin"
    \key c \major    \clef treble    \relative c' {
        c1*1/3 d1*1/3 e1*1/3 f1*1/3 g1*1/3 a1*1/3
    \bar "|."    } }
staffViola = \new Staff  {
    \set Staff.instrument="Viola"
    \key c \major    \clef alto    \relative c' {
        c1*1/5 d1*1/5 e1*1/5 f1*1/5 g1*1/5 a1*1/5
        b1*1/5 c1*1/5 d1*1/5 e1*1/5
    \bar "|."    } }
\score { << \staffViolin \staffViolinII \staffViola >> }

%%%%%%%%%%%%%%%%%%%%%%

                                                          - Bruce


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Trevor Baca
Sent: Wednesday, December 13, 2006 12:07 PM
To: address@hidden
Cc: address@hidden
Subject: Re: dotted vertical lines between notes


On 12/13/06, jim altieri <address@hidden> wrote:
> Hi everybody,
>   In a proportional notation score, I'd like to be able to draw dotted
> vertical lines between pairs (or groups) of notes that have simultaneous
> attacks.  I have a feeling that if it's possible it uses the GridLines
> function, but I'm not sure how to make it only go between certain
> staves.  I've included a short score to indicate what I mean... I'd like
> to draw dotted vertical lines between pairs of notes that in this
> example are colored red.

Hi Jim,

I've had this thought, too, especially for use in sketches to model
attack alignment. But I haven't yet spent the time to figure out how
to do it.

If you do come up with a working method, post back to the list and
I'll work the examples into the proportional notation HOWTO that I'm
just about to get started.


--
Trevor Bača
address@hidden






reply via email to

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