On 3/19/19, Guy Melançon <[email protected]> wrote:
> Numbering bars is pretty straightforward. Now, I find it useful to also
> label parts of a score using letters (I do this using markups).

Greetings,
I assume you know about \mark ? That’s what it’s for:
http://lilypond.org/doc/latest/Documentation/notation/writing-text#text-marks

> What I want to achieve is to reset bar numbering to one when I reach a new
> part.

If I understand correctly, that would be something like :

%%%%%%%%

newSection = {
  \mark \default
  \set Score.currentBarNumber = #1
}

{
  b1 b b b \break
  b b b b \break
  \newSection
  b b b b \break
  b b b \newSection b \break
  b b b b \break
  b b b b
}

%%%%%%

Furthermore, do you happen to know that we have a French-speaking
mailing list? You’re welcome to subscribe there:
https://lists.gnu.org/mailman/listinfo/lilypond-user-fr

Cheers,
V.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to