lilypond-user
[Top][All Lists]
Advanced

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

Re: Roman Numeral rehearsal marks?


From: N. Andrew Walsh
Subject: Re: Roman Numeral rehearsal marks?
Date: Wed, 6 Mar 2019 11:37:14 +0100

Hi List, 

also on this issue (I still have Roman numerals, which works fine for me): is there a way to format the size/weight of the "\mark \default" character? Mine aren't much larger than regular text markups, and I'd like to have some control over the presentation.

Cheers,

A

On Wed, Oct 24, 2018 at 6:48 PM N. Andrew Walsh <address@hidden> wrote:
PS- update: I figured out the problem, so now it's resolved (and in the process dropped an \include that was loading a whole bunch of libraries I turned out not to need, saving on compile time as well). 

Thanks again!

On Wed, Oct 24, 2018 at 6:39 PM N. Andrew Walsh <address@hidden> wrote:
Hi Thomas, Ben

for some reason, neither of your codes seem to work: I always get arabic numerals in a box if I use \mark \default. I think something is overriding that setting elsewhere in my config files; I'll try to track it down. The MWE Ben sent works just as I want it to on its own, but not in the main document. I'll have to do some digging.

Thanks!

A

On Wed, Oct 24, 2018 at 5:10 PM Thomas Morley <address@hidden> wrote:
Am Mi., 24. Okt. 2018 um 17:02 Uhr schrieb Ben <address@hidden>:

> This should be what you need (see attached)

We do have 'number-format', so one could do:

#(define-public (format-roman-mark-numbers mark context)
  (make-bold-markup (number-format 'roman-upper mark)))

#(define-public (format-boxed-roman-mark-numbers mark context)
  (make-bold-markup (make-box-markup (number-format 'roman-upper mark))))

\layout {
  \context {
    \Score
    markFormatter =
      %#format-roman-mark-numbers
      #format-boxed-roman-mark-numbers
    %% 2.21.0
    %markFormatter = #(format-mark-generic '(roman box bold mixedcase))
  }
}
{
    \mark \default
    R1
    \mark \default
    R1
}

Cheers,
  Harm

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

reply via email to

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