lilypond-devel
[Top][All Lists]
Advanced

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

improving staff-padding


From: Werner LEMBERG
Subject: improving staff-padding
Date: Tue, 27 Jan 2004 08:49:02 +0100 (CET)

%
% This file shows a problem with the `staff-padding' property in lilypond
% CVS 2004-01-27 07:18 MET.
%
% . `staff-padding' correctly sets the minimum distance to DynamicText
%   and DynamicLineSpanner objects.  As can be seen in the example below,
%   the horizontal axis for the two objects isn't aligned.  I wonder
%   whether another parameter can be introduced to fine-tune this, say,
%
%     \property Voice.DynamicText \override #'staff-padding-pos =
%       #'math-axis
%     \property Voice.DynamicLineSpanner \override #'staff-padding-pos =
%       #'center
%
%   to vertically align DynamicText objects, taking into account the
%   depths of DynamicText objects also.

\version "2.1.15"

\score {
  \notes \relative c' {
\property Voice.DynamicLineSpanner \override #'staff-padding = #1
    c''2-\f c\< c\!
  }

  \paper {
    linewidth = -1
  }
}

% EOF

PNG image


reply via email to

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