On 10/24/2018 10:39 AM, David Nalesnik wrote:
On Wed, Oct 24, 2018 at 8:41 AM N. Andrew Walsh
<[email protected]> wrote:
Hi List,

is there any other available format for rehearsal marks? My client wants Roman 
numerals, and the workaround I've been using:

<>^\markup { \raise #4 \right-align \abs-fontsize #16 \bold { "IV" } }

doesn't work if the voice containing it is resting at that point (or, 
conversely, I don't know how to ensure that the \markup is always placed on the 
topmost stave of a system and no others).

Is there a better way to do this? MWE:

Based on my reading of scm/translation.functions.scm, I have no idea
why the following should not work:

\version "2.19.82"

\relative c'' {
   \set Score.markFormatter = #(format-mark-generic '(roman box bold mixedcase))
   c1 \mark \default
   c1 \mark \default
}

-David

_

Hi David,

When I tried your code it just gave me an error:

\set Score.markFormatter = #

(format-mark-generic '(roman box bold mixedcase))


Interpreting music...

warning: type check for `markFormatter' failed; value `#<unspecified>' must be of type `procedure'

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

Reply via email to