Modify only the current system: Difference between revisions

Import snippet from LSR
 
m I deleted the full keyword because, as far as I can tell, this snippet does not need to demonstrate page layout features.
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Starting bars usually are all clones of the first one. The only way to affect one system and not the others is to collect all the grobs using the <code>all-elements</code> property of any grob on the system in question (for example a <code>NoteHead</code>) and filter the target grob, which you can then modify.
Starting bars usually are all clones of the first one. The only way to affect one system and not the others is to collect all the grobs using the <code>all-elements</code> property of any grob on the system in question (for example a <code>NoteHead</code>) and filter the target grob, which you can then modify.


<lilypond version="2.24.0" full>
<lilypond version="2.24">
%% Thanks to David Nalesnik:
%% Thanks to David Nalesnik:
%% https://lists.gnu.org/archive/html/lilypond-user/2019-03/msg00205.html
%% https://lists.gnu.org/archive/html/lilypond-user/2019-03/msg00205.html
Line 23: Line 23:
   }
   }
>>
>>
\paper { tagline = ##f }
</lilypond>
</lilypond>


[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Snippet]]