]> git.donarmstrong.com Git - lilypond.git/commitdiff
LSR updates
authorPhil Holmes <mail@philholmes.net>
Wed, 4 Jan 2012 18:19:03 +0000 (18:19 +0000)
committerPhil Holmes <mail@philholmes.net>
Wed, 4 Jan 2012 18:23:26 +0000 (18:23 +0000)
Documentation/snippets/ancient-notation-template----modern-transcription-of-mensural-music.ly
Documentation/snippets/automatically-change-durations.ly [new file with mode: 0644]
Documentation/snippets/formatting-lyrics-syllables.ly
Documentation/snippets/hymn-template.ly
Documentation/snippets/partcombine-and-autobeamoff.ly
Documentation/snippets/rhythms.snippet-list
Documentation/snippets/string-quartet-template-with-separate-parts.ly
Documentation/snippets/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly

index 818a1873b26c9b58c71881a9f3badab1d2a4a606..d072072b296e44de87cd0bd99063c643778d555b 100644 (file)
@@ -84,7 +84,8 @@ global = {
 
   % incipit
   \once \override Score.SystemStartBracket #'transparent = ##t
-  \override Score.SpacingSpanner #'spacing-increment = #1.0 % tight spacing
+   % Set tight spacing
+  \override Score.SpacingSpanner #'spacing-increment = #1.0
   \key f \major
   \time 2/2
   \once \override Staff.TimeSignature #'style = #'neomensural
@@ -100,7 +101,6 @@ global = {
   \bar ""
 
   % main
-  \revert Score.SpacingSpanner #'spacing-increment % CHECK: no effect?
   \cadenzaOff % turn bar lines on again
   \once \override Staff.Clef #'full-size-change = ##t
   \set Staff.forceClef = ##t
@@ -109,7 +109,7 @@ global = {
   \override Voice.NoteHead #'style = #'default
   \override Voice.Rest #'style = #'default
 
-  % FIXME: setting printKeyCancellation back to #t must not
+  % Setting printKeyCancellation back to #t must not
   % occur in the first bar after the incipit.  Dto. for forceClef.
   % Therefore, we need an extra \skip.
   \skip 1*1
@@ -296,17 +296,12 @@ bassusLyrics = \lyricmode {
       % no slurs
       \override Slur #'transparent = ##t
 
-      % Comment in the below "\remove" command to allow line
-      % breaking also at those barlines where a note overlaps
-      % into the next bar.  The command is commented out in this
-      % short example score, but especially for large scores, you
-      % will typically yield better line breaking and thus improve
-      % overall spacing if you comment in the following command.
-      %\remove "Forbid_line_break_engraver"
+      % The command below can be commented out in
+      % short scores, but especially for large scores you
+      % will typically yield better line breaking and improve
+      % overall spacing if you do not comment the command out.
+
+      \remove "Forbid_line_break_engraver"
     }
   }
 }
-
-
-
-
diff --git a/Documentation/snippets/automatically-change-durations.ly b/Documentation/snippets/automatically-change-durations.ly
new file mode 100644 (file)
index 0000000..72f05c0
--- /dev/null
@@ -0,0 +1,42 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.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.14.0"
+
+\header {
+  lsrtags = "rhythms"
+
+  texidoc = "
+<code>shiftDurations</code> can be used to change the note lengths of a
+piece of music.  It takes two arguments - the scaling factor as a power
+of two, and the number of dots to be added as a positive integer.
+
+"
+  doctitle = "Automatically change durations"
+} % begin verbatim
+
+\paper { indent = 0 }
+
+music = \relative c'' { a1 b2 c4 d8 r }
+
+\score {
+  \new Voice {
+    \time 4/2
+    \music
+    \time 4/4
+    \shiftDurations #1 #0 { \music }
+    \time 2/4
+    \shiftDurations #2 #0 { \music }
+    \time 4/1
+    \shiftDurations #-1 #0 { \music }
+    \time 8/1
+    \shiftDurations #-2 #0 { \music }
+    \time 6/2
+    \shiftDurations #0 #1 { \music }
+    \time 7/2
+    \shiftDurations #0 #2 { \music }
+  }
+}
index f64e9f012a2123236fc906850b62d53a0a0698d8..fa99151b8e5b7ee8a1c699a04764d54dcd685c18 100644 (file)
@@ -16,6 +16,7 @@ zu formatieren.
 
 "
   doctitlede = "Silben im Gesangstext formatieren"
+
 %%  Translation of GIT committish: d9d1da30361a0bcaea1ae058eb1bc8dd3a5b2e4c
   texidocfr = "
 Le mode markup permet d'individualiser la mise en forme de certaines syllabes.
index 00ddc156383bf609e34d22ddf4ec620f0611e543..c121eed510bcbc45fdd36e31e04f997abfd6925b 100644 (file)
@@ -27,6 +27,7 @@ strofe come testo separato sotto la musica.
 
 "
   doctitleit = "Modello per inno"
+
 %%    Translation of GIT committish: ab9e3136d78bfaf15cc6d77ed1975d252c3fe506
 
   texidocde = "
index d5b3340110f01eb482dce8415f4e57613b42bbb7..bb6f54ba509c15b66f17f5d79ad99d715646ceac 100644 (file)
@@ -47,6 +47,7 @@ necesario hacer tres llamadas a @code{\\autoBeamOff}.
 
 "
   doctitlees = "Partcombine y autoBeamOff"
+
 %%   Translation of GIT committish: ab9e3136d78bfaf15cc6d77ed1975d252c3fe506
 
   texidocde = "
@@ -78,6 +79,7 @@ wenn man es mit @code{\\partcombine} verwendet, muss @code{\\autoBeamOff}
 "
 doctitlede = "Partcombine und autoBeamOff"
 
+
 %% Translation of GIT committish: e1a149d0cc60b02e86209387958f4028567dd366
   texidocfr = "
 Le fonction @code{@bs{}autoBeamOff} dans le cadre d'un
index f67d4b7a1eec07b170a26462024afdad3b1dae47..ac62483cda784228975b35cec82a21977997e77b 100644 (file)
@@ -4,6 +4,7 @@ adjusting-grace-note-spacing.ly
 aligning-bar-numbers.ly
 alternative-breve-note.ly
 automatic-beam-subdivisions.ly
+automatically-change-durations.ly
 avoiding-collisions-with-chord-fingerings.ly
 beam-endings-in-score-context.ly
 beam-grouping-in-7-8-time.ly
index 579f1f3dbfe76f9a88bf5324c938a8f071b02f1f..abc2d8918261ae58b2c94f9e3ea41499f3a90906 100644 (file)
@@ -174,8 +174,8 @@ music = {
 %%%%% score.ly
 %%%%% (This is the main file)
 
-
-%\include "piece.ly"             %%% uncomment this line when using a separate file
+%%% uncomment the line below when using a separate file
+%\include "piece.ly"
 #(set-global-staff-size 14)
 \score {
   \new StaffGroup \keepWithTag #'score \music
index 794a2c1fb051b0bd6ee26f9278834e6837201ed8..27677e0c11640dc4545a6df7495e72040994b53b 100644 (file)
@@ -102,10 +102,12 @@ bassWords = \lyricmode {
       \new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
       \new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
     >>
-    \new Lyrics \with { alignAboveContext = #"women" } \lyricsto "sopranos" \sopWords
-    \new Lyrics \with { alignBelowContext = #"women" } \lyricsto "altos" \altoWords
-    % we could remove the line about this with the line below, since we want
-    % the alto lyrics to be below the alto Voice anyway.
+    \new Lyrics \with { alignAboveContext = #"women" }
+      \lyricsto "sopranos" \sopWords
+    \new Lyrics \with { alignBelowContext = #"women" }
+      \lyricsto "altos" \altoWords
+    % we could remove the line about this with the line below, since
+    % we want the alto lyrics to be below the alto Voice anyway.
     % \new Lyrics \lyricsto "altos" \altoWords
 
     \new Staff = "men" <<
@@ -113,8 +115,10 @@ bassWords = \lyricmode {
       \new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
       \new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
     >>
-    \new Lyrics \with { alignAboveContext = #"men" } \lyricsto "tenors" \tenorWords
-    \new Lyrics \with { alignBelowContext = #"men" } \lyricsto "basses" \bassWords
+    \new Lyrics \with { alignAboveContext = #"men" }
+      \lyricsto "tenors" \tenorWords
+    \new Lyrics \with { alignBelowContext = #"men" }
+      \lyricsto "basses" \bassWords
     % again, we could replace the line above this with the line below.
     % \new Lyrics \lyricsto "basses" \bassWords
   >>