lilypond-user
[Top][All Lists]
Advanced

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

Re: Clef change at the beginning of a staff


From: Noeck
Subject: Re: Clef change at the beginning of a staff
Date: Fri, 31 Oct 2014 12:56:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

That's also good. I thought the grace note causes problems if it is
different in different staves but this also works:

\version "2.18.2"

<<
\relative c'' { c c c c c1 }
\new Staff \relative c' {
  %%  Start with a bass clef :
  \clef bass
  %%  Use a hidden grace note (avoid any wrong calculation):
  \once\hideNotes\grace c64
  %%  Adjust the clef spacing:
  \once\override Staff.Clef.X-extent = #'(1 . 2)
  %%  Put in the treble clef:
  \clef treble
  c4 c c c | c1
}
>>

Cheers,
Joram



reply via email to

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