lilypond-user
[Top][All Lists]
Advanced

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

RE: Too high measure numbers with ossia staff


From: Mark Stephen Mrotek
Subject: RE: Too high measure numbers with ossia staff
Date: Sat, 22 Oct 2022 10:13:49 -0700

Erika,

 

Is the \break necessary?

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces@gnu.org] On Behalf Of Erika Pirnes
Sent: Friday, October 21, 2022 12:54 PM
To: lilypond-user@gnu.org
Subject: Too high measure numbers with ossia staff

 

Hi,

 

I just learned how to use the ossia staff. And I'm quite happy with the results, except it seems that the measure numbers follow the hidden ossia staff instead of the first visible staff. Can anyone think of a nice way to move the measure numbers down? Below is a modified version of the example in the documentation.

 

\version "2.18.2"

 

oss = \markup {\raise #1 "ossia" }

 

music = \relative c' {

    <<

      { c4 b c2 }

      \context Staff = "ossia" {

        \stopStaff s1

      }

    >>

   

    <<

      { e4 f e2 }

      \context Staff = "ossia" {

        \startStaff e4^\oss g8 f e2 \stopStaff

      }

    >>

    g4 a g2 \break

    c4 b c2

    <<

      { g4 a g2 }

      \context Staff = "ossia" {

        \startStaff g4^\oss e8 f g2 \stopStaff

      }

    >>

    e4 d c2

  }

 

\score{

<< 

  \new Staff = "ossia" \with {

    \remove "Time_signature_engraver"

    \hide Clef

    fontSize = #-3

    \override StaffSymbol.staff-space = #(magstep -3)

    \override StaffSymbol.thickness = #(magstep -3)

  }

  \new Staff <<\music>>

>> 

}

 

 

Thanks in advance!

Erika

 

 


reply via email to

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