lilypond-user
[Top][All Lists]
Advanced

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

Re: key signatures in ossias


From: Bill Mooney
Subject: Re: key signatures in ossias
Date: Wed, 26 Oct 2011 21:40:50 +1300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15

GReetings,
You wrote:-
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I'm currently working on a bit of music with a key signature in the ossia that is not in the main voice. The typesetting is meh due to the large gap to accommodate the key signature. Is there any way to make it such that: a) the key signature is typeset before the arrival of the notes in the ossia?
b) there is no gap to accommodate said key signature?
\version "2.14.0"
{ \repeat unfold 24 d'32
  <<
    { \repeat unfold 40 d'32 }
    \new Staff \with {
      \remove "Time_signature_engraver"
      alignAboveContext = #"main"
      fontSize = #-3
      \override StaffSymbol #'staff-space = #(magstep -3)
      \override StaffSymbol #'thickness = #(magstep -3)
      firstClef = ##f
    }
    { \key cis \major ais4 ais ais ais ais }
  >>
}
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
THe following code is from the NM... with a few minor adjustments

\score {
{
\new Staff = main \relative c'' {
        \key a \major
c4 b d c
<<
{ c4 b d c }
\new Staff \with {
\remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
\override StaffSymbol #'staff-space = #(magstep -2)
\override StaffSymbol #'thickness = #(magstep -2)
firstClef = ##f
}
{ \key b \major
e4 d f e }
>>
c4 b c2
}
}
}
+++++
I used the Gimp to make the attached png file. Is that what you would like to produce?
Unfortunately I don't know how this could be done solely in LP.

Regards
Bill

Attachment: Screenshot-1.png
Description: PNG image


reply via email to

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