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

« back to all changes in this revision

Viewing changes to input/regression/quote.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
{
3
3
 
4
 
    texidoc = "With @code{\quote}, fragments of previously entered
5
 
music may be quoted. " 
6
 
 
7
 
}
8
 
\version "2.2.0"
9
 
 
10
 
\addquote bla \notes\relative c' {
11
 
    fis4 g a b }
12
 
 
13
 
\score {
14
 
    \notes \relative c'' {
15
 
        c8 d8 \quote bla 2 es8 gis  
16
 
    }
17
 
}
18
 
 
 
4
    texidoc = "With @code{\\quote}, fragments of previously entered
 
5
music may be quoted. @code{quotedEventTypes} will determines what
 
6
things are quoted. In this example, a 16th rests is not quoted, since
 
7
@code{rest-event} is not in @code{quotedEventTypes}."
 
8
 
 
9
}
 
10
\version "2.7.39"
 
11
\layout {
 
12
    ragged-right = ##t
 
13
}
 
14
 
 
15
 
 
16
quoteMe = \relative c' { fis4 r16  a8.-> b4-\ff c }
 
17
 
 
18
\addquote quoteMe \quoteMe 
 
19
original = \relative c'' { c8 d s2 es8 gis8 }
 
20
 
 
21
<<
 
22
    \new Staff {
 
23
        \set Staff.instrument = "quoteMe"
 
24
        \quoteMe
 
25
    }
 
26
    \new Staff {
 
27
        \set Staff.instrument = "orig"
 
28
        \original
 
29
    }
 
30
    \new Staff \relative c'' <<
 
31
        \set Staff.instrument = "orig+quote"    
 
32
        \set Staff.quotedEventTypes = #'(note-event articulation-event)
 
33
        \original
 
34
        \new Voice {
 
35
            s4
 
36
            \set fontSize = #-4
 
37
            \override Stem #'length-fraction = #(magstep -4)
 
38
            \quoteDuring #"quoteMe" { \skip 2. }
 
39
        }
 
40
    >>
 
41
>>