lilypond-user
[Top][All Lists]
Advanced

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

\override and \revert


From: Timothy Lanfear
Subject: \override and \revert
Date: Sun, 11 Jul 2021 17:31:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

https://lilypond.org/doc/v2.22/Documentation/extending/intermediate-substitution-functions describes \temporary \override and \revert as push/pop pair operating on a stack of grob properties so the previous value of the property can be recovered. On the other hand, the example of \revert in http://lilypond.org/doc/v2.22/Documentation/notation/the-override-command does not use \temporary. It does seem that the default value of the property is restored if the stack becomes empty. Is it true that the default is restored? Is there any advice on the best way to use \revert?

--
Timothy Lanfear, Bristol, UK.




reply via email to

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