]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/font-magnification.ly
* flower/include/std-vector.hh (insert): Remove, replace by
[lilypond.git] / input / regression / font-magnification.ly
index 678604505f6e9983d2a438b68caa9478919d2360..2e2e03d05cd916dc86a2244e5aea9aa26b6a8e93 100644 (file)
@@ -1,26 +1,27 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
+
+\version "2.7.13"
 \header { texidoc = "The magnification can be set for any font. Note
-that this doesn't change variable symbols such as beams or slurs. " }
+that this does not change variable symbols such as beams or slurs. 
+" }
+
 
-\score {
-\notes \relative c'' \context Voice {
-\property Voice .NoteHead \set #'font-magnification = #0.9
-c4
-\property Voice .NoteHead \set #'font-magnification = #0.8
+\relative c'' \context Voice {
+  \override NoteHead  #'font-magnification = #0.9
+  c4
+  \override NoteHead  #'font-magnification = #0.8
 
 
-c4-"normal"
-  % why doesn't this  work?
-  c4\markup \bold \magnify #2.0 "foobar"
+  c4-"normal"
+  %% why doesn't this  work?
+  c4-\markup \bold \magnify #2.0 "foobar"
 
-  \property Voice .NoteHead \set #'font-magnification = #1.2
-  \property Voice.TextScript \set #'font-magnification = #2.0
+  \override NoteHead  #'font-magnification = #1.2
+  \override TextScript  #'font-magnification = #2.0
   c4-"big"
-  \property Voice .NoteHead \set #'font-magnification = #1.6
+  \override NoteHead  #'font-magnification = #1.6
   c4
 }
 
-}
+