Hi Jay,

On Thu, Feb 23, 2012 at 8:11 PM, Jay Hamilton <i...@soundand.com> 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
>

Add a spacer grace rest to the above line to match the grace note in the
other voice and you should get the result you want:

\grace s8 <d, fis a c>1\sustainOn ~ <d fis a c>2.\sustainOff  r4

HTH,
David
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to