lilypond-user
[Top][All Lists]
Advanced

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

Re: hide staff.BarLine fails


From: Noeck
Subject: Re: hide staff.BarLine fails
Date: Wed, 8 Feb 2017 17:10:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

Hi Arlin,

which version do you use? You should use the manual that fits your
LilyPond version. \hide and \omit have been introduced around 2.19
(others can be more precise) and your error sounds like you use an older
version than required for this. If you need to use the old version, you
need to set the stencil to false (see below).

If I run your snippet with LilyPond 2.19.50, it does what's expected:
the barlines are hidden except the last one.
You could also add
  \hide Score.SpanBar
and undo it later to remove the bar line between staves.


> \override BarLine #'stencil = ##f

This is just the same as
  \omit BarLine
and it won't work, because you need the right context "Staff":
  \omit Staff.BarLine
or equivalent (also working with older versions):
  \override Staff.BarLine #'stencil = ##f


Cheers,
Joram



reply via email to

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