lilypond-user
[Top][All Lists]
Advanced

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

Re: Start new score without line break


From: Thomas Morley
Subject: Re: Start new score without line break
Date: Wed, 22 Feb 2017 23:01:32 +0100

2017-02-22 15:29 GMT+01:00 Andrew Bernard <address@hidden>:
> Hi All,
>
> Well, here's what I have so far. All that is needed now is the brace and the
> time signature.
>
> Andrew
>
> == snip
>
> \version "2.19.55"
>
> treble = {
>   \clef treble
>   \key a \major
>   \override Score.BreakAlignment.break-align-orders =
>   #(make-vector 3 '(left-edge
>                     cue-end-clef
>                     ambitus
>                     breathing-sign
>                     staff-bar
>                     clef
>                     time-signature
>                     cue-clef
>                     key-cancellation
>                     key-signature
>                     custos))
>   c'4
>   \bar "|."
>   \stopStaff
>   s4 s s s
>   \bar "|"
>   \startStaff
>   \override Staff.Clef.full-size-change = ##t
>   \set Staff.forceClef = ##t
>   \clef treble
>   \key a \major
>   c'4
> }
>
> bass = {
>   \clef bass
>   \key a \major
>
>   c4
>   \stopStaff
>   s4 s s s
>   \startStaff
>   \override Staff.Clef.full-size-change = ##t
>   \set Staff.forceClef = ##t
>   \clef bass
>   \key a \major
>   c4
> }
>
> \score {
>
>   \new PianoStaff
>   <<
>     \new Staff { \treble }
>     \new Staff { \bass }
>   >>
>
>   \layout {
>   }
> }
>
> == snip
>
>
>
>
> On 23 February 2017 at 00:52, Richard Shann <address@hidden> wrote:
>>
>> On Wed, 2017-02-22 at 14:28 +0100, Alexander Kobel wrote:
>> > Andrew,
>> >
>> > On 2017-02-22 14:02, Andrew Bernard wrote:
>> [...]
>> >
>> > > Can this be done? I can see how you can use stopStaff and startStaff
>> > > to get close, but there does not appear to be an obvious way to get
>> > > system start delimiters and braces drawn if you do that.
>> >
>> > I once tried to duplicate the SystemStartDelimiter stencil from the
>> > beginning of the line, to insert it at the place where \startStaff is
>> > called.  It would not be the most convenient approach (in particular,
>> > you'd typically want to have some vertically centered text in the
>> > gap), but at least a start.  And the missing delimiter is the main
>> > technical hindrance AFAICS.
>> > Alas, I did not succeed; but I suspect that someone with a better
>> > Scheme- and Lily-internals-fu could make this work...
>>
>> I wonder if you could get LilyPond to draw the brace after the break in
>> the staff by defining a custom barline and putting that there? It would
>> not work for nested braces, but I think most applications are just a
>> single brace.
>>
>>
>> Richard


Hi,

maybe
http://lists.gnu.org/archive/html/lilypond-user/2013-12/msg01027.html
is of some help.

Cheers,
  Harm



reply via email to

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