lilypond-user
[Top][All Lists]
Advanced

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

Re: Key signature in ossia?


From: Mats Bengtsson
Subject: Re: Key signature in ossia?
Date: Thu, 12 Feb 2009 13:18:43 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

How do you normally specify the key signature for a stave? Certainly not within a \with{...}, right?
Just insert the \key e \minor before the first note:


        ...
        \new Staff \with { ... }
        { \key e \minor e4 d f e }
        ...


  /Mats

Nick Payne wrote:
How can I add a key signature to an ossia stave? In the example below, I get
an error if I uncomment either of the key signature lines in the ossia
staff.

%===========================================
\version "2.12.2"

\new Staff = main \relative c'' {
        \key e \minor
        c4 b d c
        <<
        { c4 b d c }
        \new Staff \with {
%               \set Staff.keySignature = #`(((1 . 3) . ,SHARP))        
%               \key e \minor
                \remove "Time_signature_engraver"
                fontSize = #-3
                \override StaffSymbol #'staff-space = #(magstep -3)
                \override StaffSymbol #'thickness = #(magstep -3)
        }
        { e4 d f e }
        >>
        c4 b c2
}
%===========================================

Nick Payne



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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