[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simultaneous spacer affects note positioning
From: |
Greg |
Subject: |
Re: Simultaneous spacer affects note positioning |
Date: |
Sun, 12 Jul 2015 13:10:51 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Phil Holmes <mail <at> philholmes.net> writes:
>
> "Greg" <gregrs <at> fastmail.co.uk> wrote in message
> news:loom.20150712T132223-8 <at> post.gmane.org...
> >> I'm not top posting.
> >
> > \version "2.18.2"
> >
> > \score {
> > \new Staff \relative g' {
> > << g1 s1^"s1" >>
> > << g1 s1^"s1" >>
> > << g1 s4^"s4" >> % note appears closer to barline
> > << g1 s1^"s1" >>
> > }
> > }
>
> TBH, I'm a bit confused about why you're using the << >> constructs to
> combine notes and spacers: what are you trying to achieve with this?
>
Thanks Phil. I've written an example below which I hope is easier to
understand. I commonly need to combine a 'global' variable (containing text
for all instruments, for example) with another variable containing notes for
a particular instrument. I wouldn't necessarily expect the presence of
spacers to alter the position of notes.
Thanks,
Greg.
\version "2.18.0"
variableA = \relative g' {
\repeat unfold 4 { g1 }
}
variableB = \relative g' {
s1 s1 s2 s2_"rit." s1
}
\score {
\new Staff << \variableA \variableB >>
}