]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/chords-headword.ly
Issue 3523: Remove a signed/unsigned comparison compiler warning
[lilypond.git] / Documentation / snippets / chords-headword.ly
index 05e298f4b3424e67ad6f287d5cdd1752e52010f7..c335944a5a10708fc454136b9b5f887bb104c3d2 100644 (file)
@@ -1,45 +1,35 @@
-% Do not edit this file; it is automatically
+% DO NOT EDIT this file manually; it is automatically
 % generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
 % This file is in the public domain.
-%% Note: this file works from version 2.12.0
-\version "2.13.10"
-#(set-global-staff-size 15)
-\paper{
-  ragged-right=##f
-  line-width=15\cm
-  indent=0\cm
-}
+%% Note: this file works from version 2.17.6
+\version "2.17.6"
 
 \header {
-  lsrtags = "headwords"
+  lsrtags = "headword"
   texidoc = ""
   doctitle = "headword"
 } % begin verbatim
 
 
 
-\layout {
-  \context { \Score
-    \override PaperColumn #'keep-inside-line = ##t
-    \override NonMusicalPaperColumn #'keep-inside-line = ##t
-  }
-}
-
 theChords = \chordmode {
   \time 2/2
   f1 | c2 f2 | f1 | c2 f2| %\break
   f2 bes2 | f1 | c2:7 f | c1 | \break
 }
 
-verseOne = \lyricmode{
-  \set stanza = "1. "
+verseOne = \lyricmode {
+  \set stanza = #"1."
   Fair is the sun - shine,
   Fair - er the moon - light
   And all the stars __ _  in heav'n a -- bove;
 }
 
-verseTwo = \lyricmode{
-  \set stanza = "2. "
+verseTwo = \lyricmode {
+  \set stanza = #"2."
   Fair are the mead - ows,
   Fair - er the wood - land,
   Robed in the flow -- ers of bloom -- ing spring;
@@ -50,7 +40,7 @@ Soprano = {
   \key f \major
   \stemUp
   f'2 f'4 f' | g'4 e' f'2 | a'4. a'8 a'4 a' | bes'4 g' a'2 |
-c''2 f''4 d'' |  c''2  bes'4  a' | bes'2 a' | g'1 |
+  c''2 f''4 d'' |  c''2  bes'4  a' | bes'2 a' | g'1 |
 }
 
 Alto = {
@@ -84,12 +74,12 @@ Bass = {
         >>
       }
     }
-    \context Lyrics="LyrOne" \lyricsto "sop" {\verseOne}
-    \context Lyrics="LyrTwo" \lyricsto "sop" {\verseTwo}
+    \context Lyrics = "LyrOne" \lyricsto "sop" { \verseOne }
+    \context Lyrics = "LyrTwo" \lyricsto "sop" { \verseTwo }
     \context Staff = lower {
       \new Voice {
         \clef bass
-        #(set-accidental-style 'modern-cautionary)
+        \accidentalStyle modern-cautionary
         <<
           \Tenor
           \Bass
@@ -98,16 +88,16 @@ Bass = {
     }
   >>
 
-\layout {
-  %between-system-space = 1\mm
-  indent = 0
-  \context {
-    \Score
-    \remove "Bar_number_engraver"
-  }
-  \context { \Staff
-    \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
-  }
+  \layout {
+    indent = 0
+    \context {
+      \Score
+      \remove "Bar_number_engraver"
+    }
+    \context {
+      \Voice
+      \override StanzaNumber.padding = #1.8
+    }
   }
 }
 \paper {  }