lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reset bar numbers?


From: Valentin Villenave
Subject: Re: Reset bar numbers?
Date: Tue, 19 Mar 2019 19:33:46 +0100

On 3/19/19, Guy Melançon <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]