Menu

#4157 Space left unnecessarily for key signatures on 'frenched' lines

Accepted
nobody
None
Defect
2015-09-10
2014-10-07
Anonymous
No

Originally created by: *anonymous

Originally created by: k-ohara5...@oco.net

Probably, upon removing empty lines, LilyPond could recompute the extents of the columns that bound those lines, but so far she allows space as if prefatory matter on the removed line were still present.

:::TeX
<< \new Staff << {
      c''1 \break
      c''2. \break
      c''1 } >>
\new Staff \with { \RemoveEmptyStaves } << {
      \clef bass \key d \major
      d1 \break
      \time 3/4 R2.
      \key f \major
      \time 4/4 R1 } >> >>

slightly related to issue 448

1 Attachments

Related

Issues: #4263
Issues: #448

Discussion

  • Google Importer

    Google Importer - 2014-10-07

    Originally posted by: lemzw...@googlemail.com

    Hmm.  It looks like a bug to me that there are staves removed at all.  I consider key changes as something that should stay visible even if there is no music – there *is* something happening on that staff.

    At least I can imagine to make this configurable...

     
  • Google Importer

    Google Importer - 2014-10-07

    Originally posted by: dak@gnu.org

    Regarding comment #1: it is configurable.  That's what keepAliveInterfaces is for.  I don't think it makes much sense to keep staves of silent instruments around just for key changes, though.  In instrument sheets, full-bar rests will be used instead of removal.  This is for partitura and summary score sheets where the timing is discernible from other staves.  So will be the key signature if it is common to all instruments.  And if it isn't, I don't see the point in saying "The oboe now changes its silence to the key of A major as opposed to the violin which is mute in D major."

     
  • Google Importer

    Google Importer - 2015-07-20

    Originally posted by: simon.al...@mail.de

    (No comment was entered for this change.)

    Mergedinto: 1956
    Status: Duplicate

     
  • Google Importer

    Google Importer - 2015-07-20

    Originally posted by: k-ohara5...@oco.net

    Issue 1963 has been merged into this issue.

     

    Related

    Issues: #1963

  • Google Importer

    Google Importer - 2015-07-20

    Originally posted by: k-ohara5...@oco.net

    (No comment was entered for this change.)

    Mergedinto:
    Status: Accepted

     
  • Google Importer

    Google Importer - 2015-07-21

    Originally posted by: simon.al...@mail.de

    You’re right of course. I got confused somehow, sorry for the mess.

     
  • Trevor Daniels

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

    Diff:

    --- old
    +++ new
    @@ -4,15 +4,18 @@
    
     Probably, upon removing empty lines, LilyPond could recompute the extents of the columns that bound those lines, but so far she allows space as if prefatory matter on the removed line were still present.
    
    -&lt;&lt; \new Staff &lt;&lt; \{
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c''1 \break
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c''2. \break
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c''1 \} &gt;&gt;
    -\new Staff \with \{ \RemoveEmptyStaves \} &lt;&lt; \{
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \clef bass \key d \major
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d1 \break
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \time 3/4 [r2].
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \key f \major
    -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \time 4/4 [r1] \} &gt;&gt; &gt;&gt;
    +~~~~
    +:::TeX
    +<< \new Staff << {
    +      c''1 \break
    +      c''2. \break
    +      c''1 } >>
    +\new Staff \with { \RemoveEmptyStaves } << {
    +      \clef bass \key d \major
    +      d1 \break
    +      \time 3/4 R2.
    +      \key f \major
    +      \time 4/4 R1 } >> >>
    +~~~~
    
     slightly related to [issue 448](#448)
    
    • Needs: -->
    • Patch: -->