Re: Ossia too long at key change

2014-08-31 Thread Peter Van Kranenburg

On 31/08/14 12:47, Pierre Perol-Schneider wrote:

See also :
http://lilypond.1069038.n5.nabble.com/Ossia-staff-is-too-long-when-a-key-change-happend-td165937.html
Cheers,
Pierre



Thanks a lot for the suggestions!  My ossia contains a ChoirStaff and at 
least one linebreak, so I can't have it as markup.

The filled-box workaround did the trick for me.


Thanks again,
Peter


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ossia too long at key change

2014-08-31 Thread Pierre Perol-Schneider
See also :
http://lilypond.1069038.n5.nabble.com/Ossia-staff-is-too-long-when-a-key-change-happend-td165937.html
Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ossia too long at key change

2014-08-30 Thread Pierre Perol-Schneider
Hi again,
another solution would have been to put the ossia as a markup, e.g. :

\version "2.18.2"

ossia =
  \tweak self-alignment-X #RIGHT
  \tweak padding #3
  \mark\markup\score {
  \new Staff
  \with {
alignAboveContext = #"myStaff"
\omit Clef
\omit TimeSignature
fontSize = #-3
\override StaffSymbol.staff-space = #(magstep -3)
\override StaffSymbol.thickness = #(magstep -3)
  }
  \relative c' {
\stopStaff\partial 8 s8
\startStaff
  <<
{ e4 g8 f e2 }
{
  % here's how to enlarge the ossia
  \hide MultiMeasureRest
  \override MultiMeasureRest.minimum-length = #31
  R1
}
  >>
\stopStaff
  }
  \layout { }
}

\new Staff \relative c' {
  c4 b c2
  e4 f e2
  \ossia
  \key a \major
  g4 a g2
  \break
  c4 b c2
}

Cheers,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ossia too long at key change

2014-08-30 Thread Pierre Perol-Schneider
Hi Peter,

2014-08-30 18:42 GMT+02:00 Peter Van Kranenburg <
peter.van.kranenb...@meertens.knaw.nl>:

I can't figure out how to make the ossia stop right at the bar line.
>

No clue right now but here's a workaround :

\context Staff = "ossia" {
\override Staff.StaffSymbol.width = #73.4 % or whatever the right
setting is.
\startStaff
  e4 g8 f e2
\stopStaff
  }

HTH,
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Ossia too long at key change

2014-08-30 Thread Peter Van Kranenburg

Dear List,

If right after an ossia there is a key change in the other parts, the 
staff of the ossia extends with the length of the key signature. See 
below for an example. I can't figure out how to make the ossia stop 
right at the bar line.


I tried to do \set Staff.explicitKeySignatureVisibility = #all-invisible
in the ossia staff, but that didn't work.

Thanks.
Peter


\version "2.18"

<<
  \new Staff = "ossia" \with {
\remove "Time_signature_engraver"
\hide Clef
fontSize = #-3
\override StaffSymbol.staff-space = #(magstep -3)
\override StaffSymbol.thickness = #(magstep -3)
  }
  { \stopStaff s1*6 }

  \new Staff \relative c' {
c4 b c2
<<
  { e4 f e2 }
  \context Staff = "ossia" {
\startStaff e4 g8 f e2 \stopStaff
  }
>>
\key a \major g4 a g2 \break
c4 b c2
  }
>>


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user