]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/tick-bar-lines.ly
Imported Debian patch 2.12.3-6
[lilypond.git] / input / lsr / tick-bar-lines.ly
index 735368cb32297e3a69fb6680fbab54282a79a368..a49da4a4d45e6e9b4f8ae656ff9e3fb16773317e 100644 (file)
@@ -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.
 %% 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.12.3"
 
 \header {
   lsrtags = "staff-notation"
 
 \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.
 
 '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
 "
   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 "|."
 }
   \bar "|."
 }