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

« back to all changes in this revision

Viewing changes to input/test/stem-cross-staff.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
 
\version "2.2.0"
2
 
 
3
 
\header { texidoc = "@cindex Stem Cross Staff
4
 
The chords which exceptionally cross staves may be produced by increasing 
5
 
the length of the stem in the lower stave, so it reaches the stem in the 
6
 
upper stave, or vice versa. "
7
 
}
8
 
 
9
 
stemExtend = \once \override Stem  #'length = #22
10
 
 
11
 
%% following reqs 1.7.1 or better.
12
 
noFlag = \once \override Stem  #'flag-style = #'no-flag
13
 
 
14
 
 
15
 
\score { \notes 
16
 
    \context  PianoStaff
17
 
        << \new Staff   {
18
 
            \stemDown
19
 
            \stemExtend
20
 
            f'4
21
 
            \stemExtend
22
 
            \noFlag
23
 
            f'8 }
24
 
          \new Staff {
25
 
              \clef bass
26
 
              a4 a8 }
27
 
          >>
28
 
 
29
 
    \paper { raggedright = ##t}
30
 
}
31