[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LSR clef change at beginning of the piece
From: |
Simon Albrecht |
Subject: |
LSR clef change at beginning of the piece |
Date: |
Fri, 7 Sep 2018 03:17:11 +0200 |
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
%% 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
- LSR clef change at beginning of the piece,
Simon Albrecht <=