X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Ftick-bar-lines.ly;h=458e522b581316491857e5ed837c5e91c35b029e;hb=d664f5a7153ec2b1a1c4c9fba2d2174bf3140695;hp=da28154ab5d8667009c0e2712cdf16485c1f1e7f;hpb=1f419a2af14d4a5daf9bc9eb5f7368eedb5c6021;p=lilypond.git diff --git a/input/lsr/tick-bar-lines.ly b/input/lsr/tick-bar-lines.ly index da28154ab5..458e522b58 100644 --- a/input/lsr/tick-bar-lines.ly +++ b/input/lsr/tick-bar-lines.ly @@ -1,43 +1,20 @@ -%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% Do not edit this file; it is auto-generated from input/new %% This file is in the public domain. -\version "2.11.61" - +\version "2.12.0" \header { lsrtags = "staff-notation" - texidoc = " '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 "|." }