Eluze <elu...@gmail.com> schrieb:

>Urs Liska-4 wrote
>> Is it possible to refer to a staff relative to the current staff and
>not 
>> by its name?
>> 
>> So, is it possible to write something like
>> 
>> \change Staff = "previous/next or "higher/lower"
>> 
>> instead of
>> 
>> \change Staff = "Explicit-name-of-staff"
>> 
>> inside a PianoStaff?
>> 
>> I'd be interested in creating a generic command like \staffUp or
>> \staffDown.
>
>hi Urs
>
>seems logical - in a two stave score you can only change up or down
>depending on where you actually are and LilyPond should be able to
>detect
>that!
>
>are you proposing to build such a command  or would you like to add a
>feature request?!

If it is possible to retrieve the necessary information (i.e. current, previous 
and next staff context) I'll give it a try.
If it isn't I'll post a feature request on bug-lilypond.

Of course I'm also talking about PianoStaves with more than two staves in it.
BTW does \change Staff work only in the context of a PianoStaff (can't check 
that ATM)?

Best
Urs
>
>Eluze
>
>
>
>
>--
>View this message in context:
>http://lilypond.1069038.n5.nabble.com/Refer-to-a-staff-relatively-not-by-name-tp143705p143717.html
>Sent from the User mailing list archive at Nabble.com.
>
>_______________________________________________
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to