lilypond-user
[Top][All Lists]
Advanced

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

Making only the first letter of a word bold in a text markup?


From: Paul Morris
Subject: Making only the first letter of a word bold in a text markup?
Date: Sun, 29 Sep 2013 12:02:41 -0400

In a text markup, is it possible to make only the first letter of a word bold?  I tried using \bold as shown below, but an unwanted space appears after the bold letter.  I could probably shift the letters around manually to correct for the space, but is there a better way?

Greetings,
-Paul


\version "2.17.25"

egbdf = \lyricmode {
  \markup \sans \fontsize #-4 { \bold {E}very}
  \markup \sans \fontsize #-4 { \bold {G}ood}
  \markup \sans \fontsize #-4 { \bold {B}oy}
  \markup \sans \fontsize #-4 { \bold {D}oes}
  \markup \sans \fontsize #-4 { \bold {F}ine}
}

<<
  \new Staff {
    \new Voice = "a" {
      \relative f' {
        e4 g b d f
      }
    }
  }
  \new Lyrics \lyricsto "a" \egbdf
>>




reply via email to

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