X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fadding-indicators-to-staves-which-get-split-after-a-break.ly;h=979460c6dc16777bf96bcd569abc8a95a9f0fe7d;hb=23108a9515e7f76b44fac0b323afb169d708bfa1;hp=12aa2438bd6f3163ef6512f553eaf12e815268fd;hpb=29ef9c6bca15601f188fbca3789d96fa2c3ce3f2;p=lilypond.git diff --git a/Documentation/snippets/adding-indicators-to-staves-which-get-split-after-a-break.ly b/Documentation/snippets/adding-indicators-to-staves-which-get-split-after-a-break.ly index 12aa2438bd..979460c6dc 100644 --- a/Documentation/snippets/adding-indicators-to-staves-which-get-split-after-a-break.ly +++ b/Documentation/snippets/adding-indicators-to-staves-which-get-split-after-a-break.ly @@ -1,10 +1,13 @@ -%% Do not edit this file; it is automatically +%% DO NOT EDIT this file manually; it is automatically %% generated from LSR http://lsr.dsi.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% %% This file is in the public domain. -\version "2.13.46" +\version "2.17.11" \header { - lsrtags = "staff-notation, vocal-music" + lsrtags = "staff-notation, symbols-and-glyphs, vocal-music" texidoc = " This snippet defines the @code{\\splitStaffBarLine} command, which adds @@ -40,13 +43,13 @@ splitStaffBarLineMarkup = \markup \with-dimensions #'(0 . 0) #'(0 . 0) { } splitStaffBarLine = { - \once \override Staff.BarLine #'stencil = + \once \override Staff.BarLine.stencil = #(lambda (grob) (ly:stencil-combine-at-edge (ly:bar-line::print grob) X RIGHT (grob-interpret-markup grob splitStaffBarLineMarkup) - 0 0)) + 0)) \break } @@ -95,8 +98,7 @@ splitStaffBarLine = { \layout { \context { \Staff \RemoveEmptyStaves - \override VerticalAxisGroup #'remove-first = ##t + \override VerticalAxisGroup.remove-first = ##t } } } -