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 >>
}
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond