|
From: | Urs Liska |
Subject: | Re: parameters in lyrics? |
Date: | Thu, 3 Dec 2015 15:12:07 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Am 03.12.2015 um 15:04 schrieb Graham
King:
I'm trying to enclose some lyrics within square brackets but, for reasons too tedious to trouble the list with*, I'd like to parameterise the brackets using the \foo and \fooEnd constructs in the following pseudocode. Is there a way to do this without causing "[" and "]" to be set as separate syllables? HTH: \version "2.19.21" theNotes = { \relative { e''1 d c } } brack = #(define-scheme-function (parser location syllable)(string?) (format "[~a]" syllable)) theWords = \lyricmode { Three \brack blind mice, } \score { \new StaffGroup << \new Voice = "voice" \theNotes \new Lyrics \lyricsto "voice" \theWords >> } Urs |
[Prev in Thread] | Current Thread | [Next in Thread] |