bug-lilypond
[Top][All Lists]
Advanced

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

Issue 918 in lilypond: Enhancement: \RemoveEmpty*StaffContext for all ap


From: lilypond
Subject: Issue 918 in lilypond: Enhancement: \RemoveEmpty*StaffContext for all appropriate contexts
Date: Mon, 30 Nov 2009 12:49:25 +0000

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




reply via email to

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