lilypond-user
[Top][All Lists]
Advanced

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

LilyJAZZ font for markups


From: Menu Jacques
Subject: LilyJAZZ font for markups
Date: Fri, 8 Jul 2016 10:41:52 +0200

Hello,

Is there a global setting I could use to have « RIT » in lilyJAZZ text without 
specifying the font each time with:

              \override #'(font-name . "LilyJazz Text »)

Thanks for the help!

JM

--





\version "2.19.44"
% automatically converted by musicxml2ly from Brothers & Sisters original.xml


\header {
  title = \markup{
    \override #'(font-name . "LilyJazz Text")
    "BROTHERS & SISTERS"
  }
  encodingdescription =  "MusicXML 2.0"
  source =  "Scanned sheet music"
  composer =  \markup{
    \override #'(font-name . "LilyJazz Text")
    "SCOTT D. STANTON"
  }
}


myDisplayBarNummber = {
  \once\override Score.BarNumber.break-visibility = ##(#f #t #t)
  \once\override Score.BarNumber.font-size = #1.5
  \once\override Score.BarNumber.stencil = #(make-stencil-boxer 0.1 0.4 
ly:text-interface::print)
}


% Exception music is chords with markups
chExceptionMusic = {
  <c ees ges bes>1-\markup { \super {"-7(" {\small\raise #0.5 \flat} "5)"} }
  <c e g bes>1-\markup { \super "7" }
  <c e gis bes>1-\markup { \super {"7(" {\small\raise #0.5 \sharp} "5)"} }
  <c f g bes>1-\markup { \super {"7(sus4)"} }
  <c e g a d'>1-\markup { \super "6/9" }
  <c e g bes des'>1-\markup { \super {"7(" {\small\raise #0.5 \flat} "9)"} }
  <c f g bes d'>1-\markup { \super {"9(sus4)"} }
  <c e g bes d'>1-\markup { \super "9" }
  <c e g b d'>1-\markup { \super "maj9" }
  <c e gis bes d'>1-\markup { \super "9+" }
  <c e g bes d' fis'>1-\markup { \super "9#11" }
  <c e g bes d' f'>1-\markup { \super "11" }
  <c e g bes d' a'>1-\markup { \super "13" }
  <c e g bes d' fis' a'>1-\markup { \super {"13(" {\small\raise #0.5 \sharp} 
"11)"} }
  <c e g a d'>1-\markup { \super "6(add9)" }
}

% Convert music to list and prepend to existing exceptions.
chExceptions = #( append
                  ( sequential-music-to-chord-exceptions chExceptionMusic #t)
                  ignatzekExceptions)

BassFonts = {
  \override Voice.TextScript.font-name = #"LilyJazz Text"
  \override Score.MetronomeMark.font-name = #"LilyJazz Text"
  %  \override Voice.TextSpanner.font-name = #"LilyJazz Text"
}

BassFingerings = {
  \override Fingering.color = #magenta
  \override Fingering.font-size = -1.5
}


Bass = \relative c {
  \compressFullBarRests

  \BassFonts
  \BassFingerings

  \clef "bass" \key f \major \numericTimeSignature\time 4/4 | % 1

  \tempo "SOLO SECTION - PLAY 3X'S"

  \repeat volta 2 {
    | % 37
    \key bes \major | % 37
    bes'4 c,4 cis4 d4 | % 38
    es4 g,4 gis4 a4 | % 39
    bes4 d4 f4 g4 |
    \barNumberCheck #40
    bes4 as4 g4 f4 \break | % 41
    R1 -\markup{
      \override #'(font-name . "LilyJazz Text")
      "RIT.........."
    }
    r4 f2. \fermata -> \ff
    \bar "|."
  }
}


Chords =  \chordmode {
  \set minorChordModifier = \markup { "-" }
  \set majorSevenSymbol = \markup { "maj7" }
  \set chordNameExceptions = #chExceptions

  \override ChordNames.ChordName.font-name = #"LilyJazz Text"

  \repeat volta 2 {
    | % 1
    c4:9sus4 s4 s4 s4 | % 2
    s4 s4 s4 s4 | % 3
    s4. s8 s4 s4 | % 4
    s2 s2
    \bar "||"
    f4:6 s4 fis4:dim7 s4 | % 6
    g4:m9 s4 gis4:dim7 s4 | % 7
  }
  \bar "|."
}


% The score definition
\score {
  <<
    \context ChordNames = "Chords" { \Chords}

    \new Staff
    <<
      \context Staff <<
        \context Voice = "Bass" {  \Bass }
      >>
    >>
  >>

  \layout {  }
}









reply via email to

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