lilypond-user
[Top][All Lists]
Advanced

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

Re: Customize \RemoveEmptyStaves


From: Pierre Perol-Schneider
Subject: Re: Customize \RemoveEmptyStaves
Date: Tue, 17 Jul 2018 07:44:19 +0200

Hi Marcos,

How about using tags ?

%%
\version "2.18.2"

music = {
  a1 | b4 a8 g b2 |
  R1 | % no Remove
  a1 | b4 a8 g b2 |
  \tag #'yes R1*2 | % yes Remove
  a1 | b4 a8 g b2 |
  R1 | % no Remove
  f1 |
}

\new Staff \music
\new Staff \removeWithTag #'yes \music

%%

2018-07-17 7:06 GMT+02:00 Helge Kruse <address@hidden>:
Marcos Press <address@hidden> schrieb am Di., 17. Juli 2018, 02:58:
Is there any way to set RemoveEmptyStaves just for SKIP's or when the rest/skip is larger than 1 (one) bar?

{
a1 | b4 a8 g b2 |
R1 | % no Remove
a1 | b4 a8 g b2 |
R1*2 | % yes Remove
a1 | b4 a8 g b2 |
R1 | % no Remove
f1 |
}

RemoveEmptyStaves is used to remove entire staff lines in a multi staff context. Your example looks as you want to remove individual measures. Why should Lilypond do this?

Regards, Helge


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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