Lucas,

You can add the Bar_number_engraver to one of the staves, like so: (this will make the second example have two measure numbers)

% --------------------
\version "2.25.18"
song = { \new TabStaff \with { \consists Bar_number_engraver}{ \tabFullNotation
    \time 4/4 \relative c'' {
    \repeat unfold 3 {c4 d e f c4 d e f \break}
    } \break % end relative
    } % end TabStaff
} % end variable
\score { \song \layout { \enablePolymeter } }
\score { \song \layout {} }
% --------------------

This can get tricky, because if you have polymeters enabled and different staves with measures of different lengths in the same system, Lilypond wouldn't know which measures to count.

Thanks,
-William


On 8/13/24 13:11, Lucas Cavalcanti wrote:
\version "2.24.4"
song = { \new TabStaff { \tabFullNotation
     \time 4/4 \relative c'' {
     \repeat unfold 3 {c4 d e f c4 d e f \break}
     } \break % end relative
     } % end TabStaff
} % end variable
\score { \song \layout { \enablePolymeter } }
\score { \song \layout {} }

--
William Rehwinkel (any pronouns)
Juilliard School '26 - Oberlin Conservatory '24
will...@williamrehwinkel.net - https://williamrehwinkel.net
PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to