lilypond-user
[Top][All Lists]
Advanced

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

RE: Keeping ossia staves away from SystemStartBar


From: Trevor Daniels
Subject: RE: Keeping ossia staves away from SystemStartBar
Date: Sun, 3 Feb 2008 21:57:32 -0000

Hi Michael

I don't know a regular way of doing this, but here's
a hack which might get you going.  It's a way of
fooling LilyPond into thinking the standard staff has
continued after the break.  Pinch, say, a tenth of the
first note value after the break and introduce a spacer
note of that tenth, leaving the first note of the ossia
and the first note of the standard staff to be 9/10s.
That keeps the bar timing right, and has little effect
on the note spacing or MIDI.

Like this:

\version "2.11.34"
\paper {
  ragged-right = ##t
}

\new Staff ="main" {
  \relative g' {
    r4 g8 g c4 c8 d | \break
    s8*1/10
    <<
      { f8*9/10 c8 c }
      \new Staff \with {
        alignAboveContext = "main"
        \override Clef #'stencil = ##f
        \override TimeSignature #'stencil = ##f
        fontSize = #-2
        \override StaffSymbol #'staff-space = #(magstep -2)
      }
      {
        f8*9/10 f8 c }
    >>
    r8 r4 r |
  }
}

> -----Original Message-----
> From: address@hidden
> [mailto:lilypond-user-bounces+t.daniels=treda.co.u
> address@hidden Behalf Of
> Michael Käppler
> Sent: 01 February 2008 20:46
> To: address@hidden
> Subject: Keeping ossia staves away from SystemStartBar
>
>
> Hi all,
> I appreciate LilyPond's possibility for creating
> ossia staves much. It
> remains a small problem: If the staff occurs
> after a line break, it is
> connected with the other staves and bar numbers
> are printed above the
> ossia staff.
> Is there a way to prevent this?
>
> Kind regards,
> Michael
>
>
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>






reply via email to

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