Replace with red dot

2023-10-02 Thread Rajesh Baskar
Hi, Can someone please help me? I'm trying to hide the notes and display a red dot in the middle. This below should have only 2 measure but it prints 3 and there are some errors. Thanks, Raj \version "2.22.0" \language english boxify = #(define-music-function (grob-path) (key-list?) (define

Re: \markup text outside Lyrics - how?

2023-10-02 Thread Mats Bengtsson
Why not use text marks, http://lilypond.org/doc/v2.25/Documentation/notation/text-marks ? They are intended exactly for textual indications that should appear at the top of each system, i.e. above the lyrics in your case.    /Mats On 2023-10-02

Re: Overwrite key signature with numbers

2023-10-02 Thread David Kastrup
Valentin Petzel writes: > Hi Robert, > > you could do it like this: > > \version "2.23.6" > > \layout { > \context { > \Staff > \override KeySignature.text = > #(lambda (grob) >(let* ((alt (ly:grob-property grob 'alteration-alist)) > (alts (map cdr alt)) >

Re: Overwrite key signature with numbers

2023-10-02 Thread Valentin Petzel
Hi Robert, you could do it like this: \version "2.23.6" \layout { \context { \Staff \override KeySignature.text = #(lambda (grob) (let* ((alt (ly:grob-property grob 'alteration-alist)) (alts (map cdr alt)) (tot (* 2 (apply + alts)))

Overwrite key signature with numbers

2023-10-02 Thread Robert Mengual
Hi, I am trying to overwrite the key signature for my custom music notation so that instead of displaying the sharp and flat icons, it shows a given number and the alteration. So, for example, E Major would show 4# instead of . I have been able to get the desired output by hardcodeing it

Re: \markup text outside Lyrics - how?

2023-10-02 Thread Michael Gerdau
[moving instructional text above notes and outside of lyrics] you could create a Dynamics context before the staff containing the markup. Thanks Valentin, that works like a charm :) Kind regards, Michael -- Michael Gerdau email: m...@qata.de GPG-keys available on request or at public