[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dotted vertical lines between notes
From: |
jim altieri |
Subject: |
dotted vertical lines between notes |
Date: |
Wed, 13 Dec 2006 13:00:26 -0500 |
User-agent: |
Thunderbird 1.5.0.8 (Macintosh/20061025) |
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.
Thanks,
jim altieri
\version "2.10.0"
\header {
}
staffViolin = \new Staff {
\time 4/4
\set Staff.instrument="Violin"
\set Staff.midiInstrument="violin"
\key c \major
\clef treble
\relative c' {
c1*1/9 d1*1/9 e1*1/9 \once \override NoteHead #'color = #red
f1*1/9 g1*1/9 a1*1/9 \once \override NoteHead #'color = #red b1*1/9
c1*1/9 d1*1/9
c,1*1/10 d1*1/10 \once \override NoteHead #'color = #red e1*1/10
f1*1/10 \once \override NoteHead #'color = #red g1*1/10 a1*1/10 \once
\override NoteHead #'color = #red b1*1/10 c1*1/10 \once \override
NoteHead #'color = #red d1*1/10 e1*1/10
\bar "|."
}
}
staffViolinII = \new Staff {
\set Staff.instrument="Violin"
\set Staff.midiInstrument="violin"
\key c \major
\clef treble
\relative c' {
c1*1/3 \once \override NoteHead #'color = #red d1*1/3 \once
\override NoteHead #'color = #red e1*1/3 f1*1/3 g1*1/3 a1*1/3
\bar "|."
}
}
staffViola = \new Staff {
\set Staff.instrument="Viola"
\set Staff.midiInstrument="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 \once \override NoteHead
#'color = #red b1*1/5 \once \override NoteHead #'color = #red c1*1/5
\once \override NoteHead #'color = #red d1*1/5 \once \override NoteHead
#'color = #red e1*1/5
\bar "|."
}
}
\score {
<<
\staffViolin
\staffViolinII
\staffViola
>>
\layout {
}
}
\paper {
}
- dotted vertical lines between notes,
jim altieri <=