lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6


From: Jacques Menu
Subject: Re: Lilyjazz font and Score.markFormatter problem with Lily 2.23.6
Date: Fri, 1 Apr 2022 15:53:54 +0200

Hello Knute,

Your example runs here too, giving:


What I’d like is to have the chord names such Em7 in the lilyjazz font too, though.

Thanks if you can help!

JM

Le 1 avr. 2022 à 02:11, Knute Snortum <ksnortum@gmail.com> a écrit :

Any hint why the chord names don’t use the lilyjazz font?


\paper {
#(define fonts
   (set-global-fonts
    #:music "lilyjazz"
    #:brace "lilyjazz"
    #:roman "lilyjazz-text"
    #:sans "lilyjazz-chord"
    #:chords "lilyjazz-chord"

You don't need all the fonts defined in the \paper section, and I
don't think you have needed them since 2.19.11.  The code below works
for me:

%%%
\version "2.23.6"

\include "jazzchords.ily"
\include "lilyjazz.ily"
\include "jazzextras.ily"

\markup { Some text }

myChordSequence = \chordmode {
 \set chordChanges = ##t
 %\set chordNameExceptions = #chExceptions
 e2:m7 a:7 | e:m7 a:7 |
}

Part_POne_Staff_One_Voice_One = \absolute {
 \language "nederlands"

 \set Score.rehearsalMarkFormatter = #format-mark-box-letters
 %  \set Score.rehearsalMarkFormatter = #format-mark-box-alphabet % pour le "I"
 \override Score.RehearsalMark.font-size = #+5
 \textLengthOn

 \key d \major

 \mark \default

 \clef "treble"
 b'8 [ a' b' a'  ~ ] a' b'4. | % 6
 \barNumberCheck #2
 r8 b'4. a'8 b'4. ^\markup {\musicglyph #"scripts.segno" } | % 7
 \barNumberCheck #3
 | % 7
}

\score {
 <<

   \new ChordNames \myChordSequence

   \new Staff = "Part_POne_Staff_One"
   \with {
   }
   <<
     \context Voice = "Part_POne_Staff_One_Voice_One" <<
       \Part_POne_Staff_One_Voice_One




}
%%%

--
Knute Snortum


reply via email to

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