lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: Drum staff et \RemoveEmptyStaffContext


From: Xavier Scheuer
Subject: Re: Drum staff et \RemoveEmptyStaffContext
Date: Mon, 30 Nov 2009 13:16:37 +0100

Le Mon, 30 Nov 2009 11:59:59 +0100,
Valentin Villenave <address@hidden> a écrit :

> 2009/11/30 flup <address@hidden>:

> Je peux poster ça, mais j'aurais besoin d'un exemple minimal.

Est-ce que ceci conviendrait (cf. plus bas) ?

Un lien vers
http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00797.html
et le bout de code qui fonctionne devrait faciliter l'implémentation ?


%% \RemoveEmptyDrumStaffContext doesn't exists (and so doesn't work).
%%
%% Could you please implement \RemoveEmptyDrumStaffContext the same way
%% \RemoveEmpty(Rhythmic)StaffContext does?

\version "2.13.8"
\paper{ ragged-right=##t }

\score {
 <<
   \new RhythmicStaff {
     R1*4 | \break
     R1*4 | \break
     c''1
     \bar "|."
   }
   \new DrumStaff \drummode {
     R1*4 | \break
     R1*4 | \break
     tomml1
     \bar "|."
   }
 >>

 \layout {
   \context {
     \RemoveEmptyRhythmicStaffContext  % exists and works
     \override VerticalAxisGroup #'remove-first = ##t
   }
   \context {
     \RemoveEmptyDrumStaffContext  % doesn't exist and doesn't work
     \override VerticalAxisGroup #'remove-first = ##t
   }
 }

}


-- 
Xavier Scheuer <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

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