lilypond-user
[Top][All Lists]
Advanced

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

Re: Getting rid of initial brace on piano score


From: Peter Toye
Subject: Re: Getting rid of initial brace on piano score
Date: Thu, 3 Apr 2014 19:10:35 +0100

David,

Thanks very much for this very fast answer.

But two things:

1) I get a syntax error

> D:/Peter/Music/Lilypond/Mendelssohn/March2.ly:61:16: error: wrong
> type for argument 1.  Expecting string, found transparent
>    \alterBroken
>                 #'transparent #'(#t) Score.SystemStartBrace
>
> D:/Peter/Music/Lilypond/Mendelssohn/March2.ly:61:37: error: wrong
> type for argument 3.  Expecting list, found "Score"
>    \alterBroken #'transparent #'(#t)
>                                      Score.SystemStartBrace
>
> D:/Peter/Music/Lilypond/Mendelssohn/March2.ly:61:42: error: syntax error, unexpected '.'
>    \alterBroken #'transparent #'(#t) Score
>                                           .SystemStartBrace
>
> D:/Peter/Music/Lilypond/Mendelssohn/March2.ly:54:2: error: errors found, ignoring music _expression_
>  
>   \new PianoStaff

2) Your message implies that you think I want to get rid of the second brace. That's not the case - I want to get rid of the first one if possible. If I can't it's no great problem - I have to be more careful with the scissors!

Peter
mailto:address@hidden
www.ptoye.com

-------------------------
Thursday, April 3, 2014, 6:27:14 PM, you wrote:


Hi again,


On Thu, Apr 3, 2014 at 12:11 PM, David Nalesnik <
address@hidden> wrote:


(P.S. This should be a case where \alterBroken would work, though not without some ugliness.  The following _expression_ removes the stencil on the second line as expected, though the stencil is positioned further from the staff:

..\alterBroken stencil
 #`(#f ,(lambda (grob) (ly:system-start-delimiter::print grob)))
 Score.SystemStartBrace

Here's another way:

\score {
 \new PianoStaff
 <<
   \alterBroken #'transparent #'(#t) Score.SystemStartBrace
   \new Staff = "right" \right
   \new Staff = "left" { \clef bass \left }
 >>
}


--David

reply via email to

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