lilypond-devel
[Top][All Lists]
Advanced

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

wrong stem lengths for smaller sized staffs


From: Werner LEMBERG
Subject: wrong stem lengths for smaller sized staffs
Date: Mon, 26 Jan 2004 22:23:40 +0100 (CET)

I've extended my test file.  Please have a look at the last two beats.


    Werner

======================================================================

%
% This file shows problems with staves having different sizes in lilypond
% CVS 2004-01-21 07:19 MET.
%
% . There should be a mechanism to give the staff size in a \with {...}
%   block with a single command, covering all parameters.  Perhaps a
%   new `set-staff-size' scheme function?
%
% . Current documentation says that changing the `fontSize' and
%   `StaffSymbol' properties is sufficient.  Unfortunately, it is not:
%
%   1. Stems under beams have wrong lengths sometimes.
%
%   2. Dynamics have a different relative size.
%
%   3. I'm not sure whether the thickness of staff lines really should be
%      the same in both the bigger and the smaller staff.  Thicker than
%      normal is correct, but that thick?  The problem is that the
%      thickness of beams must be smaller; this reduces the contrast
%      between beams and staff lines.
%
%   4. A similar problem for stems.  The stem thickness is too big IMHO
%      compared to note heads.

\version "2.1.13"

\score {
  <<
    \new Staff \with {
%     #(set-staff-size 5)
      fontSize = #-4
      StaffSymbol \set #'staff-space = #(magstep -4)
    }
    \notes \relative c' {
\property Voice.DynamicText \set #'extra-offset = #'(0 . 3)
      s1-\f |
      c''8[(\< r a g]) e[ r d( <f a>])\! |
      \times 2/3 { d4 d d } c8[ b a g]
    }
    \new Staff
    \notes \relative c' {
\property Voice.DynamicText \set #'extra-offset = #'(0 . 3)
      s1-\f |
      c''8[(\< r a g]) e[ r d( <f a>])\! |
      \times 2/3 { d4 d d } c8[ b a g]
    }
  >>

  \paper {
    #(paper-set-staff-size 6)
    linewidth = -1
  }
}

% EOF

PNG image


reply via email to

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