Re: change font name of just lyrics?

2015-05-26 Thread Klaus Blum
Hi Josh, 

you could try it like this:

% --
\version 2.18.2

\relative c' { c4 d e f }
\addlyrics { This is my text }

\layout {
  \context {
\Lyrics
\override LyricText.font-name = #Arial Narrow
  }
}
% --

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/change-font-name-of-just-lyrics-tp177096p177098.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: change font name of just lyrics?

2015-05-26 Thread Nathan Ho
On Tue, May 26, 2015 at 10:34 AM, Joshua Nichols josh.d.nich...@gmail.com
wrote:

 I've looked for a hack, but I haven't found one yet. I was wondering if
 y'all could expedite my question:

 I'd like to be able to change the default lyric font to a different font
 within the same font family. I have an expert font that has many different
 weights and a condensed form, and I'm not quite sure how to tweak just the
 lyrics.


Here's the hack:

#(define ((force-font font-name) grob)
   (grob-interpret-markup
 grob
 (markup
  #:override (cons 'font-name font-name)
   (ly:grob-property grob 'text

\new Staff {
  c'4 d'4 e'2
} \addlyrics {
  \override LyricText.stencil = #(force-font Ubuntu)
  Li -- ly -- Pond
}

Regards,
Nathan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


change font name of just lyrics?

2015-05-26 Thread Joshua Nichols
I've looked for a hack, but I haven't found one yet. I was wondering if
y'all could expedite my question:

I'd like to be able to change the default lyric font to a different font
within the same font family. I have an expert font that has many different
weights and a condensed form, and I'm not quite sure how to tweak just the
lyrics.

anyone?

Sincerely,

Josh
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user