lilypond-user
[Top][All Lists]
Advanced

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

Re: Creating two-staved ossia


From: Pierre Perol-Schneider
Subject: Re: Creating two-staved ossia
Date: Tue, 30 Jul 2019 12:18:10 +0200

Sorry, 'forgot the list.

Le mar. 30 juil. 2019 à 12:06, Pierre Perol-Schneider <address@hidden> a écrit :
Hi Nikolai,
To create an ossia, please see: http://lsr.di.unimi.it/LSR/Search?q=ossia
(Some other examples in the documentation).
Anyway, how about:

\version "2.19.83"

%% See: http://lilypond.1069038.n5.nabble.com/magnifyStaff-and-key-signature-padding-td222389.html
scaleStaff = #(define-music-function (scaleFac) (number?)
   #{
     \magnifyStaff #scaleFac
     \override KeySignature.padding = #(* 2/3 (- 1 scaleFac))
   #})


\new StaffGroup \with {
  \override SpanBar.glyph-name = "!"
  \remove "System_start_delimiter_engraver"

  } <<
    \new GrandStaff <<
        \new Staff \with {
          \RemoveEmptyStaves
          \omit TimeSignature
          \override BarLine.allow-span-bar = ##f
          \scaleStaff #5/7
        } { \key c\minor s1*2 e''1 e'' }
        \new Staff \with {
          \RemoveEmptyStaves
          \omit TimeSignature
          \scaleStaff #5/7
        } { \key c\minor s1*2 f''1 f'' }
    >>
    \new GrandStaff \with { \override BarLine.allow-span-bar = ##f
 } <<
      \new Staff \with { \omit TimeSignature } { \key c\minor \clef F c1 c \break d d \break g g }
      \new Staff \with { \omit TimeSignature } { \key c\minor \clef F  a a b b c' c' }
    >>
  >>

\layout {
  indent = 0
  \context {
    \Staff
    \override VerticalAxisGroup.remove-first = ##t
  }
}

Cheers,
Pierre

Le lun. 29 juil. 2019 à 22:05, Nikolai Ho via lilypond-user <address@hidden> a écrit :
How can I create an ossia in lilypond with two staves (for piano). I want the ossia to be smaller in size than the regular music and if possible have the dotted line connecting it to the actual music exactly as shown in the attached image (Liszt-Reminiscences de Norma for reference). Thank you very much._______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

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