bug-lilypond
[Top][All Lists]
Advanced

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

Re: Ossia staff is too long when a key change happend


From: David Kastrup
Subject: Re: Ossia staff is too long when a key change happend
Date: Sun, 31 Aug 2014 12:24:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Pierre Perol-Schneider <address@hidden> writes:

>>I'm not top posting
>
> Hi Squad,
>
> See enclosed bug with two possible workarounds.
> Cheers,
> Pierre

Here is another:

\version "2.19"

\markup\italic "Ossia staff's too long at key change:"

\new Staff = "main" \relative c'' {
  c4 b d c
  <<
    { c4 b d c }
    \new Staff \with {
      \omit TimeSignature
      alignAboveContext = #"main"
      \magnifyStaff #2/3
      firstClef = ##f
    }
    { e4 d f e }
  >>
  \key a\major
  c4 b c2
}

\markup\italic "This is almost a fix"
\new Staff = "main" \relative c'' {
  c4 b d c
  <<
    { c4 b d c }
    \new Staff \with {
      \omit TimeSignature
      alignAboveContext = #"main"
      \magnifyStaff #2/3
      firstClef = ##f
    }
    { e4 d f e \grace { \stopStaff s } }
  >>
  \key a\major
  c4 b c2
}

However, it affects spacing somewhat curiously if you compare with the
original.

Maybe one should replace \magnifyStaff and check whether the artifacts
in either version have a longer history or not.

-- 
David Kastrup




reply via email to

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