ragged-right = ##t
}
-\context Voice {
- \relative c' {
- e'4-. f-. g-. d-. c-. b-.
- \stemDown
- e,-. d-. c-. b-. a-. g-.
+{
+ \new Voice \relative c'' {
+ \voiceOne
+ g8-. a-. b-. c-.
+ a-. b-. c-. d-.
+ b8[-. a-. g b]
+ e,-. f-. g-. a-.
+ e-. g-. b-. d-.
+ }
+ \context Voice {
+ \relative c' {
+ e'4-. f-. g-. d-. c-. b-.
+ \stemDown
+ e,-. d-. c-. b-. a-. g-.
+ }
+ \relative c'' {
+ \stemUp
+ d-> c-> b-> a-> g-> f-> e-> d->
+ d'
+ d-. c-. b-. a-. g-. f-. e-. d-.
+ }
}
- \relative c'' {
- \stemUp
- d-> c-> b-> a-> g-> f-> e-> d->
- d'
- d-. c-. b-. a-. g-. f-. e-. d-.
- }
}
Real rounded = directed_round (position, dir);
Grob *head = me->get_parent (X_AXIS);
- if (fabs (position) <= 2 * Staff_symbol_referencer::staff_radius (me) + 1
+ if (fabs (position) <= 2 * Staff_symbol_referencer::staff_radius (me) + 1
+ /* In case of a ledger lines, quantize even if we're outside the staff. */
|| (Note_head::has_interface (head)
- && sign (Staff_symbol_referencer::get_position (head)) == - dir))
+
+ && abs (Staff_symbol_referencer::get_position (head)) > position))
{
o += (rounded - position) * 0.5 * ss;
if (Staff_symbol_referencer::on_line (me, int (rounded)))