]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/slur-script.ly
* mf/feta-bolletjes.mf (solfa_quarter_width): use
[lilypond.git] / input / regression / slur-script.ly
index e0399ba7c57da5ec979fd31331aa2fa816f8d6e9..6c524f43b52ce3c9587563a2167d89b6b03e4281 100644 (file)
@@ -1,41 +1,41 @@
 
 \header {
 
-    texidoc = "A slur avoids collisions with scripts.  Articulations
+  texidoc = "A slur avoids collisions with scripts.  Articulations
     go inside the slur, dynamic markings go outside the slur.
     Fingerings and texts are placed either inside or outside.
 
     For different configurations, the defaults can be changed, and
     scripts can be moved manually."
-  }
+}
 
-\version "2.6.0"
+\version "2.7.39"
 \layout {
-    indent = 0\mm
-    raggedright = ##t
+  indent = 0\mm
+  ragged-right = ##t
 }
 \relative
 {
-    b4-.( b-. b-.)
-    b(-.  d-.)
+  b4-.( b-. b-.)
+  b(-.  d-.)
+
+  b_1( f'_1_2_3 c_3_4_5 a)
 
-    b_1( f'_1_2_3 c_3_4_5 a)
-    b( f'\p b,)
-    
-    %% Do not force dynamics outside slur, only avoid collisions.
-    \override DynamicLineSpanner #'avoid-slur = #'around
-    \override DynamicLineSpanner #'padding = #0.4
-    b( e\p e\f b)
-    
-    %% Do not avoid collisions.
-    \override DynamicLineSpanner #'avoid-slur = #'()
-    \revert DynamicLineSpanner #'padding
-    b( d\p d\f b)
-    
-    c_\markup { \italic {"cresc."}}( c c)
-    \once \override Script #'padding = #1.2
-    b-.( b-.
-    \once \override Script #'padding = #1.2
-    b-.)
-    e='16[-.( f-.)]
+  \override DynamicLineSpanner #'avoid-slur = #'outside
+  b(^"dyn outside" b f'\p b,)
+  
+  %% Do not force dynamics outside slur, only avoid collisions.
+  \override DynamicLineSpanner #'avoid-slur = #'around
+  b(^"dyn around" e\p e\f b)
+  
+  %% Do not avoid collisions.
+  \override DynamicLineSpanner #'avoid-slur = #'()
+  b(^"no avoid" d\p d\f b)
+  
+  c_\markup { \italic {"cresc."}}( c c)
+  \once \override Script #'padding = #1.2
+  b-.( b-.
+  \once \override Script #'padding = #1.2
+  b-.)
+  e='16[-.( f-.)]
 }