setbarnb int

Default Command line Scope Available in
nonenoneimmediateabcm2ps
abc2svg

Set the number of the next measure.

When this command appears at the beginning of the tune (after K:), only the 2nd measure will have the new number. It must appear in the tune header to set the first measure.

X:1
M:C
L:1/4
%%setbarnb 10
%%measurenb 1
K:C
cccc | cccc | cccc |
X:1 %%bgcolor white %%leftmargin 1cm %%rightmargin 1cm %%singleline 1 M:C L:1/4 %%setbarnb 10 %%measurenb 1 K:C cccc | cccc | cccc |