On 10/24/2018 9:40 AM, N. Andrew Walsh 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:

\version "2.19.80"

\relative c'' {
  a1
  | %2
  <>^\markup { \right-align \abs-fontsize #16 \bold { "IV" } }
  a
  | %3
  b
}

Cheers,

A


Not sure why my code got messed up in my previous email but here's a snapshot showing the "@" correctly, sorry about that. Must have thought I was sending an email address...


\version "2.19.82"

\relative c' {
  \set Score.markFormatter = #(lambda (mark context) (fancy-format #f "~@r."
mark))

  \mark \default
  a b c d

  \mark \default
  a b c d

  \mark \default
  a b c d

  \mark \default
  a b c d

  \mark \default
  a b c d

  \mark \default
  a b c d
}


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to