~ubuntu-branches/ubuntu/precise/lilypond/precise

« back to all changes in this revision

Viewing changes to input/test/bar-number-regular-interval.ly

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2006-12-19 10:18:12 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061219101812-7awtjkp0i393wxty
Tags: 2.8.7-3
scripts/midi2ly.py: When setting DATADIR, find Lilypond python files
in the @TOPLEVEL_VERSION@ directory, not 'current'.  Patch thanks to
Chris Lamb (chris@chris-lamb.co.uk).  (Closes: #400550)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
\header {
2
2
    texidoc = "
3
3
 
4
 
Bar numbers can also be printed inside boxes.
 
4
Bar numbers can be printed at regular intervals, inside a box or a circle.
5
5
 
6
6
" }
7
7
 
8
 
\version "2.2.0"
9
 
 
10
 
\score {
11
 
    \context Staff \notes \transpose  c c' {
12
 
        \override Score.BarNumber  #'break-visibility = #end-of-line-invisible
13
 
        \set Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
14
 
        \override Score.BarNumber  #'print-function =
15
 
        #(make-stencil-boxer 0.1 0.25 0.25 Text_item::print)
16
 
        \override Score.BarNumber  #'font-size = #2
17
 
        
18
 
        \repeat unfold 9 { c1 } \bar "|."
19
 
    }
 
8
\version "2.7.39"
 
9
 
 
10
\relative c'{
 
11
   \override Score.BarNumber  #'break-visibility = #end-of-line-invisible
 
12
   \set Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
 
13
   \override Score.BarNumber #'font-size = #2
 
14
 
 
15
   \override Score.BarNumber  #'stencil
 
16
   = #(make-stencil-boxer 0.1 0.25 ly:text-interface::print)
 
17
   \repeat unfold 5 { c1 } \bar "|"
 
18
 
 
19
   \override Score.BarNumber  #'stencil
 
20
   = #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
 
21
   \repeat unfold 4 { c1 } \bar "|."
20
22
}
21
23
 
22
24