|
From: | Jonathan Kulp |
Subject: | Re: Bracketed notes |
Date: | Mon, 04 May 2009 15:42:41 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090318) |
Reinhold Kainhofer wrote:
Am Montag, 4. Mai 2009 17:28:54 schrieb Jonathan Kulp:Mark Austin wrote:Is it possible to enclose a note in brackets? I need to do this to indicate a lead note played the first time but not on subsequent repeats.In a thread a while back we came up with a way to put brackets (not parentheses) around a rest. You could try it with your lead note, too:Another possibility is to hook into the way \parenthesize formats the parentheses: It obtains stencils for the opening and closing parentheses, so one was is to simply override them with opening and closing brackets. See the attached snippet, which defines a \bracketify command, which can be used almost like \parenthesize (bracketing individual notes of a chord doesn't work due to my use of \once\override inside the function).
Genius, Reinhold! Very nice. Jon -- Jonathan Kulp http://www.jonathankulp.com
[Prev in Thread] | Current Thread | [Next in Thread] |