lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about '\new Staff =' command


From: Urs Liska
Subject: Re: Question about '\new Staff =' command
Date: Thu, 2 Feb 2017 15:09:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0


Am 02.02.2017 um 15:05 schrieb James:
> Hello,
>
> Would someone tell me (as a person who doesn't really use explicit
> 'Staff' commands what the purpose of the \new Staff = 'some string' is?
>
> That is looking at many of the examples in our Docs and Snippets, the
> '=' doesn't appear to do anything other than just be a human readable
> label within the LilyPond file itself and so seems to be no better
> than a kind of comment.
>
> So for example if I simple remove the '= string' part of the \new Staff
> command, it doesn't appear to break anything. Hence the curiosity of
> what this achieve from a technical point of view.
>
> Thank you for your time.

You can use the explicit staff name to access the context (or compare to
some arbitrary value), and it's for example used in the \change Staff =
"upper" command.

HTH
Urs

>
> James
>
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-devel

-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]