bug-lilypond
[Top][All Lists]
Advanced

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

shortened ledger lines


From: Mark Polesky
Subject: shortened ledger lines
Date: Sat, 1 Nov 2008 11:16:22 -0700 (PDT)

Hey all,

I don't know if this is a bug or not, but the automatic shortening of 
ledger-lines apparently only works within a single voice context. For 
example, in a polyphonic situation, if two voices meet on a single 
ledger-line note, and only one of them has a forced reminder 
accidental (like "c!"), the ledger-line for the other voice will be
drawn full-length, running too close to the accidental from the first
voice.

This also happens when accidentals are automatically cancelled (with
no reminder accidentals) when accidental-style is set to 'voice.

- Mark
________________________________________________________


\version "2.11.63-1"

\layout { indent = 0 }

\markup "manually forced accidentals:"
\relative {
  << {
    c2^"c" c!^"c!"
  } \\ {
    c!_"c!" c_\markup \concat { \null \lower #1.65 "c" }
  } >>
}

\markup \column {
  "automatic accidentals with "
  "#(set-accidental-style 'voice):"
}
\relative {
  #(set-accidental-style 'voice)
  << {
    cis2^"cis" c^"c"
  } \\ {
    \override TextScript #'staff-padding = #4
    s_"s" c_"c"
  } >>
}


      

Attachment: shortened-ledger-lines.PNG
Description: PNG image


reply via email to

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