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:18:47 +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:

%%%%%%%%%%%%%
\relative c' {
  \key b \major
  %%  Start with a bass clef :
  \clef bass
  %%  Use a grace-timed spacer:
  \grace s64
The above duration is irrelevant and may be omitted.
  %% Adjust the clef spacing:
  \once\override Staff.Clef.extra-offset = #'(3 . 0)
  %\once\override Staff.Clef.X-extent = #'(0 . 0)
  %%  Put in the treble clef:
  \clef treble
  \once\override NoteColumn.X-offset = 5
  c4 c c c | c1
}
%%%%%%%%%%%%%%

#792 uses a more sophisticated approach, which is good, but it has the major disadvantage that any key signature will be displayed according to the wrong clef. That limitation should probably be pointed out in the snippet’s description.

Best, Simon


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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