lilypond-user
[Top][All Lists]
Advanced

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

Re: Chord bass note font


From: Klaus Blum
Subject: Re: Chord bass note font
Date: Sat, 30 Jan 2016 07:53:25 -0700 (MST)

Hi Tom, 

welcome to the forum!


Thomas Ibbotson wrote
> I'd like to make the bass note in slashed chords use a smaller font to
> distinguish it from the chord name.

Recently, there has been a thread that could be interesting for you:
http://lilypond.1069038.n5.nabble.com/Fwd-Slash-chords-tp183832p183917.html

A little modification will lead to this:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"

#(define (lower-extension pitch chbass)
   "Return re-sized markup for pitch note name."
   #{
     \markup \fontsize #-2 
     #(note-name->markup pitch chbass)
   #})


\layout {
  \context {
    \ChordNames
    chordNoteNamer = #lower-extension
  }
}

\score {
  \new StaffGroup <<
    \chords {
      c1/e d:m/f
    }
    \new Staff { c''1 c''  }
  >>
  \layout { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Chord-bass-note-font-tp186653p186654.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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