lilypond-user
[Top][All Lists]
Advanced

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

Re: Hiding staff without hiding bar lines


From: David Kastrup
Subject: Re: Hiding staff without hiding bar lines
Date: Thu, 30 Aug 2012 09:48:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Keith OHara <address@hidden> writes:

> Federico Bruni <fedelogy <at> gmail.com> writes:
>
>> Il 30/08/2012 03:58, Michael Rivers ha scritto:
>> >
>> > I've figured out how to hide clefs, time signatures, bar lines and the
>> > entire staff. My problem is that \stopStaff seems to also hide all bar
>> > lines. Often, this is what I want, but other times I need the bar lines to
>> > be visible. I
>
>> I wouldn't expect that removing the staff lines only removes also the 
>> bar lines:
>> 
>
> The bar line is drawn tall enough to span the staff lines, so we don't want
> to make zero staff lines, but rather make them transparent in this case.
>
> \relative c' { 
>   f4 g a b
>   \stopStaff
>   \override Staff.StaffSymbol #'transparent = ##t
>   \startStaff
>   f4 g a b }

I agree that this is better than removing the stencil as I proposed,
since you still want the stafflines to reserve space.  They probably
would because of other reasons, but "transparent" makes more sense if
the students are supposed to place them manually.

-- 
David Kastrup




reply via email to

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