Thank you Andrew and David that's exactly what I need.

And thank you to Mike; I wanted to ask if there is any way to add
annnotation and fingering and you're link answers perfectly to my question
:)

Best regards, g.

On Sat, Apr 9, 2016 at 8:42 AM, Mike Solomon <m...@mikesolomon.org> wrote:

>
> On Apr 9, 2016, at 2:34 AM, Gianmaria Lari <gianmarial...@gmail.com>
> wrote:
>
> I have a music score like this:
>
> a a a a
> b b b b
> c c c c
> r1
> a a a a
> b b b b
> c c c c
>
>
>
>
> Then it would be nice to create a variable
>
> fragment =
> {
> a a a a
> b b b b
> c c c c
> }
>
>
> and write the score in the following way:
>
> \fragment
> r1
> \fragment
>
>
>
>
> This is perfect but sometimes I need to format the score like this:
>
> a a a a
> b b b b
> c c c c
> r1
> a a a a
> b b b b \pagebreak
> c c c c
>
>
> How I should structure the lilypond source code in this case where the
> visual structure and the musical structure does not match? For the music
> structure I would like to create the variable fragment, but for the visual
> structure this does not work. What should I do?
>
>
> Dear Gianmaria,
>
> Have a look at
> http://lilypond.org/doc/v2.16/Documentation/notation/different-editions-from-one-source.en.html
>  -
> it presents several ways of going about this, all of which are quite useful.
>
> Cheers,
> MS
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to