lilypond-user
[Top][All Lists]
Advanced

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

Re: sponsorship request: minimum-measure-left-padding


From: Damian leGassick
Subject: Re: sponsorship request: minimum-measure-left-padding
Date: Fri, 11 May 2007 20:06:22 +0100

hi kieren

thanks for those examples

most of my files are less than one page so this'll help - the layout doesn't change that much by the time i've got to adjusting flat-placement...

but i would like it to work better out of the box, i'm sure it used to though, i've only been getting my hands dirty in the last few months

I think so, but currently it's not being given very high priority.

hope that's not true, but consider this a bump

Damian




On 11 May 2007, at 19:38, Kieren MacMillan wrote:

Hi, Damian --

but isn't the collision of (for instance) flats with bar lines a bug/defect?

I think so, but currently it's not being given very high priority... so I thought I'd try to escalate it!  =)

btw, what are the best workarounds without adding spacers?

The two I've been playing with are:
    (1) Adjust the BarLine #'spacing alist: difficult to really understand how each setting interacts (or conflicts) with other properties, so I avoid this.
    (2) Adjust the #'X-extent of the "offending element" (i.e., the one that Lilypond *should* be automatically adjusting): this is definitely easier than (1), and essentially every grob responds to an #'X-extent adjustment, but it's still a lot of manual labour when you're adjusting nearly every measure, and every time the layout changes you need to revisit every single adjustment.

Below is an example of fixing a flat-collision problem using method (2). Although there is (IMO) a problem with every single measure in the default engraving, my favourite is m. 4, where the flat looks like it's part of the key signature...  =\

Hope this helps!
Kieren.
_______________________________

\version "2.11.23"  % Mac OS X 10.4.9
\include "english.ly"

accTooClose = \relative
{
\time 4/4
\key af \major
\repeat "unfold" 32 { <cf' df>8 }
}

accPadded = \relative
{
\time 4/4
\key af \major

\override Accidental #'X-extent = #'(-0.75 . 0.85)
\repeat "unfold" 8 { <cf' df>8 }

\override Accidental #'X-extent = #'(-0.5 . 0.85)
\repeat "unfold" 16 { <cf df>8 }

\override Accidental #'X-extent = #'(-0.95 . 0.85)
\repeat "unfold" 8 { <cf df>8 }
}

\paper
{
    ragged-right = ##t
printallheaders = ##t
}

\score
{
    \accTooClose
\header
{
subtitle = "Default"
}
}

\score
{
    \accPadded
\header
{
subtitle = "Accidental Manually Padded (X-extent)"
}
}


reply via email to

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