]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/bar-counter.ly
Fix wrong menu
[lilypond.git] / input / lsr / bar-counter.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.48"
4
5 \header {
6   lsrtags = "repeats, staff-notation, editorial-annotations"
7
8   texidoc = "
9 This snippet provides an example how to emit bar counters which
10 LilyPond doesn't provide currently. 
11
12 "
13   doctitle = "Bar counter"
14 } % begin verbatim
15
16 <<
17  \context Voice = "foo" {
18    \clef bass
19    c4 r g r |
20    c4 r g r |
21    c4 r g r |
22    c4 r g r |
23  }
24  \context Voice = "foo" {
25    \set countPercentRepeats = ##t
26    \override PercentRepeat #'transparent = ##t
27    \repeat percent 4 { s1 }
28  }
29 >>