Adding the layout block will number partial bars in brackets.
\version "2.19.83"
\language "english"
\layout {
\context { \Score barNumberVisibility = #all-bar-numbers-visible }
}
\score {
\new Staff {
\clef "treble"
\time 4/4
{
\override BarNumber.break-visibility = ##(#t #t #t)
c''1 2 \bar "||" \break
\key f \major
f'2
f'1 1 \break
1 1
}
}
}
On 12/12/2019 16:39, Rick Kimpel wrote:
Peter
You need an extra #
\override BarNumber.break-visibility = ##(#t #t #t)
But that doesn't do what you're talking about. I had something similar
in a piece with 4/4 + 3/4 time with a dotted barline. I ended up just
manually renumbering the bars numbers with:
\set Score.currentBarNumber
Probably not the solution you're looking for.
------------------------------------------------------------------------
*From:* lilypond-user
<[email protected]> on behalf of
Peter Toye <[email protected]>
*Sent:* Thursday, December 12, 2019 10:04 AM
*To:* [email protected] <[email protected]>
*Subject:* Bar lines within bars inhibit bar numbering
The example below shows the issue. The mid-bar line with a \break does
not show the bar number at the beginning of the next line - I would
expect '2'. A \break at the end of a bar gives the expected result.
Also, the commented out line doesn't compile, and I can't see why, so
can't see if it would make a difference. I cut-and-pasted the vector
from the manual, but that's what the complier seems to be complaining
about.
Regards,
Peter
mailto:[email protected]
www.ptoye.com
\version "2.19.83"
\language "english"
\score {
\new Staff {
\clef "treble"
\time 4/4
{
%\override BarNumber.break-visibility = #(#t #t #t)
c''1 2 \bar "||" \break
\key f \major
f'2
f'1 1 \break
1 1
}
}
}
--
Timothy Lanfear, Bristol, UK.