lilypond-user
[Top][All Lists]
Advanced

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

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


From: Kieren MacMillan
Subject: Re: Making only the first letter of a word bold in a text markup?
Date: Sun, 29 Sep 2013 12:08:07 -0400

Hi Paul,

> 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?

\version "2.17.25"

\layout {
  \context {
    \Lyrics
    \override LyricText.font-size = #-4
    \override LyricText.word-space = #0
  }
}

egbdf = \lyricmode {
  \markup \sans { \concat \bold {E} very }
  \markup \sans { \concat \bold {G} ood }
  \markup \sans { \concat \bold {B} oy }
  \markup \sans { \concat \bold {D} oes }
  \markup \sans { \concat \bold {F} ine }
}

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

Hope this helps!
Kieren.


reply via email to

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