]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lyric-tweak.ly
Imported Upstream version 2.18.0
[lilypond.git] / input / regression / lyric-tweak.ly
index aed4b8aae29ae356db92fc11c6956e1f08f636a3..ccaad3d46931e6ae3713344eecef11f8daedc5e2 100644 (file)
@@ -1,9 +1,11 @@
 \header
 {
-  texidoc = "The @code{\\tweak} function can be used in Lyrics."
+  texidoc = "The @code{\\tweak} function can be used in Lyrics.  Where
+confusion of lyric words with grob names is possible, explicit use of
+@code{\\markup} can be used for resolving the ambiguity."
 }
 
-\version "2.16.0"
+\version "2.17.6"
 \paper {
   ragged-right = ##t
 }
@@ -11,8 +13,8 @@
 \new Lyrics \lyricmode
 {
   \markup \raise #1 \rotate #30 One 4
-  \tweak #'extra-offset #'(0 . 2) fish,
+  \tweak extra-offset #'(0 . 2) \markup fish,
   \markup \raise #1 \rotate #-30 two fish,
-  \tweak #'color #red red fish,
-  \tweak #'color #blue blue fish.
+  \tweak color #red \markup red fish,
+  \tweak color #blue \markup blue fish.
 }