Menu

#3701 Problem with ambitus not at the beginning

Accepted
nobody
None
Defect
2015-09-13
2013-12-03
Anonymous
No

Originally created by: *anonymous

Originally created by: *anonymous

Originally created by: RalphBug... (code.google.com)@gmail.com

Patrick wrote :

I reduced your example quite a bit and the problem is still there: \RemoveEmptyStaves does not show any effect in staves containing voices in which the ambitus engraver is added. AFAICS you are right and this is a bug.

:::TeX
\version "2.17.95"
\score {
  <<
    \new Staff {
      R1
     \break
     \new Voice
     % \with { \consists "Ambitus_engraver" } %uncomment this line to see the effect
       \relative { a'4 b c d }
    }
    \new Staff {
      c'1
      \break
      \new Voice \with { \consists "Ambitus_engraver" }
        \relative { a'4 b c d }
    }
  >>

\layout {
  \context {
    \Staff \RemoveEmptyStaves \override VerticalAxisGroup #'remove-first = ##t
    }
  }
}

Discussion

  • Google Importer

    Google Importer - 2013-12-03

    Originally posted by: ColinPKC... (code.google.com)@gmail.com

    Re-labelled per David K

    Labels: -Type-Ugly Type-Defect

     
  • Trevor Daniels

    Trevor Daniels - 2015-09-13
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -6,27 +6,31 @@
    
     I reduced your example quite a bit and the problem is still there: \RemoveEmptyStaves does not show any effect in staves containing voices in which the ambitus engraver is added. AFAICS you are right and this is a bug.
    
    +~~~~
    +:::TeX
     \version "2.17.95"
    -\score \{
    -&nbsp; &lt;&lt;
    -&nbsp;&nbsp;&nbsp; \new Staff \{
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [r1]
    -&nbsp;&nbsp;&nbsp;&nbsp; \break
    -&nbsp;&nbsp;&nbsp;&nbsp; \new Voice
    -&nbsp;&nbsp;&nbsp;&nbsp; % \with \{ \consists "Ambitus\_engraver" \} %uncomment this line to see the effect
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \relative \{ a'4 b c d \}
    -&nbsp;&nbsp;&nbsp; \}
    -&nbsp;&nbsp;&nbsp; \new Staff \{
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c'1
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \break
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \new Voice \with \{ \consists "Ambitus\_engraver" \}
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \relative \{ a'4 b c d \}
    -&nbsp;&nbsp;&nbsp; \}
    -&nbsp; &gt;&gt;
    +\score {
    
    +  <<
    +    \new Staff {
    +      R1
    +     \break
    +     \new Voice
    +     % \with { \consists "Ambitus_engraver" } %uncomment this line to see the effect
    +       \relative { a'4 b c d }
    +    }
    +    \new Staff {
    +      c'1
    +      \break
    +      \new Voice \with { \consists "Ambitus_engraver" }
    +        \relative { a'4 b c d }
    +    }
    +  >>
    
    -\layout \{
    -&nbsp; \context \{
    -&nbsp;&nbsp;&nbsp; \Staff \RemoveEmptyStaves \override VerticalAxisGroup \#'remove-first = \#\#t
    -&nbsp;&nbsp;&nbsp; \}
    -&nbsp; \}
    -\}
    +\layout {
    
    +  \context {
    +    \Staff \RemoveEmptyStaves \override VerticalAxisGroup #'remove-first = ##t
    +    }
    +  }
    +}
    +
    +~~~~
    
    • Needs: -->
    • Patch: -->
     
  • Trevor Daniels

    Trevor Daniels - 2015-09-13
     

Log in to post a comment.

MongoDB Logo MongoDB