Status: Accepted
Owner: v.villenave
CC: Carl.D.Sorensen
Labels: Type-Enhancement Priority-Medium Usability

New issue 918 by v.villenave: Enhancement: \RemoveEmpty*StaffContext for all appropriate contexts
http://code.google.com/p/lilypond/issues/detail?id=918

%% There are currently shortcuts for \RemoveEmptyStaffContext and
%% \RemoveEmptyRhythmicStaffContext, but not for other contexts such as
%% DrumStaff or TabStaff.

\version "2.13.8"

nul = { R1*4 \break }

\layout {
  \context {
    \RemoveEmptyStaffContext % exists
  }
  \context {
    \RemoveEmptyRhythmicStaffContext % exists
  \context {
   % \RemoveEmptyDrumStaffContext  % doesn't exist
  }
  \context {
   % \RemoveEmptyTabStaffContext % doesn't either.
  }
}

\score {<<
  \new Staff {
    c''1 c'' c'' c'' \break |
    \nul c''
  }
  \new RhythmicStaff {
    c''1 c'' c'' c'' \break |
    \nul c''1
  }
  \new DrumStaff \drummode {
    tomml1 tomml tomml tomml \break |
    \nul tomml
  }
  \new TabStaff {
    c'1 c c c \break |
    \nul c'1
  }
}

% A task for a Frog, perhaps? :)

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


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

Reply via email to