]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/caps.ly
* scripts/convert-ly.py (conv): fixed \context Foo = mixedCaps
[lilypond.git] / input / test / caps.ly
index fc2ec02d081e03a3193f8e9a38ac2563069ffce2..0c83bf2f09aa42f7254c9a6dd6ec6489496d2d97 100644 (file)
@@ -1,13 +1,18 @@
+
+\version "2.4.0"
 \header {
-texidoc =  " Small caps is available as font-shape caps.
-
-       "; }
-shapeSC   = \property Lyrics.LyricText \override #'font-shape = #'caps
- shapeNorm = \property Lyrics.LyricText \revert   #'font-shape
-
-\score { <
- \notes \relative c'' { c4 c4 c8 c8 }
-\lyrics \context Lyrics { 
-  what4 is4 \shapeSC Bud8 -- dha?8 }>
-\paper { linewidth = -1.;}
-  }
+texidoc = "@cindex Capital Letters
+The font can be changed to small caps.
+" }
+
+shapeSC = \override LyricText  #'font-shape = #'caps
+shapeNorm = \revert LyricText #'font-shape
+
+\score { <<
+   \relative c'' { c4 c4 c8 c8 c8 }
+  \context Lyrics \lyricmode { 
+    what4 is4 \shapeSC The8  Ma -- trix? }
+  >>
+  \layout { raggedright = ##t}
+}
+