Dear all,

At
https://lilypond.org/doc/v2.25/Documentation/changes/major-changes-in-lilypond
I have read:

The distances between clefs and time signatures, together with the
> distances between clefs and key signatures, are now calculated differently.
> As a consequence, you will get better spacing for extra-wide clefs (like \clef
> "GG") or extra-slim clefs (like \clef "petrucci-c3").


Today I saw some bad (too wide) spacing when an extra-slim clef is used in
a score with no time signature. Please see the attached image.

I think I’ve found a solution (see the code below). Is this a good approach?

Gabriel

%%%  SNIPPET BEGINS

\version "2.27.1"

music = {
  \clef "vaticana-do2"
  g
}

\markup { Default spacing in version 2.27
  with extra-slim Vaticana clef:
}
\score {
  \music
}

\markup { With no time signature,
  there is too much space:
}
\score {
  \music
  \layout {
    \omit Score.TimeSignature
  }
}

\markup { My attempted solution
  (this looks right):
}
\score {
  \music
  \layout {
    \omit Score.TimeSignature



*    \override Staff.Clef.      space-alist.first-note =
#'(minimum-space . 2)*      % ^ The default listed at
      % https://lilypond.org/doc/v2.27/Documentation/internals/clef
      % is (minimum-fixed-space . 5.0)
  }
}

%%%  SNIPPET ENDS

Reply via email to