Printing bar numbers for broken measures: Difference between revisions
Appearance
No edit summary |
m New category |
||
| Line 25: | Line 25: | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Revision as of 23:36, 21 November 2025
By default a BarNumber of a broken measure is not repeated at the beginning of the new line. Use first-bar-number-invisible-save-broken-bars for barNumberVisibility to get a parenthesized BarNumber there.
\version "2.24"
\layout {
\context {
\Score
barNumberVisibility = #first-bar-number-invisible-save-broken-bars
\override BarNumber.break-visibility = ##(#f #t #t)
}
}
\relative c' {
c1 | d | e | f2 \bar "" \break
fis | g1 | e2 \bar "" \break
<>^"reenabled default"
% back to default -
% \unset Score.barNumberVisibility would do so as well
\set Score.barNumberVisibility =
#first-bar-number-invisible-and-no-parenthesized-bar-numbers
es | d1 | c
}
\paper { tagline = ##f }