[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cautionary clef sign doesn't appear
From: |
Robert Schmaus |
Subject: |
Re: cautionary clef sign doesn't appear |
Date: |
Fri, 24 Feb 2012 10:19:28 +0100 |
Hi Jay,
not that I have a proper solution, but if you remove all grace notes
from the upper staff, the problem disappears, i.e. if you mutilate your
upper staff to
upper = \relative c' {
\clef treble
\key g \major
\time 4/4
%\override Staff.TimeSignature #' style = #' ()
%#(set-global-staff-size 20)
r2. d'4
\ottava #1
d8. cis16 d8. e16 d4 (d'8) r8\p |
d8.\mf cis16 d8. e16 d4 (d'8) r8\p |
\ottava #0 \break
d8.\mf cis16 d8. e16 fis8. eis16 fis8. a16
d8. c16 a8. fis16 d4\fermata d'
\bar ".|"
d8.\mf cis16 d8. e16 d4 (g8-.) r8
d8. cis16 d8. e16 d4 (b'8-.) r8
c,4 a'-. \grace a8 (b,4) g'-.
\bar "|."
}
There might be some workaround for this to work wíth the grace notes
back in, but that I haven't figured out. Then again, the grace notes are
still a problem area ...
Best, Robert
On Thu, Feb 23, 2012, at 06:11 PM, Jay Hamilton wrote:
> Usually Lily puts a clef change cautionary sign at the end of a line if
> the
> clef changes at the start of the next line/measure. In the following it
> doesn't and I don't know why it also doesn't change the staff clef at the
> next line. Can someone help or explain what I've done wrong? Thanks.
> line 38 is the culprit
>
> \version "2.14.1"
> \header {
> title = "Souvenirs D' Issoire"
> composer = "Albert Combaud"
> copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
> \center-column
> { Study Purposes only } }
> }
> #(ly:set-option 'delete-intermediate-files #t)
> upper = \relative c' {
> \clef treble
> \key g \major
> \time 4/4
> \override Staff.TimeSignature #' style = #' ()
> #(set-global-staff-size 20)
> r2. d'4
> \ottava #1
> \grace e'8 (d8.) cis16 d8. e16 d4 (d'8) r8\p
> \grace e,8 (d8.\mf) cis16 d8. e16 d4 (d'8) r8\p
> \ottava #0 \break
> \grace e,,,8 (d8.\mf) cis16 d8. e16 fis8. eis16_\markup {\italic ritard}
> fis8. a16
> d8. c16 a8. fis16 d4\fermata d'
> \bar ".|"
> \grace e8_\markup { "Tempo et leggiero"} (d8.\mf) cis16 d8. e16 d4 (g8-.)
> r8
> \grace e8 (d8.) cis16 d8. e16 d4 (b'8-.) r8
> \grace b8 (c,4) a'-. \grace a8 (b,4) g'-.
> \bar "|."
> }
>
> lower = \relative c {
> \clef bass
> \key g \major
> \time 4/4
> \override Staff.TimeSignature #' style = #' ()
> r1
> \clef treble
> <d' fis a c>
> <d g b> \break
> \clef bass
> <d, fis a c>\sustainOn ~ <d fis a c>2.\sustainOff r4
> g,4 <d' g b><d g b> r
> g,4 <d' g b><d g b> r
> }
>
> \score {
> \context PianoStaff
> <<
> \context Staff = upper \upper
> \context Staff = lower \lower
> >>
> \layout { }
> \midi { \tempo 4=42 }
> }
>
>
>
> --
> Jay Hamilton Sound and Silence www.soundand.com 206-328-7694
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>