"Ole V. Villumsen" <o...@villumsen.name> wrote in message news:loom.20120131t13151...@post.gmane.org...
I'm not top posting.

Cues are often used at or near the beginning of a piece. Furthermore, a cue is frequently in a different clef, so the \cueDuringWithClef command is handy.
However, using this command at the beginning of a piece conflicts with
displaying ambitus: The ambitus is displayed using the cue's clef. This is
confusing, as you can see in the example (I will upload an image). The example
uses this source:

\version "2.14.2"

\addQuote "other" \relative c { r4 c e g }

\new Staff \new Voice \relative c'
{
 \cueDuringWithClef #"other" #UP #"bass" { R1 } |
 e4 b c2
}

\layout {
 \context {
   \Voice
   \consists "Ambitus_engraver"
 }
}

A possible workaround is to shorten the cue so it doesn't include the first note
of the piece. This circumvents the wrong clef use and hence avoids the
confusion. Results can still be awkward though. Example:

\version "2.14.2"

\addQuote "other" \relative c { r4 c e g }

\new Staff \new Voice \relative c'
{
 r4
 \cueDuringWithClef #"other" #UP #"bass" { r4 r2 } |
 e4 b c2
}

\layout {
 \context {
   \Voice
   \consists "Ambitus_engraver"
 }
}

/Ole

Added as http://code.google.com/p/lilypond/issues/detail?id=2269


--
Phil Holmes
Bug Squad




_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to