From: gpercival <gpercival>
Date: Tue, 9 Aug 2005 07:29:06 +0000 (+0000)
Subject: Give text #(cons (markup "foo")) example.
X-Git-Tag: release/2.6.4~17^2~108
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=776060f26dbba24832ceb9fba0df63f81d21a92d;p=lilypond.git

Give text #(cons (markup "foo")) example.
---

diff --git a/ChangeLog b/ChangeLog
index fe5691b206..6e0fc9fdd2 100644
--- 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.
diff --git a/Documentation/user/advanced-notation.itely b/Documentation/user/advanced-notation.itely
index b842e2f465..70c713ac09 100644
--- a/Documentation/user/advanced-notation.itely
+++ b/Documentation/user/advanced-notation.itely
@@ -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! } }