]> git.donarmstrong.com Git - lilypond.git/blob - input/bugs/dynamic-collide.ly
release: 1.3.131
[lilypond.git] / input / bugs / dynamic-collide.ly
1
2 % dynamics should not collide with staff
3 % dynamics (of two voices) should not collide with eachother
4
5 \header {
6 texidoc="Template for part-combining orchestral scores";
7 }
8
9
10 End = { \skip 1; }
11 violoncello = \notes\relative c'' {
12   c1\ff 
13 }
14
15 contrabasso = \notes\relative c'' {
16   c1\pp 
17 }
18
19 flautiStaff =  \notes \context Staff = flauti <
20  \context Voice=oneBassi \End
21  \context Voice=twoBassi \End
22   \context Voice=Flauti \partcombine Voice
23     \context Thread=oneFlauti \violoncello
24     \context Thread=twoFlauti \contrabasso
25 >
26
27 staffCombineProperties = {
28         \property Voice.devNullThread = #'unisolo
29         \property Voice.soloADue = ##t
30         \property Voice.soloText = #""
31         \property Voice.soloIIText = #""
32         % This is non-conventional, but currently it is
33         % the only way to tell the difference.
34         \property Voice.aDueText = #"\\`a2"
35         \property Voice.splitInterval = #'(1 . 0)
36         \property Voice.changeMoment = #`(,(make-moment 1 1) . ,(make-moment 1 1))
37 }
38
39 \score {
40   <
41   \flautiStaff
42  >
43
44
45   \paper {
46     % \paperSixteen
47     linewidth = 80 * \staffspace;
48     textheight = 200 * \staffspace;
49     \translator{
50       \ThreadContext
51       \consists "Rest_engraver";
52     }
53     \translator{
54       \VoiceContext
55       \remove "Rest_engraver";    
56
57       devNullThread = #'never
58       \consists "Thread_devnull_engraver";
59
60       soloText = #"I."
61       soloIIText = #"II."
62       soloADue = ##f
63     }
64     \translator{
65       \HaraKiriStaffContext
66       \consists "Mark_engraver";
67     }
68   }
69 }
70