|
From: | Simon Albrecht |
Subject: | Re: Add lyrics after n measures |
Date: | Mon, 08 Sep 2014 19:49:55 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 |
Am 08.09.2014 um 18:10 schrieb Colin
Campbell:
which is rather simple: You use the scheme prefix syntax, - as a function and thus obtain #(- n 1). (pass in a number of notes to skip, decrement by one and insert the quoted space), or I suppose I can do the work in my head.The full function would then be: %<------------------------------------- lSkip = #(define-music-function (parser location skips) (number?) #{ \lyricmode { " " \repeat unfold $(- skips 1) { \skip 1 } } #}) For me, this doesn’t work though: the extender line is not finished by " " – no idea, why. For you it worked? I attach my test file for checking. HTH, Simon |
extender.ly
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |