lilypond-user
[Top][All Lists]
Advanced

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

Re: Setting the number for \mark \default


From: Robin Bannister
Subject: Re: Setting the number for \mark \default
Date: Mon, 14 Nov 2016 15:58:18 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Mojca Miklavec wrote:

Is there a way to just set the counter without printing the mark
itself? (I would like to set the counter at the beginning of Coda and
then use \markDefault where appropriate just like everywhere else.)

Documentation points to
    http://lilypond.org/doc/v2.19/Documentation/internals/rehearsalmark
but I don't see any obvious way to set the number.


This links to 3.1.89 RehearsalMark which says:
> RehearsalMark objects are created by: Mark_engraver.
That links to 2.2.66 Mark_engraver which says:
>  rehearsalMark (integer)  The last rehearsal mark printed.


You can see an example regarding this in the regression tests.
Searching for 'The mark may be set with' takes you to
  rehearsal-mark-letter.ly
which shows setting to #24 without triggering a \mark,
the next \mark \default uses #25, producing 'Y'.


Cheers,
Robin





reply via email to

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