Keith OHara <[email protected]> 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


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to