lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Large square brackets for modern notation


From: Qian Li
Subject: Re: Large square brackets for modern notation
Date: Sat, 20 Jun 2009 11:16:59 -0700

Okay, I updated my file with Mark's suggestion and renamed the brackets obracket and cbracket (open and close). Oddly, only the open bracket runs. Now I get this error:

content.ly:602:29: error: GUILE signaled an error for the _expression_ beginning here
s8 s8-\markup { \postscript #
                             cbracket} %^\markup{\huge{"]"}}
Unbound variable: cbracket}

lilypond then chokes on all the braces and brackets following. Can you see a problem? I've attached my score. The bracket is on the last page. document.ly is the one to run. Thanks again.

Qian


On Sat, Jun 20, 2009 at 12:51 AM, Nick Payne <address@hidden> wrote:

You could use native Postscript. Like so. Play around with the values to get the line thickness etc that you want :

 

%=======================================================

\version "2.12.1"

 

#(define lbracket "0.25 setlinewidth -1.5 -2 moveto 0 8.8 rlineto -1.5 -2 moveto 2 0 rlineto -1.5 6.8 moveto 2 0 rlineto stroke")

#(define rbracket "0.25 setlinewidth 2.5 -2 moveto 0 8.8 rlineto 2.5 -2 moveto -2 0 rlineto 2.5 6.8 moveto -2 0 rlineto stroke")

 

\relative c' {

                c4-\markup { \postscript #lbracket } c c c-\markup { \postscript #rbracket }

}

%=======================================================

 

Nick

 

 

From: lilypond-user-bounces+nick.payne=internode.on.net@gnu.org [mailto:lilypond-user-bounces+nick.payne=internode.on.net@gnu.org] On Behalf Of Qian Li
Sent: Saturday, 20 June 2009 9:23 AM
To: address@hidden
Subject: Large square brackets for modern notation

 

I want to draw square brackets taller than staff height to indicate, for example, free rhythm with specified pitches using stemless noteheads inside the brackets. I believe Penderecki and others have used them.

Right now I'm trying text markup but can't get the brackets big and heavy enough to cover the whole staff height.

Thanks

Qian

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.79/2186 - Release Date: 06/19/09 17:56:00




Attachment: content.ly
Description: Binary data

Attachment: document.ly
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]