]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/tick-bar-lines.ly
Merge branch 'stable'
[lilypond.git] / input / lsr / tick-bar-lines.ly
index da127b5edd86407a7e0ef1a4257f0b3ba93329ef..458e522b581316491857e5ed837c5e91c35b029e 100644 (file)
@@ -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 "|."
 }