gnu-music-discuss
[Top][All Lists]
Advanced

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

Re: How do I get a clef after a barline


From: Han-Wen Nienhuys
Subject: Re: How do I get a clef after a barline
Date: Sun, 17 Dec 2000 14:13:54 +0100

address@hidden writes:
> \property Score.breakAlignOrder = #'(
>                 Span_bar
>                 Breathing_sign
>                 Staff_bar
>                 Clef_item
>                 Key_item
>                 Time_signature
>               )
> 
> However, when I use it in the attached file, I get the first two
> symbols (c clef and time signature) off the staff.  Am I doing
> something wrong, 


Yes, you forgot to put left_edge_item in. Try this:


voicedefault = \notes {
\property Score.breakAlignOrder = #'(
                                Left_edge_item
                  Span_bar
                  Breathing_sign
                  Staff_bar
                  Clef_item
                  Key_item
                  Time_signature
                )
\property Staff.noAutoBeaming = ##t
\property Score.defaultBarType="empty"
%incipit
\property Voice.NoteHead \override #'style = #'mensural
\clef "soprano";
    \property Staff.TimeSignature \override #'style = #'C
\time 4/4;
b'1
\bar "||";
\property Voice.NoteHead \override #'style = #'baroque
\property Voice.NoteHead \override #'font-relative-size = #-1
\property Voice.Stem \override #'font-relative-size = #-1
\clef treble;
\property Voice.Stem \override #'transparent = ##t
<g'4 g''4>

\property Voice.NoteHead \revert #'font-relative-size
\property Voice.Stem \revert #'font-relative-size
\property Voice.Stem \override #'transparent = ##f
\bar "||";
\property Staff.clefGlyph = #"clefs-G"
\property Staff.clefPosition = #-1
 \key c \major;
 \time 4/4; % 1
     b'1    b'2    d''4    c''2    b'4    a'2    b'2    r4   d''4
d''4
}

\score{
        \notes <
        \context Staff="default"
        {
            \$voicedefault
        }
    >
}


-- 

Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/




reply via email to

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