X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Ftick-bar-lines.ly;h=458e522b581316491857e5ed837c5e91c35b029e;hb=3bafaae8bf353619d2f97036e874f1c9cb787adf;hp=da127b5edd86407a7e0ef1a4257f0b3ba93329ef;hpb=0177568e5c608224af3954447d48971ef4f9d930;p=lilypond.git diff --git a/input/lsr/tick-bar-lines.ly b/input/lsr/tick-bar-lines.ly index da127b5edd..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 "|." }