[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lyrics small caps
From: |
Jay Anderson |
Subject: |
Lyrics small caps |
Date: |
Thu, 18 Aug 2011 18:17:02 -0700 |
How do I get small caps for lyrics? Here's how I've attempted to
select small caps: "\override LyricText #'font-shape = #'caps". I've
tried a few different fonts without success: "Helvetica", "Georgia",
"Verdana".
Have I just not found a font which supports small caps? Perhaps a more
basic question is which fonts support it and how can I check? Here's a
full example:
================
\version "2.14.2"
\score
{
<<
\new Staff \new Voice=z \relative c' {c4 c c c}
\new Lyrics \lyricsto z \lyricmode
{
\override LyricText #'font-name = "Helvetica"
\override LyricText #'font-shape = #'caps
This is a test.
}
>>
}
================
For now I think I'll just put "\markup\caps" in front of the words I
want as small caps to fake it.
A related question: when I enter a non-existent font name it doesn't
pick the default font and doesn't throw an error. It some ways it
feels like I'm flying blind without any feedback.
(I'm on Ubuntu linux). Thanks for the help.
-----Jay
- Lyrics small caps,
Jay Anderson <=