X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Ftick-bar-lines.ly;h=470e41a5f66b3609d29427cb2a74e341f86d2bd2;hb=3eb1e37e2e0b3966142cd04b85e30ab882308612;hp=735368cb32297e3a69fb6680fbab54282a79a368;hpb=e34672b1842ce9e87edeeee53e497d2218cc1fe9;p=lilypond.git diff --git a/input/lsr/tick-bar-lines.ly b/input/lsr/tick-bar-lines.ly index 735368cb32..470e41a5f6 100644 --- a/input/lsr/tick-bar-lines.ly +++ b/input/lsr/tick-bar-lines.ly @@ -1,6 +1,6 @@ %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it %% This file is in the public domain. -\version "2.11.57" +\version "2.13.1" \header { lsrtags = "staff-notation" @@ -9,35 +9,15 @@ 'Tick' bar lines are often used in music where the bar line is used only for coordination and is not meant to imply any rhythmic stress. -This snippet uses overrides for the @code{'bar-size} and -@code{'extra-offset} properties of @code{BarLine} to -determine, respectively, the tick size and its vertical placement. - " doctitle = "Tick bar lines" } % begin verbatim -{ - % Use 'bar-size to control the height of the tick, - % and 'extra-offset to determine its position. - % - % With 'extra-offset set to zero, the tick will be - % centered around the middle line of the staff. - % - % Replace Staff.BarLine with Score.BarLine to - % apply the method to the whole score. - - \override Staff.BarLine #'bar-size = #1 - \override Staff.BarLine #'extra-offset = #'(0 . 2) - - c'4 d' e' f' - g'4 f' e' d' - c'4 d' e' f' - g'4 f' e' d' - - % Revert the overrides to get back a normal - % bar line at the end. - - \revert Staff.BarLine #'bar-size - \revert Staff.BarLine #'extra-offset + +\relative c' { + \set Score.defaultBarType = #"'" + c4 d e f + g4 f e d + c4 d e f + g4 f e d \bar "|." }