]> git.donarmstrong.com Git - lilypond.git/commitdiff
Give text #(cons (markup "foo")) example.
authorGraham Percival <graham@percival-music.ca>
Tue, 9 Aug 2005 07:29:06 +0000 (07:29 +0000)
committerGraham Percival <graham@percival-music.ca>
Tue, 9 Aug 2005 07:29:06 +0000 (07:29 +0000)
ChangeLog
Documentation/user/advanced-notation.itely

index fe5691b20636873895e4f0e2258fd1153d727c67..6e0fc9fdd2aa175f4186139e63250d0a63683f3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,7 +5,8 @@
        * scm/define-markup-commands.scm: add linewidth info to
        \justify and \wordwrap.
 
-       * Documentation/user/advanced-notation.itely: shaped->shape
+       * Documentation/user/advanced-notation.itely: shaped->shape,
+       add (cons (markup "foo")) type of example to text markup.
 
        * lily/note-heads-engraver.cc: changed Shaped->Shape in a
        comment.  No actual code was touched.
index b842e2f465e69535ba623e3103466cae9721d10f..70c713ac0987b938b10d528ee8d6eacd6660ff62 100644 (file)
@@ -215,9 +215,10 @@ but it can also be used anywhere text is called in lilypond
 
     \set Staff.instrument = \markup{ \column{ Alto solo } }
     c2^\markup{ don't be \flat }
-    b2
+    \override TextSpanner #'edge-text = #(cons (markup #:italic "rit" ) "")
+    b2\startTextSpan
     a2\mark \markup{ \large \bold Fine }
-    r2
+    r2\stopTextSpan
     \bar "||"
   }
   \addlyrics { bar, foo \markup{ \italic bar! } }