]> git.donarmstrong.com Git - lilypond.git/commitdiff
Further LSR tidying
authorPhil Holmes <mail@philholmes.net>
Tue, 29 Dec 2015 12:08:13 +0000 (12:08 +0000)
committerPhil Holmes <mail@philholmes.net>
Tue, 29 Dec 2015 12:25:59 +0000 (12:25 +0000)
Documentation/snippets/ancient-fonts.ly
Documentation/snippets/changing-stanza-fonts.ly
Documentation/snippets/changing-the-default-text-font-family.ly
Documentation/snippets/new/changing-stanza-fonts.ly
Documentation/snippets/new/changing-the-default-text-font-family.ly
Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly [deleted file]
Documentation/snippets/new/rest-styles.ly
Documentation/snippets/new/subdividing-beams.ly
Documentation/snippets/printing-bar-numbers-with-changing-regular-intervals.ly
Documentation/snippets/rest-styles.ly
Documentation/snippets/subdividing-beams.ly

index e1fb58f135a9bc3a8bb1b21b51cdf30bc3350048..70537f268162aa27f3926ca3671950d39bee0128 100644 (file)
@@ -202,14 +202,16 @@ lowerStaff = \new MensuralStaff = "lowerStaff" <<
     \context {
       \MensuralStaff
       \revert  BarLine.transparent
-      \override KeySignature.glyph-name-alist = #alteration-mensural-glyph-name-alist
+      \override KeySignature.glyph-name-alist =
+        #alteration-mensural-glyph-name-alist
       clefGlyph = #"clefs.petrucci.c2"
     }
     \context {
       \VaticanaStaff
       \revert  BarLine.transparent
       \override StaffSymbol.thickness = #2.0
-      \override KeySignature.glyph-name-alist = #alteration-vaticana-glyph-name-alist
+      \override KeySignature.glyph-name-alist =
+        #alteration-vaticana-glyph-name-alist
       \override Custos.neutral-position = #4
     }
   }
index 3c0beb9ac23476e51f1ed23b01b21bb645a89c5b..cc468d72ce03b8a592e6405607dbe723af479502 100644 (file)
@@ -18,13 +18,13 @@ used for printing the stanza number.
   doctitle = "Changing stanza fonts"
 } % begin verbatim
 
+
 \new Voice {
   \time 3/4
   g2 e4
   a2 f4
   g2.
-} % begin verbatim
-
+}
 \addlyrics {
   \set stanza = #"1. "
   Hi, my name is Bert.
index 125f0dd1dbaf25e0c95272d08b656998b761fdff..99e80cd7e2d833bce0f7885babce8fdb90d7d941 100644 (file)
@@ -18,6 +18,7 @@ The default font families for text can be overridden with
   doctitle = "Changing the default text font family"
 } % begin verbatim
 
+
 \paper {
   % change for other default global staff size.
   myStaffSize = #20
@@ -25,8 +26,7 @@ The default font families for text can be overridden with
      run
          lilypond -dshow-available-fonts blabla
      to show all fonts available in the process log.
-  %} % begin verbatim
-
+  %}
 
   #(define fonts
     (make-pango-font-tree "Times New Roman"
index 3988ec6a95be0eee89a354eae106d35fc397424e..65f54fed927feb976425b3ea113fc650735fc63a 100644 (file)
@@ -9,7 +9,7 @@ used for printing the stanza number.
 
 "
   doctitle = "Changing stanza fonts"
-} % begin verbatim
+}
 
 \new Voice {
   \time 3/4
index b4ab595995cdb6b3b0a837997c707e5434745d0f..7db90d3d19f3febf33f79188b47d8ee2d68cc0d1 100644 (file)
@@ -9,7 +9,7 @@ The default font families for text can be overridden with
 
 "
   doctitle = "Changing the default text font family"
-} % begin verbatim
+}
 
 \paper {
   % change for other default global staff size.
diff --git a/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly b/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly
deleted file mode 100644 (file)
index 5d2fbf5..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-\version "2.18.0"
-
-\header {
-  lsrtags = "rhythms, text"
-
-  texidoc = "
-The bar number interval can be changed by changing the context function
-@code{set-bar-number-visibility}.
-
-"
-  doctitle = "Printing bar numbers with changing, regular intervals"
-}
-
-
-\relative c' {
-  \override Score.BarNumber.break-visibility = #end-of-line-invisible
-  \context Score \applyContext #(set-bar-number-visibility 4)
-  \repeat unfold 10 c'1
-  \context Score \applyContext #(set-bar-number-visibility 2)
-  \repeat unfold 10 c
-}
index ddcf547b153d4ebb24347b2c143d1e28fdc87a58..e5ba472bd4819304848fe4ff4ea07b984a9d1b09 100644 (file)
@@ -7,17 +7,10 @@
 Rests may be used in various styles.
 "
   doctitle = "Rest styles"
