lilypond-user
[Top][All Lists]
Advanced

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

Re: Remove empty staves but one.


From: David Kastrup
Subject: Re: Remove empty staves but one.
Date: Sun, 01 Nov 2015 19:08:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

preid <address@hidden> writes:

> Dear list, 
>
> I'm working on a stage musical type score in which the last few bars contain
> only spoken text over rests.  I am using this code :
>
>   \layout {
>     \context {
>       \Staff
>       \RemoveEmptyStaves
>       % To use the setting globally, uncomment the following line:
>       \override VerticalAxisGroup #'remove-first = ##t
>     }     
> }
> \version "2.18.2"
>
> I'm using this code within \score to display my spoken text as recommended
> in the fine manual.
>       \override LyricText.font-shape = #'italic
>       \override LyricText.self-alignment-X = #LEFT
>
> Everything works great except that the last staves are hidden since they
> contain only rests, and the spoken text floats in the void. Is there a way
> of overriding RemoveEmptyStaves temporarily, perhaps by forcing a bar rest
> to appear for instance.  
>
> I've done lots of searching and up to now I've always found solutions to my
> problems but this one has got me stumped.
>
> Thanks in advance, 
> Peter
>
> PS. Thanks to everyone who contributes to Lilypond I'm really enjoying using
> it and I really appreciate all the hard work that goes into it.

\set Staff.remove-empty = ##f maybe?

-- 
David Kastrup



reply via email to

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