Hi,

2012/1/10 Nels Daily <dailymusici...@gmail.com>:
> Could you do this mark with bar numbers instead of letters? I wish I was
> more familiar with the code.
>
> On Mon, Jan 9, 2012 at 2:42 PM, Thomas Morley
> <thomasmorle...@googlemail.com> wrote:
>>
>> Hi,
>>
>> 2012/1/9 Nels <dailymusici...@gmail.com>:
>> > Is it possible for the default rehearsal marks to support rounded-boxes?
>> > I know you can do it manually through \markup.
>> > Any chance of making it a standard default?
>>
>> try:
>>
>> \version "2.14.2"
>>
>> #(define (format-mark-rounded-box-letters mark context)
>>  (make-bold-markup (make-rounded-box-markup (make-markletter-markup
>> (1- mark)))))
>>
>> \relative c' {
>> \set Score.markFormatter = #format-mark-rounded-box-letters
>> c1 \mark \default
>> c1 \mark \default
>> c1 \mark \default
>> c1 \mark \default
>> c1
>> }
>>
>> Cheers,
>>  Harm

please make sure to answer to all!


\version "2.14.2"

#(define (format-mark-rounded-box-letters mark context)
 (make-bold-markup (make-rounded-box-markup (make-markletter-markup
(1- mark)))))

#(define-public (format-mark-rounded-box-numbers mark context)
  (make-bold-markup (make-rounded-box-markup (number->string mark))))

\relative c' {
%\set Score.markFormatter = #format-mark-rounded-box-letters
\set Score.markFormatter = #format-mark-rounded-box-numbers
c1 \mark \default
c1 \mark \default
c1 \mark \default
c1 \mark \default
c1
}

HTH,
  Harm

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

Reply via email to