Tweaking grace layout within music: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The layout of grace expressions can be changed throughout the music using the functions <code>add-grace-property</code> and <code>remove-grace-property</code>.
The appearance of grace expressions can be changed by using the functions <code>add-grace-property</code> and <code>remove-grace-property</code>.


The following example undefines the <code>Stem</code> direction for this grace, so that stems do not always point up, and changes the default note heads to crosses.
The following example undefines the <code>direction</code> property of <code>Stem</code> grobs for this grace so that stems do not always point up, and changes the default note heads to crosses.


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative c'' {
\relative c'' {
   \new Staff {
   \new Staff {
Line 20: Line 20:
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]