lilypond-devel
[Top][All Lists]
Advanced

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

Re: right bearing of meter signs


From: Mats Bengtsson
Subject: Re: right bearing of meter signs
Date: Wed, 14 Jan 2004 11:09:40 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007



Han-Wen Nienhuys wrote:
address@hidden writes:

A quite serious problem with LilyPond in situations where the
available horizontal space is quite small: The right bearing of meter
signs appears to be fixed and thus much too big (see attached image).
IMHO, it should become smaller in such situations.  Looking into the
feta-nummer fonts I see that the glyphs already have zero right
bearing.  So my question is how can I control this?  Ideally, LilyPond
should do this automatically...


try the space-alist property of TimeSignature, and add

    (next-note . (semi-fixed-space AMOUNT))

Or somesuch; check the define-grobs.scm for examples. This is what
BarLine has:

                        (first-note . (fixed-space . 1.3))
                        (next-note . (semi-fixed-space . 1.3))

I just tried several versions of this and didn't notice any difference
whatever parameters I set for the spacings:

\score {
  \notes \relative c' {
    \key g \major
    c d e f }
  \paper {  raggedright= ##t
    \translator{
      \VoiceContext
TimeSignature \override #'space-alist = #'((first-note extra-space . 10.0) (next-note semi-fixed-space . 10.0) (right-edge extra-space . 0.5) (staff-bar minimum-space . 2.0))
     }
  }
        
}

What did I mis?


   /Mats





reply via email to

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