Re: Lowering AccidentalSuggestion objects

2011-09-10 Thread Brent Annable
Hey Xavier,

Thanks for the reply. I had a deadline this afternoon so did some
coffee-fuelled research of my own this morning, and came across precisely
that solution. And it worked! Now it looks pretty.

Cheers,

Brent.

On 10 September 2011 13:18, Xavier Scheuer  wrote:

> On 10 September 2011 10:18, Brent Annable  wrote:
> >
> > Hello everyone,
> > Here's a little example of the situation I'm talking about:
> > \score {
> > \new Staff = "Discantus"
> > \new Voice = "Discantus" \relative c'' {
> > \set suggestAccidentals = ##t
> > \override AccidentalSuggestion #'Y-offset = 1
> > g1 g g g g g g g \break
> > g g g g gis \fermata
> > }
> > }
> > Here, with a Y-offset value of 1, the accidental is in the same place as
> it
> > would be if the \override command weren't there. Only when the number is
> > above 5 does the accidental start to move upwards.
>
> Hi,
>
> Add  \override AccidentalSuggestion #'outside-staff-priority = ##f
> to permit the AccidentalSuggestion to be printed inside the staff.
>
> Then you can play with  \override AccidentalSuggestion #'Y-offset = #2
>
> Hope that helps.
>
> Cheers,
> Xavier
>
> --
> Xavier Scheuer 
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lowering AccidentalSuggestion objects

2011-09-10 Thread Xavier Scheuer
On 10 September 2011 10:18, Brent Annable  wrote:
>
> Hello everyone,
> Here's a little example of the situation I'm talking about:
> \score {
> \new Staff = "Discantus"
> \new Voice = "Discantus" \relative c'' {
> \set suggestAccidentals = ##t
> \override AccidentalSuggestion #'Y-offset = 1
> g1 g g g g g g g \break
> g g g g gis \fermata
> }
> }
> Here, with a Y-offset value of 1, the accidental is in the same place as it
> would be if the \override command weren't there. Only when the number is
> above 5 does the accidental start to move upwards.

Hi,

Add  \override AccidentalSuggestion #'outside-staff-priority = ##f
to permit the AccidentalSuggestion to be printed inside the staff.

Then you can play with  \override AccidentalSuggestion #'Y-offset = #2

Hope that helps.

Cheers,
Xavier

-- 
Xavier Scheuer 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lowering AccidentalSuggestion objects

2011-09-10 Thread Brent Annable
Hello everyone,

Here's a little example of the situation I'm talking about:

\score {
\new Staff = "Discantus"
\new Voice = "Discantus" \relative c'' {
\set suggestAccidentals = ##t
\override AccidentalSuggestion #'Y-offset = 1
g1 g g g g g g g \break
g g g g gis \fermata

}
}

Here, with a Y-offset value of 1, the accidental is in the same place as it
would be if the \override command weren't there. Only when the number is
above 5 does the accidental start to move upwards.

Brent.

On 10 September 2011 03:28, Brent Annable  wrote:

> Hi everyone,
>
> Does anyone know how I can tell the AccidentalSuggestion engraver to push
> the accidentals closer to the noteheads (i.e. downwards)? I don't mind if
> they're in the middle of the staff. The purpose of this is to avoid the
> combination of a suggested accidental above the staff and a fermata taking
> up too much space between staves.
>
> I've tried using \override AccidentalSuggestion #'Y-extent = (number), but
> this only seems to push the accidentals upwards, starting from about 5. If
> the number specified is any less than 5, the accidental stays where it is,
> it won't go any closer to the notehead. Negative numbers seem to have no
> effect.
>
> Brent.
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user