lilypond-user
[Top][All Lists]
Advanced

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

Fwd: Specific Lyric and CHordname font size


From: Walt North
Subject: Fwd: Specific Lyric and CHordname font size
Date: Sun, 29 Sep 2024 09:40:57 -0700
User-agent: Mozilla Thunderbird

My guitar players are a bit finicky on font size.  Is it possible to set a specific chordname and lyric font size?  I see that \markup can specify an abs font size.  I think I'm close with using font size #3.5 to get to a 16pt font for example. Is that the only say to specify font size in Chords - as a multiple of the global size? Follows is a sample test just for experimentation.


\version "2.24.4"

\paper {
%  text-font-size = 16
}

\markup {
  C text font size
  \hspace #2
  \abs-fontsize #16 { C text font size 16 }
}

ly = \lyricmode { C text font size  }
ch = \chordmode { c }

\score {
  \layout {
    \context {
      \ChordNames
      \override ChordName.font-size = #0
    }
    \context {
      \Lyrics
      \override LyricText.font-size = #0
    }
  }
  <<
    \new ChordNames {\ch }
  \new Lyrics { \ly }
  >>
}
\score {
  \layout {
    \context {
      \ChordNames
      \override ChordName.font-size = #3.5
    }
    \context {
      \Lyrics
      \override LyricText.font-size = #3.5
    }
  }
  <<
    \new ChordNames {\ch }
  \new Lyrics { \ly }
  >>
}




reply via email to

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