-} % begin verbatim
-
-\layout {
-  indent = 0
-  \context {
-    \Staff
-    \remove "Time_signature_engraver"
-  }
 }
 
 \new Staff \relative c {
+  \omit Score.TimeSignature
   \cadenzaOn
 
   \override Staff.Rest.style = #'mensural
index e614df5e86ed9687fc732965b8359586e8a46fef..94cdccf72412cee66917aaa241b609b8f0cee752 100644 (file)
@@ -24,7 +24,7 @@ changed to match the new @code{baseMoment}:
 
 "
   doctitle = "Subdividing beams"
-} % begin verbatim
+}
 
 \relative c'' {
   c32[ c c c c c c c]
@@ -50,5 +50,5 @@ changed to match the new @code{baseMoment}:
   \set baseMoment = #(ly:make-moment 1/8)
   \set beatStructure = #'(2 2 2 2)
   c32[ c c c c] r16.
-  
+  r2
 }
index 106db138a8eaf0cbaa887511178bf0ba54636833..a78462a87b10cdf77a68a3d8ab2f64e713a4a87e 100644 (file)
@@ -1,10 +1,9 @@
-% 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.18.0
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
 \version "2.18.0"
 
 \header {
 
   texidoc = "
 The bar number interval can be changed by changing the context function
-@code{set-bar-number-visibility}.
+@code{@{set-bar-number-visibility@}}.
 
 "
   doctitle = "Printing bar numbers with changing regular intervals"
 } % begin verbatim
 
-
-
 \relative c' {
   \override Score.BarNumber.break-visibility = #end-of-line-invisible
   \context Score \applyContext #(set-bar-number-visibility 4)
index ebf8d91ffa166d07d27ae187096059209a0ae3cf..dc6645b4b1b9336c817c383570be304fe9f680af 100644 (file)
@@ -16,16 +16,9 @@ Rests may be used in various styles.
   doctitle = "Rest styles"
 } % begin verbatim
 
-\layout {
-  indent = 0
-  \context {
-    \Staff
-    \remove "Time_signature_engraver"
-  } % begin verbatim
-
-}
 
 \new Staff \relative c {
+  \omit Score.TimeSignature
   \cadenzaOn
 
   \override Staff.Rest.style = #'mensural
index b15e1b1dfa938da128c6621329961b126226a265..e73800041a1c51cefa92f9bbfd3f26e078b66151 100644 (file)
@@ -33,6 +33,7 @@ changed to match the new @code{baseMoment}:
   doctitle = "Subdividing beams"
 } % begin verbatim
 
+
 \relative c'' {
   c32[ c c c c c c c]
   \set subdivideBeams = ##t
@@ -57,5 +58,5 @@ changed to match the new @code{baseMoment}:
   \set baseMoment = #(ly:make-moment 1/8)
   \set beatStructure = #'(2 2 2 2)
   c32[ c c c c] r16.
-
-} % begin verbatim
+  r2
+}