[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accidental style in presence of mid-bar line breaks.
From: |
Richard Shann |
Subject: |
Re: Accidental style in presence of mid-bar line breaks. |
Date: |
Thu, 28 Jun 2018 09:09:38 +0100 |
On Wed, 2018-06-27 at 17:00 +0200, Simon Albrecht wrote:
> On 26.06.2018 09:11, Richard Shann wrote:
> > In this connection, I noticed that LilyPond skips printing the bar
> > number at the beginning of each line if the bar is being split over
> > a
> > line.
>
> That’s configurable:
>
> %%%%%%%%%%%%%%%%%%%%%%%
> \version "2.19.80"
>
> \layout {
> \context {
> \Score
> barNumberVisibility = #(every-nth-bar-number-visible 1)
> \override BarNumber.break-visibility = #begin-of-line-visible
> }
> }
>
> {
> 1 2 \bar "" \break 2
> }
> %%%%%%%%%%%%%%%%%%%%%%%
>
Thanks - that's useful, I've added it to Denemo's "Allow breaks at half
bar" command. It also suggests that if I look for where the
parenthesized measure numbers are generated in LilyPond's sources I
might be able to trigger a warning to the user that a bar has been
broken, and they (or Denemo) can look for possible repeat accidentals
to add.
Richard