lilypond-devel
[Top][All Lists]
Advanced

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

Re: Does the center of the staff need to be zero?


From: Kevin Dalley
Subject: Re: Does the center of the staff need to be zero?
Date: Mon, 19 Mar 2007 15:04:04 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)

Juergen Reuter <address@hidden> writes:

> You are right, but this is not the issue I was trying to point out.
> The problem is neither of musical nor notational kind, but of
> typographical kind.  Maybe I should have chosen the bass clef as a
> more evident example:
>
> No, unfortunately, the clefPosition property does not help here at
> all, since it shifts the clef by an integer multiple of staffline
> space, while, in the case of an even number of stafflines, it would
> need to be shifted by an odd integer multiple of half a staffline
> space.
>
> In other words, a clef is typographical designed to be always aligned
> with a staffline, but not to be aligned with the space between two
> stafflines. The only exception that I know of is the drum clef, which
> is typically always centered, regardless of the number of stafflines.
>
> Greetings,
> Juergen

I'm not quite sure that I understand the issue, but I'm coming
closing.  Could you try something like the example included below.
There may be a cleaner way of coming up with this solution, but I
moved the F clef to 1 staff line below the top staff line, and put
middle C on the first ledger line about the staff.  As I said, it
looks a bit ugly, and there is probably a better way of writing it,
but it does seem to work.

If you move the F note to a space, shouldn't the F clef follow it?  It
looks odd, but the standards for staff lines with different numbers of
lines is not clear.

\version "2.10"

notes = {
  \time 4/4
  c1
  d
  e1 f1 g a1
  b c'
}

\new Staff \with {
  middleCPosition = #6
  clefPosition = #2
  clefGlyph = #"clefs.F"
}
{
%odd line count
  \override Staff.StaffSymbol #'line-count = 5
  \notes
}
\new Staff \with {
  middleCPosition = #5
  clefPosition = #1
  clefGlyph = #"clefs.F"
}
{
%even line count
  \override Staff.StaffSymbol #'line-count = 4
  \notes
}







reply via email to

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