From 6cce037bef16ba87a3531482d89152a52dbfa952 Mon Sep 17 00:00:00 2001 From: Mark Polesky Date: Fri, 13 Jun 2014 19:25:19 -0700 Subject: [PATCH] Issue 2950: Update substitution function example in LM. The old example illustrated the principle well, until skylining code was added. This change makes the example's point clear in light of the new vertical spacing code. --- Documentation/learning/fundamental.itely | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Documentation/learning/fundamental.itely b/Documentation/learning/fundamental.itely index 60e67ee135..c64af67ed4 100644 --- a/Documentation/learning/fundamental.itely +++ b/Documentation/learning/fundamental.itely @@ -3060,9 +3060,6 @@ violin = \relative c'' @{ @} @end example -@c TODO Replace the following with a better example -td -@c Skylining handles this correctly without padText - So far we've seen static substitution -- when LilyPond sees @code{\padText}, it replaces it with the stuff that we've defined it to be (ie the stuff to the right of @@ -3080,12 +3077,12 @@ padText = \once \override TextScript.padding = #padding #}) -\relative c''' { - c4^"piu mosso" b a b | +\relative c'' { + c4^"piu mosso" b a b \padText #1.8 - c4^"piu mosso" d e f | + c4^"piu mosso" b a b \padText #2.6 - c4^"piu mosso" fis a g | + c4^"piu mosso" b a b } @end lilypond -- 2.39.2