lilypond-user
[Top][All Lists]
Advanced

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

Re: LSR clef change at beginning of the piece


From: Simon Albrecht
Subject: Re: LSR clef change at beginning of the piece
Date: Fri, 7 Sep 2018 03:26:07 +0200

On 07.09.2018 03:17, Simon Albrecht wrote:
Hello everybody,

here’s two suggestions for the LSR snippets dealing with an initial clef change before the first note of a piece:

#956 <http://lsr.di.unimi.it/LSR/Item?id=956> works with a hidden grace note; this creates an unsightly gap that can be avoided by using a grace-timed spacer rest instead of the hidden note and repositioning clef and first note column thus:

Apologies, there were a number of things wrong with the version that I posted; here’s a better one:

%%%%%%%%%%%%%%%
\relative c' {
  \key b \major
  %%  Start with a bass clef:
  \clef bass
  %%  Use a grace-timed spacer to separate the two clefs:
  %%  (remember to also put this in all other
  %%  parallel music expressions to avoid issue 34!)
  \grace s1
  %%  Adjust the spacing:
  \once\override Staff.Clef.extra-offset = #'(3 . 0)
  \once\override NoteColumn.X-offset = 5
  %%  Switch to treble clef:
  \clef treble
  c4 c c c | c1
}
%%%%%%%%%%%%%%

Best, Simon



reply via email to

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