]> git.donarmstrong.com Git - lilypond.git/commitdiff
Merge branch 'master' of /home/lilycvs/git/lily/
authorJohn Mandereau <john.mandereau@gmail.com>
Wed, 2 Apr 2008 20:09:32 +0000 (22:09 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Wed, 2 Apr 2008 20:09:32 +0000 (22:09 +0200)
* 'master' of /home/lilycvs/git/lily/:
  Update from Ralph.
  Use now-added snippets.
  LSR: update.
  Update from Valentin.
  compile fix.
  Fixes for renamed LSR snippets.
  LSR: update.
  Removed a number of engravers from the definition DrumVoice

86 files changed:
Documentation/user/input.itely
Documentation/user/pitches.itely
Documentation/user/repeats.itely
Documentation/user/text.itely
input/lsr/adding-a-figured-bass-above-or-below-the-notes.ly
input/lsr/adding-ambiti-per-voice.ly [deleted file]
input/lsr/adding-ambitus-per-voice.ly [new file with mode: 0644]
input/lsr/adding-an-extra-staff-at-a-line-break.ly [new file with mode: 0644]
input/lsr/adding-an-extra-staff.ly
input/lsr/adding-and-extra-staff-at-a-line-break.ly [deleted file]
input/lsr/adding-drum-parts.ly
input/lsr/adding-fingerings-to-tablatures.ly
input/lsr/adding-volta-brackets-to-additional-staves.ly
input/lsr/adjusting-lyrics-vertical-spacing.ly
input/lsr/aligning-and-centering-instrument-names.ly
input/lsr/aligning-lyrics.ly
input/lsr/aligning-marks-with-various-notation-objects.ly [new file with mode: 0644]
input/lsr/allowing-fingerings-to-be-printed-inside-the-staff.ly
input/lsr/ambiti-multiple-voices.ly [deleted file]
input/lsr/ambitus-with-multiple-voices.ly [new file with mode: 0644]
input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly [new file with mode: 0644]
input/lsr/applying-notehead-styles-depending-on-the-step-of-the-scale.ly [deleted file]
input/lsr/automatic-beam-subdivisions.ly [new file with mode: 0644]
input/lsr/automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly
input/lsr/blanking-staff-lines-using-the--whiteout-command.ly
input/lsr/breaks.snippet-list
input/lsr/breathing-sign.ly [deleted file]
input/lsr/breathing-signs.ly [new file with mode: 0644]
input/lsr/broken-crescendo-hairpin.ly
input/lsr/center-text-below-hairpin-dynamics.ly
input/lsr/changing--flageolet-mark-size.ly
input/lsr/changing-a-single-notes-size-in-a-chord.ly
input/lsr/changing-form-of-multi--measure-rests.ly
input/lsr/changing-the-tuplet-number.ly
input/lsr/changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
input/lsr/clefs-commonly-tweaked-properties.ly
input/lsr/combining-dynamics-with-markup-texts.ly
input/lsr/combining-two-parts-on-the-same-staff.ly
input/lsr/compound-time-signatures.ly
input/lsr/contemporary-glissando.ly
input/lsr/contexts-and-engravers.snippet-list
input/lsr/controlling-tuplet-bracket-visibility.ly
input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly
input/lsr/creating-blank-staves.ly
input/lsr/creating-real-parenthesized-dynamics.ly
input/lsr/custodes.ly
input/lsr/demo-midiinstruments.ly
input/lsr/demonstrating-all-headers.ly
input/lsr/display-bracket-with-only-one-staff-in-a-system.ly
input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
input/lsr/editorial-and-educational-use.snippet-list
input/lsr/engraving-ties-manually.ly
input/lsr/entering-several-tuplets-using-only-one--times-command.ly
input/lsr/expressive-marks.snippet-list
input/lsr/formatting-lyrics-syllables.ly
input/lsr/generating-random-notes.ly
input/lsr/inserting-score-fragments-above-a-staff,-as-markups.ly [new file with mode: 0644]
input/lsr/inserting-score-fragments-above-the-staff,-as-markups.ly [deleted file]
input/lsr/makam.ly
input/lsr/making-an-object-invisible-with-the-transparent-property.ly
input/lsr/making-some-staff-lines-thicker-than-the-others.ly
input/lsr/mensurstriche-layout-bar-lines-between-the-staves.ly
input/lsr/non-traditional-key-signatures.ly
input/lsr/ottava-text.ly
input/lsr/piano-template-simple.ly
input/lsr/piano-template-with-centered-lyrics.ly
input/lsr/piano-template-with-melody-and-lyrics.ly
input/lsr/pitches.snippet-list
input/lsr/positioning-multi--measure-rests.ly
input/lsr/positioning-segno-and-coda-with-line-break.ly
input/lsr/printing-marks-at-the-end-of-a-line-or-a-score.ly [new file with mode: 0644]
input/lsr/printing-marks-on-every-staff.ly [new file with mode: 0644]
input/lsr/printing-music-with-different-time-signatures.ly
input/lsr/quoting-another-voice-with-transposition.ly
input/lsr/rest-styles.ly
input/lsr/rhythms.snippet-list
input/lsr/shortening-volta-brackets.ly
input/lsr/single-staff-template-with-notes,-lyrics,-and-chords.ly
input/lsr/staff-notation.snippet-list
input/lsr/text.snippet-list
input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly
input/lsr/use-square-bracket-at-the-start-of-a-staff-group.ly [new file with mode: 0644]
input/lsr/vertically-centered-dynamics-and-textscripts.ly
input/lsr/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
input/lsr/vocal-music.snippet-list
ly/engraver-init.ly

index 6ad8ecee80a2d5e89e725c1a72595476a5b8f990..8879aa853bc42f5aa2a50f5f8dc160cfaee466b8 100644 (file)
@@ -490,7 +490,8 @@ commands, tagged expressions can be filtered.  For example,
 @end example
 would yield
 
-@lilypondfile[ragged-right,quote]{tag-filter.ly}
+@c FIXME: broken
+@c @lilypondfile[ragged-right,quote]{tag-filter.ly}
 
 The arguments of the @code{\tag} command should be a symbol
 (such as @code{#'score} or @code{#'part}), followed by a
index 03d19802757048c1627c0b6c12cae94618f69d57..0e86a7675bb28fd36a06c22f3dae2eb0bfc26435 100644 (file)
@@ -1768,10 +1768,10 @@ printed if they are not part of the key signature.
 @snippets
 
 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
-{adding-ambiti-per-voice.ly}
+{adding-ambitus-per-voice.ly}
 
 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
-{ambiti-multiple-voices.ly}
+{ambitus-with-multiple-voices.ly}
 
 
 @seealso
@@ -1945,7 +1945,7 @@ the base of the scale is determined by the @code{\key} command.
 @snippets
 
 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
-{applying-notehead-styles-depending-on-the-step-of-the-scale.ly}
+{applying-note-head-styles-depending-on-the-step-of-the-scale.ly}
 
 @noindent
 To see all note head styles, see @ref{Note head styles}.
index 46bd713f66f129bb59cfad0b0a9cc95a891e6408..2404c14e53328057d2b5aab9ee742a59128a0942 100644 (file)
@@ -95,12 +95,11 @@ to be played more than once.
 The syntax for a normal repeat is
 
 @example
-\repeat @var{variant} @var{repeatcount} @var{repeatbody}
+\repeat volta @var{repeatcount} @var{repeatbody}
 @end example
 
-where @var{variant} is @qq{volta} and @var{repeatbody} is a music
-expression.  Alternate endings can be produced using
-@code{\alternative}.
+where @var{repeatbody} is a music expression.  Alternate endings can
+be produced using @code{\alternative}.
 
 Normal repeats without alternate endings:
 
@@ -167,8 +166,8 @@ c1
 @c Is there a way to have a final bar ("|.") at the end of the
 @c previous line? Doesn't seem to be.
 If you want to start a repeat at the beginning of a line and have a
-double bar at the end of the previous line, use @code{\bar}. See
-@ref{Bar lines} for more information.
+double bar at the end of the previous line, use @code{\bar}. For more
+information, see @ref{Bar lines}.
 
 @lilypond[quote,ragged-right,fragment,verbatim,relative=2]
 c4 c c c
@@ -179,8 +178,7 @@ c4 c c c
 
 @seealso
 
-Music Glossary: @rglos{repeat}.
-@c FIXME : add @rglos{volta} after glossary addition
+Music Glossary: @rglos{repeat}, @rglos{volta}.
 
 Notation Reference: @ref{Bar lines}, @ref{Modifying context plug-ins}.
 
@@ -190,9 +188,6 @@ Internals Reference: @internalsref{VoltaBracket},
 @internalsref{RepeatedMusic}, @internalsref{VoltaRepeatedMusic},
 @internalsref{UnfoldedRepeatedMusic}.
 
-@c Examples:
-
-
 @knownissues
 
 @cindex repeat, ambiguous
@@ -261,22 +256,55 @@ c4 c4
 
 @seealso
 
-Notation Reference: @ref{Bar lines}.
+Notation Reference: @ref{Bar lines}, @ref{Text markup}.
 
 Snippets: @lsrdir{Repeats,Repeats}
 
 Internals Reference: @internalsref{VoltaBracket},
-@internalsref{RepeatedMusic}, @internalsref{VoltaRepeatedMusic},
-and @internalsref{UnfoldedRepeatedMusic}.
+@internalsref{RepeatedMusic}, @internalsref{VoltaRepeatedMusic}.
 
 
 @node Written-out repeats
 @subsubsection Written-out repeats
 
-unfold
+@cindex written-out repeats
+@cindex repetitious music
+@cindex repeats, written-out
+
+By using the @code{unfold} command, repeats can be used to simplify
+the writing out of repetitious music. The syntax is
+
+@example
+\repeat unfold @var{repeatcount} @var{repeatbody}
+@end example
+
+Unfold repeats can be made with or without alternate endings. Unfold
+repeats without alternate endings:
 
+@lilypond[quote,ragged-right,verbatim,fragment,relative=2]
+c1
+\repeat unfold 2 { c4 d e f }
+c1
+@end lilypond
 
+Unfold repeats with alternate endings:
 
+@lilypond[quote,ragged-right,verbatim,fragment,relative=2]
+c1
+\repeat unfold 2 { g f e d }
+  \alternative {
+    { cis2 g' }
+    { cis,2 b }
+  }
+c1
+@end lilypond
+
+@seealso
+
+Snippets: @lsrdir{Repeats,Repeats}.
+
+Internals Reference: @internalsref{RepeatedMusic},
+@internalsref{UnfoldedRepeatedMusic}.
 
 @node Short repeats
 @subsection Short repeats
index e7e054c0f2d22b878c50ceed0508feb3d2d6d3f9..1d21ed4a7f5e51789bbb038ff84f0cc8705663df 100644 (file)
@@ -126,7 +126,7 @@ d8^"pizz." e f g \textLengthOn a4_"scherzando" f
 @funindex \textLengthOn
 @code{\textLengthOn},
 @funindex \textLengthOff
-@code{\textLengthOff}.
+@code{\textLengthOff}
 
 
 @seealso
@@ -154,12 +154,11 @@ default; to enable it, use
 
 @cindex Text spanners
 
-@c TODO: merge these explanations with the ones below in 
-@c "Text and Line spanners" -vv
-
 Some performance indications, e.g., @i{rallentando} or
 @i{accelerando}, are written as text and are extended over many
-measures with dotted lines; you can create such text spanners
+measures with dotted lines.
+
+Such objects, called @q{spanners}, may be created
 from one note to another by using the following syntax:
 
 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
@@ -181,6 +180,9 @@ b1\startTextSpan c
 e,\stopTextSpan
 @end lilypond
 
+The line style, as well as the text string, can be defined as an
+object property. This syntax is described in @ref{Line styles}.
+
 @predefined
 
 @funindex textSpannerUp
@@ -188,11 +190,7 @@ e,\stopTextSpan
 @funindex textSpannerDown
 @code{\textSpannerDown},
 @funindex textSpannerNeutral
-@code{\textSpannerNeutral}.
-
-The line style, as well as the text string, can be defined as an
-object property. This syntax is described in @ref{Line styles}.
-
+@code{\textSpannerNeutral}
 
 @seealso
 
@@ -217,9 +215,11 @@ the syntax described in @ref{Rehearsal marks}:
 c4\mark "dolce" c c c
 @end lilypond
 
-This syntax makes possible to put any text on a bar line, but also
-signs like coda, segno, or fermata, by specifying  the appropriate
-symbol name.  These symbols are listed in @ref{The Feta font}.
+This syntax makes possible to put any text on a bar line;
+more complex text formatting may be added using a @code{\markup}
+block, as described in @ref{Text markup}.  This can be used to print
+signs like coda, segno or fermata, by specifying the appropriate
+symbol name:
 
 @lilypond[fragment,quote,ragged-right,verbatim,relative=2]
 c1 \mark \markup { \musicglyph #"scripts.ufermata" }
@@ -242,109 +242,14 @@ c c
 
 @snippets
 
-@c TODO: to be LSR-ized stuff -vv
-
-To print the mark at the end of the current line, use
-
-@example
-\override Score.RehearsalMark
-  #'break-visibility = #begin-of-line-invisible
-@end example
-
-@code{\mark} is often useful for adding text to the end of bar.
-In such cases, changing the @code{#'self-alignment} is very useful
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+{printing-marks-at-the-end-of-a-line-or-a-score.ly}
 
-@lilypond[fragment,quote,ragged-right,verbatim,relative=2]
-\override Score.RehearsalMark
-  #'break-visibility = #begin-of-line-invisible
-c1 c c c4 c c c
-\once \override Score.RehearsalMark #'self-alignment-X = #right
-\mark "D.S. al Fine "
-@end lilypond
-
-If specified, text marks may be aligned with notation objects
-other than bar lines.  These objects include @code{ambitus},
-@code{breathing-sign}, @code{clef}, @code{custos},
-@code{staff-bar}, @code{left-edge}, @code{key-cancellation},
-@code{key-signature}, and @code{time-signature}.
-
-
-In such cases, text marks will be horizontally centered
-above the object. However this can be changed, as demonstrated
-on the second line of this example (in a score with multiple staves,
-this setting should be done for all the staves).
-
-
-@lilypond[fragment,quote,ragged-right,verbatim,relative=1]
-  e1
-  
-  % the RehearsalMark will be centered above the Clef
-  \override Score.RehearsalMark #'break-align-symbols = #'(clef)
-  \key a \major
-  \clef treble
-  \mark "↓"
-  e
-  
-  % the RehearsalMark will be centered above the TimeSignature
-  \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
-  \key a \major
-  \clef treble
-  \time 3/4
-  \mark "↓"
-  e2.
-  
-  % the RehearsalMark will be centered above the KeySignature
-  \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
-  \key a \major
-  \clef treble
-  \time 4/4
-  \mark "↓"
-  e1
-
-  \break
-  e
-  
-  % the RehearsalMark will be aligned with the left edge of the KeySignature
-  \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
-  \mark "↓"
-  \key a \major
-  e
-  
-  % the RehearsalMark will be aligned with the right edge of the KeySignature
-  \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
-  \key a \major
-  \mark "↓"
-  e
-  
-  % the RehearsalMark will be aligned with the left edge of the KeySignature
-  % and then shifted right by 1 unit.
-  \once \override Score.KeySignature #'break-align-anchor = #1
-  \key a \major
-  \mark "↓"
-  e1
-@end lilypond
-
-Although text marks are normally only printed above the topmost
-staff, you may alter this to print them on every staff:
-
-@lilypond[quote,ragged-right,verbatim,relative=2]
-{
-  \new Score \with {
-    \remove "Mark_engraver"
-  }
-  <<
-    \new Staff \with {
-      \consists "Mark_engraver"
-    }
-    { c''1 \mark "foo" c'' }
-    \new Staff \with {
-      \consists "Mark_engraver"
-    }
-    { c'1 \mark "foo" c' }
-  >>
-}
-@end lilypond
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+{aligning-marks-with-various-notation-objects.ly}
 
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+{printing-marks-on-every-staff.ly}
 
 @seealso
 
@@ -355,6 +260,7 @@ Internals Reference: @internalsref{RehearsalMark}.
 @knownissues
 @c  IMO this is a bug; hopefully it'll be fixed soon, so I can
 @c  delete this sentence.   -gp
+@c  A workaround is suggested in the first @snippets item -vv
 
 If a mark is entered at the end of the last bar of the score (where
 there is no next line), then the mark will not be printed at
index b457150eaed98b7b073a3787c10489e3a73f3cce..154d7243af5b6cb92b0634eb4337e23869081cbf 100644 (file)
@@ -7,13 +7,13 @@
  texidoc = "
 When writing a figured bass, here's a way to specify if you want your
 figures to be placed above or below the bass notes, by defining the
-BassFigureAlignmentPositioning #'direction property (exclusively in a
-Staff context). Choices are #UP (or #1), #CENTER (or #0) and #DOWN (or
-#-1).
+@code{BassFigureAlignmentPositioning #'direction} property (exclusively
+in a @code{Staff} context). Choices are @code{#UP} (or @code{#1}),
+@code{#CENTER} (or @code{#0}) and @code{#DOWN} (or @code{#-1}).
 
 As you can see here, this property can be changed as many times as you
-wish. Use \\once \\override if you dont want the tweak to apply to the
-whole score.
+wish. Use @code{\\once \\override} if you don't want the tweak to apply
+to the whole score. 
 " }
 % begin verbatim
 bass = { \clef bass g4 b, c d e d8 c d2}
diff --git a/input/lsr/adding-ambiti-per-voice.ly b/input/lsr/adding-ambiti-per-voice.ly
deleted file mode 100644 (file)
index b4d3e34..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.11.38"
-
-\header {
-  lsrtags = "pitches, staff-notation, vocal-music"
- texidoc = "
-Ambits can be added per voice. In this case, the ambitus must be moved
-manually to prevent collisions. 
-" }
-% begin verbatim
-\new Staff <<
-  \new Voice \with {
-    \consists "Ambitus_engraver"
-  } \relative c'' {
-    \override Ambitus #'X-offset = #2.0
-    \voiceOne
-    c4 a d e f1
-  }
-  \new Voice \with {
-    \consists "Ambitus_engraver"
-  } \relative c' {
-    \voiceTwo
-    es4 f g as b1
-  }
->>
diff --git a/input/lsr/adding-ambitus-per-voice.ly b/input/lsr/adding-ambitus-per-voice.ly
new file mode 100644 (file)
index 0000000..8d130aa
--- /dev/null
@@ -0,0 +1,26 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "pitches, staff-notation, vocal-music"
+ texidoc = "
+Ambitus can be added per voice. In this case, the ambitus must be moved
+manually to prevent collisions. 
+" }
+% begin verbatim
+\new Staff <<
+  \new Voice \with {
+    \consists "Ambitus_engraver"
+  } \relative c'' {
+    \override Ambitus #'X-offset = #2.0
+    \voiceOne
+    c4 a d e f1
+  }
+  \new Voice \with {
+    \consists "Ambitus_engraver"
+  } \relative c' {
+    \voiceTwo
+    es4 f g as b1
+  }
+>>
diff --git a/input/lsr/adding-an-extra-staff-at-a-line-break.ly b/input/lsr/adding-an-extra-staff-at-a-line-break.ly
new file mode 100644 (file)
index 0000000..bb9a54b
--- /dev/null
@@ -0,0 +1,44 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "staff-notation, contexts-and-engravers, breaks"
+ texidoc = "
+When adding a new staff at a line break, LilyPond will unfortunately
+add some extra space at the end of the line before the break (to fit in
+a key signature change, which  will never be printed anyway). The
+workaround is to add a setting of
+@code{Staff.explicitKeySignatureVisibility} as is shown in the example.
+In version 2.10 and earlier, you have to do a similar setting for the
+time signatures, see the example.
+
+
+" }
+% begin verbatim
+\score {
+  \new StaffGroup \relative c''{ 
+    \new Staff 
+    \key f \major
+    c1 c^"Unwanted extra space" \break 
+    << { c1 c }
+       \new Staff { 
+         \key f \major
+         \once \override Staff.TimeSignature #'stencil = ##f
+         c1 c 
+       } 
+    >>
+    c1 c^"Fixed here" \break 
+    << { c1 c }
+       \new Staff { 
+         \once \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible 
+         %The next line is not needed in 2.11.x or later:
+         \once \override Staff.TimeSignature #'break-visibility = #end-of-line-invisible 
+         \key f \major
+         \once \override Staff.TimeSignature #'stencil = ##f
+         c1 c 
+       } 
+    >>
+  }
+}
+
index ff9d5a2777381b3d23f116c15cd462119e274ed3..6cfd6cfc1d917e029b90581ae0b37d885ed436a7 100644 (file)
@@ -10,25 +10,14 @@ of  a piece.
 " }
 % begin verbatim
 \score {
-       <<
-               \new Staff \relative c''{ c1 c c c c }
-               \new StaffGroup \relative c''{ 
-                       \new Staff 
-                       c1 c
-                       << c1 \new Staff { c1 } >>
-                       c
-               }
-       >>
-       \layout {
-               
-               \context{
-                       \Score
-
-               }
-       }
+  <<
+    \new Staff \relative c'' { c1 c c c c }
+    \new StaffGroup \relative c'' {
+      \new Staff {
+        c1 c
+        << c1 \new Staff { \once \override Staff.TimeSignature #'stencil = ##f c1 } >>
+        c
+      }
+    }
+  >>
 }
-
-
-
-
-
diff --git a/input/lsr/adding-and-extra-staff-at-a-line-break.ly b/input/lsr/adding-and-extra-staff-at-a-line-break.ly
deleted file mode 100644 (file)
index 8f1472e..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.11.38"
-
-\header {
-  lsrtags = "staff-notation, contexts-and-engravers, breaks"
- texidoc = "
-When adding a new Staff at a line break, LilyPond will unfortunately
-add some extra space at the end of the line before the break (to fit in
-a key signature change, which  will never be printed anyway). The
-workaround is to add a setting of Staff.explicitKeySignatureVisibility
-as is shown in the example. In version 2.10 and earlier, you have to do
-a similar setting for the time signatures, see the example. 
-" }
-% begin verbatim
-\score {
-  \new StaffGroup \relative c''{ 
-    \new Staff 
-    \key f \major
-    c1 c^"Unwanted extra space" \break 
-    << { c1 c }
-       \new Staff { 
-         \key f \major
-         c1 c 
-       } 
-    >>
-    c1 c^"Fixed here" \break 
-    << { c1 c }
-       \new Staff { 
-         \once \set Staff.explicitKeySignatureVisibility = #end-of-line-invisible 
-         %The next line is not needed in 2.11.x or later:
-         \once \override Staff.TimeSignature #'break-visibility = #end-of-line-invisible 
-        \key f \major
-         c1 c 
-       } 
-    >>
-  }
-}
-
index d00ab08965c7b719481cc9407f8f2c7730cc9a98..50bf6f554b1d3cba2e3c4521562850666238f901 100644 (file)
@@ -8,7 +8,7 @@
 LilyPond makes drums input quite easy, with powerful pre-configured
 tools such as the @code{\\drummode} function and the @code{DrumStaff}
 context: drums are placed at their own staff positions (with a special
-clef symbol) and have noteheads according to the drum. You can easily
+clef symbol) and have note heads according to the drum. You can easily
 attach an extra symbol to the drum, and restrict the number of lines. 
 " }
 % begin verbatim
index 64fb4d5f25df791fac9cd927dd557176e1f7d333..c997121e8fc8ef09621bffc5ce79f6879e58f3b5 100644 (file)
@@ -9,15 +9,15 @@ To add fingerings to tablatures, you can use a combination of
 @code{\\markup} and @code{\\finger}. 
 " }
 % begin verbatim
-one = \markup{ \finger "1" }
-two = \markup{ \finger "2" }
-threetwo = \markup{ \column {\finger "3" \finger "2"} }
-threefour = \markup{ \column {\finger "3" \finger "4"} }
+one = \markup { \finger "1" }
+two = \markup { \finger "2" }
+threeTwo = \markup { \column { \finger "3" \finger "2" } }
+threeFour = \markup { \column { \finger "3" \finger "4" } }
 
 \score {      
   \context TabStaff {
     \stemUp
-    e8\4^\one b\2 < e, g\3 e'\1 >^>[ b\2 e\4] 
-    < a\3 fis'\1 >^>^\threetwo[ b\2 e\4]
+    e8\4^\one b\2 <e, g\3 e'\1>^>[ b\2 e\4] 
+    <a\3 fis'\1>^>^\threeTwo[ b\2 e\4]
   }
 }
index 4e8915f53c3913fcb9d98a78eee59cd92372c6ba..3cca1471ba8f9138865aa0933b5a630816be99ed 100644 (file)
@@ -15,6 +15,6 @@ brackets to appear; see also the \"Volta multi staff\" snippet.
 <<
   \new Staff { \repeat volta 2 { c'1 } \alternative { c' } }
   \new Staff { \repeat volta 2 { c'1 } \alternative { c' } }
-  \new Staff \with { \consists Volta_engraver } { c'2 g' e' a' }
+  \new Staff \with { \consists "Volta_engraver" } { c'2 g' e' a' }
   \new Staff { \repeat volta 2 { c'1 } \alternative { c' } }
- >>
+>>
index 68a31e707bc1f41e6e224c4ccdaa4736c113f4a2..1e71ef88cd6b37578532fc0c567c9e4928b89cd5 100644 (file)
@@ -5,31 +5,22 @@
 \header {
   lsrtags = "text, vocal-music, spacing"
  texidoc = "
-This snippets shows you how to bring the lyrics line closer to the
-Staff.
+This snippet shows you how to bring the lyrics line closer to the
+staff.
 " }
 % begin verbatim
 % Default layout:
-\score{
-  <<
-    \new Staff \new Voice = m \relative c'{ c4 d e f g f e d c1}
-    \new Lyrics \lyricsto m {aa aa aa aa aa aa aa aa aa }
-  >>
-}
+<<
+  \new Staff \new Voice = melody \relative c '{ c4 d e f g f e d c1 }
+  \new Lyrics \lyricsto melody { aa aa aa aa aa aa aa aa aa }
+>>
 
-% Reducing the minimum space below the Staff and above the Lyrics:
-
-\score {
-  <<
-    \new Staff \with {
-      \override VerticalAxisGroup #'minimum-Y-extent = #'(-1. 4)}
-    \new Voice = m \relative c'{ c4 d e f g f e d c1 }
-    \new Lyrics \with {
-      \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 1)}
-    \lyricsto m {aa aa aa aa aa aa aa aa aa }
-  >>
-
-  \header {
-    tagline = ""
-  }
-}
+% Reducing the minimum space below the staff and above the lyrics:
+<<
+  \new Staff \with {
+    \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 4) }
+  \new Voice = melody \relative c' { c4 d e f g f e d c1 }
+  \new Lyrics \with {
+    \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 1) }
+  \lyricsto melody { aa aa aa aa aa aa aa aa aa }
+>>
index 586103c4a0de81a63b92d5e352ac6f3d9b1ee9f8..becef5b1a0b136bf6f88899df66154ab641c17f5 100644 (file)
@@ -7,49 +7,47 @@
  texidoc = "
 Instrument names are generally printed at the left side of the staves.
 To align the names of several different intruments, you can put them in
-a \\markup block and use one of the following possibilites:
-
+a @code{\\markup} block and use one of the following possibilites:
 
 * 
-    Right-aligned instrument names: this is LilyPond's default behavior
+    Right-aligned instrument names: this is the default behavior
   
 * 
-    Center-aligned instrument names: with the \\hcenter-in #n syntax, you
-    can place the instrument names inside a padded box (n being the width
+    Center-aligned instrument names: with the @code{\\hcenter-in #n}
+command, you
+    can place the instrument names inside a padded box (@code{n} being the
+width
     of the box)
   
 * 
     Left-aligned instrument names: you have to print the names on top of an
-    empty box, using the \\combine command
-    with a \\hspace #n object.
+    empty box, using the @code{\\combine} command
+    with an @code{\\hspace #n} object.
   
 
 " }
 % begin verbatim
-\paper
-  indent = #0 
+\paper {
+  indent = #0
   left-margin = #30
   line-width = #160
 }
 
-\new StaffGroup \relative
-<<
+\new StaffGroup \relative <<
   \new Staff {
-    \set Staff.instrumentName = "blabla"
-    c1^"default" c1 \break 
-    \set Staff.instrumentName = \markup { \hcenter-in #10 "blabla" }
-    c1^"centered" c1 \break 
-    \set Staff.instrumentName = \markup {\combine \hspace #8 "blabla" }
-    c1^"left-aligned" c1 
-    
+    \set Staff.instrumentName = "Piccolo"
+    c1^"default" c \break
+    \set Staff.instrumentName = \markup { \hcenter-in #10 "Piccolo" }
+    c1^"centered" c \break
+    \set Staff.instrumentName = \markup { \combine \hspace #8 "Piccolo" }
+    c1^"left-aligned" c
   } 
   \new Staff {
-    \set Staff.instrumentName = "blo"
-    c1 c1 \break 
-    \set Staff.instrumentName = \markup { \hcenter-in #10 "blo" }
-    c1 c1 \break 
-    \set Staff.instrumentName = \markup {\combine \hspace #8 "blo" }
-    c1 c1 
-  } 
-  
+    \set Staff.instrumentName = "Flute"
+    c1 c \break
+    \set Staff.instrumentName = \markup { \hcenter-in #10 "Flute" }
+    c1 c \break
+    \set Staff.instrumentName = \markup { \combine \hspace #8 "Flute" }
+    c1 c
+  }
 >>
index fcd55166d1575adf07a39d431647d585b3b67a8a..677bbba44095fceed2f0cf8f74434fd52b9f66f0 100644 (file)
@@ -6,10 +6,10 @@
   lsrtags = "text, vocal-music"
  texidoc = "
 You can specify different horizontal alignment for your lyrics, by
-overriding the @code{#'self-alignment-X} property of the
-@code{LyricText} object. @code{#-1} is left, @code{#0} is center and
-@code{#1} is right; however, you can use @code{#LEFT}, @code{#CENTER}
-and @code{#RIGHT} as well. 
+overriding the @code{self-alignment-X} property of the @code{LyricText}
+object. @code{#-1} is left, @code{#0} is center and @code{#1} is right;
+however, you can use @code{#LEFT}, @code{#CENTER} and @code{#RIGHT} as
+well. 
 " }
 % begin verbatim
 \relative c'' {
@@ -18,5 +18,5 @@ and @code{#RIGHT} as well.
 \addlyrics {
   \once \override LyricText #'self-alignment-X = #LEFT "This is left-aligned" 
   \once \override LyricText #'self-alignment-X = #CENTER "This is centered" 
-  \once \override LyricText #'self-alignment-X = #1 "this is right-aligned"  
+  \once \override LyricText #'self-alignment-X = #1 "This is right-aligned"  
 }
diff --git a/input/lsr/aligning-marks-with-various-notation-objects.ly b/input/lsr/aligning-marks-with-various-notation-objects.ly
new file mode 100644 (file)
index 0000000..c51271c
--- /dev/null
@@ -0,0 +1,71 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "text"
+ texidoc = "
+If specified, text marks may be aligned with notation objects other
+than bar lines.  These objects include @code{ambitus},
+@code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
+@code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
+@code{time-signature}.
+
+
+
+In such cases, text marks will be horizontally centered above the
+object. However this can be changed, as demonstrated on the second line
+of this example (in a score with multiple staves, this setting should
+be done for all the staves).
+
+
+" }
+% begin verbatim
+\relative c' {
+  e1
+  
+  % the RehearsalMark will be centered above the Clef
+  \override Score.RehearsalMark #'break-align-symbols = #'(clef)
+  \key a \major
+  \clef treble
+  \mark "↓"
+  e
+  
+  % the RehearsalMark will be centered above the TimeSignature
+  \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
+  \key a \major
+  \clef treble
+  \time 3/4
+  \mark "↓"
+  e2.
+  
+  % the RehearsalMark will be centered above the KeySignature
+  \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+  \key a \major
+  \clef treble
+  \time 4/4
+  \mark "↓"
+  e1
+
+  \break
+  e
+  
+  % the RehearsalMark will be aligned with the left edge of the KeySignature
+  \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
+  \mark "↓"
+  \key a \major
+  e
+  
+  % the RehearsalMark will be aligned with the right edge of the KeySignature
+  \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
+  \key a \major
+  \mark "↓"
+  e
+  
+  % the RehearsalMark will be aligned with the left edge of the KeySignature
+  % and then shifted right by 1 unit.
+  \once \override Score.KeySignature #'break-align-anchor = #1
+  \key a \major
+  \mark "↓"
+  e1
+}
index 5e91f0313744cc90a6d48c697b8cb21d9eecc6d2..8376bfe45774107106843422c80be92b6d745d04 100644 (file)
@@ -6,7 +6,7 @@
   lsrtags = "editorial-and-educational-use, spacing"
  texidoc = "
 By default, fingering numbers will be printed outside the staff.
-However, this behavior can be cancelled.
+However, this behavior can be canceled.
 " }
 % begin verbatim
 \relative c' {
diff --git a/input/lsr/ambiti-multiple-voices.ly b/input/lsr/ambiti-multiple-voices.ly
deleted file mode 100644 (file)
index 6864d8d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.11.38"
-
-\header {
-  lsrtags = "pitches, vocal-music"
- texidoc = "
-If you have multiple voices in a single staff and you want a single
-ambitus per staff rather than per voice, add the
-@code{Ambitus_engraver} to the @code{Staff} context rather than to the
-@code{Voice} context. 
-" }
-% begin verbatim
-\new Staff \with {
-  \consists "Ambitus_engraver"
-  }
-<<
-  \new Voice \relative c'' {
-    \voiceOne
-    c4 a d e f1
-  }
-  \new Voice \relative c' {
-    \voiceTwo
-    es4 f g as b1
-  }
->>
-
diff --git a/input/lsr/ambitus-with-multiple-voices.ly b/input/lsr/ambitus-with-multiple-voices.ly
new file mode 100644 (file)
index 0000000..6864d8d
--- /dev/null
@@ -0,0 +1,27 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "pitches, vocal-music"
+ texidoc = "
+If you have multiple voices in a single staff and you want a single
+ambitus per staff rather than per voice, add the
+@code{Ambitus_engraver} to the @code{Staff} context rather than to the
+@code{Voice} context. 
+" }
+% begin verbatim
+\new Staff \with {
+  \consists "Ambitus_engraver"
+  }
+<<
+  \new Voice \relative c'' {
+    \voiceOne
+    c4 a d e f1
+  }
+  \new Voice \relative c' {
+    \voiceTwo
+    es4 f g as b1
+  }
+>>
+
diff --git a/input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly b/input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly
new file mode 100644 (file)
index 0000000..25c1061
--- /dev/null
@@ -0,0 +1,42 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "pitches, editorial-and-educational-use"
+ texidoc = "
+The @code{shapeNoteStyles} property gives you the ability to define
+various note head styles for each step of the scale (as defined by the
+key signature or the \"tonic\" property). This property requires a set
+of symbols, which can be purely arbitrary (geometrical expressions such
+as @code{triangle}, @code{cross}, @code{xcircle} etc. are allowed) or
+based on old American engraving tradition (you can use some latin note
+names as well). That said, if you're trying to imitate old American
+song books, you may also want to try LilyPond's predefined note head
+styles, through shortcut commands such as @code{\\aikenHeads} or
+@code{\\sacredHarpHeads}. This example shows different ways to obtain
+shape note heads, and demonstrates the ability to transpose a melody
+without losing the correspondence between harmonic functions and note
+head styles. 
+" }
+% begin verbatim
+fragment = {
+  \key c \major
+  c2 d e f g a b c
+}
+
+\score {
+  \new Staff {
+    \transpose c d 
+    \relative {
+      \set shapeNoteStyles = ##(do re mi fa #f la ti)
+      \fragment
+    }
+    
+    \relative {
+      \set shapeNoteStyles  = ##(cross triangle fa #f mensural xcircle diamond)
+      \fragment
+    }
+  }
+}
+
diff --git a/input/lsr/applying-notehead-styles-depending-on-the-step-of-the-scale.ly b/input/lsr/applying-notehead-styles-depending-on-the-step-of-the-scale.ly
deleted file mode 100644 (file)
index 2691f1e..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.11.38"
-
-\header {
-  lsrtags = "pitches, editorial-and-educational-use"
- texidoc = "
-The @code{shapeNoteStyles} property gives you the ability to define
-various notehead styles for each step of the scale (as defined by the
-key signature or the \"tonic\" property). This property requires a set
-of symbols, which can be purely arbitrary (geometrical expressions such
-as @code{triangle}, @code{cross}, @code{xcircle} etc. are allowed) or
-based on old American engraving tradition (you can use some latin note
-names as well). That said, if you're trying to imitate old American
-song books, you may also want to try LilyPond's predefined notehead
-styles, through shortcut commands such as @code{\\aikenHeads} or
-@code{\\sacredHarpHeads}. This example shows different ways to obtain
-shape noteheads, and demonstrates the ability to transpose a melody
-without losing the correspondence between harmonic functions and
-notehead styles. 
-" }
-% begin verbatim
-fragment = {
-  \key c \major
-  c2 d e f g a b c
-}
-
-\score {
-  \new Staff {
-    \transpose c d 
-    \relative {
-      \set shapeNoteStyles = ##(do re mi fa #f la ti)
-      \fragment
-    }
-    
-    \relative {
-      \set shapeNoteStyles  = ##(cross triangle fa #f mensural xcircle diamond)
-      \fragment
-    }
-  }
-}
-
diff --git a/input/lsr/automatic-beam-subdivisions.ly b/input/lsr/automatic-beam-subdivisions.ly
new file mode 100644 (file)
index 0000000..70b9962
--- /dev/null
@@ -0,0 +1,31 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "rhythms"
+ texidoc = "
+Beams can be subdivided automatically. By setting the property
+@code{subdivideBeams}, beams are subdivided at beat positions (as
+specified in @code{beatLength}). 
+" }
+% begin verbatim
+\score {
+  \new Staff \relative {
+    << {
+      \voiceOne
+      \set subdivideBeams = ##t
+      b'32[ a g f c' b a g b^"subdivide beams" a g f c' b a g]
+      \oneVoice
+    }
+    \new Voice {
+      \voiceTwo
+      b32_"default"[ a g f c' b a g b a g f c' b a g]
+    } >>
+    \set beatLength = #(ly:make-moment 1 8)
+    b32^"beatLength 1 8"[ a g f c' b a g]
+    \set beatLength = #(ly:make-moment 1 16)
+    b32^"beatLength 1 16"[ a g f c' b a g]
+  }
+}
+
index ae1c92d6d5b12125ae2eafce2f6612414fdbc9c6..9d4c1d4c12b1782db8e8f00b2e1848956bc97174 100644 (file)
@@ -7,15 +7,15 @@
  texidoc = "
 In a simple time signature of 2/2 or 4/4, 8th notes are beamed by
 default as two sets of four. Using a macro which overrides the
-autobeaming behaviour, this snippet changes the beaming to quarter note
+autobeaming behavior, this snippet changes the beaming to quarter note
 beats. 
 " }
 % begin verbatim
 % Automatic beams two per two in 4/4 or 2/2 time signature
-%            _____
-% Default   | | | | 
-%                 _   _
-% I want    | | | |
+%              _____
+% Default     | | | |
+%              _   _
+% Required    | | | |
 
 % The good way adapted from David Bobroff
 
@@ -33,7 +33,7 @@ qbeam= {
       g8^\markup { without the macro } g g g g g g g |
       g g g g4 g8 g g |
     }
-       %Use the macro
+    %Use the macro
     \new Staff \relative c'' {
       \time 4/4
       \qbeam
index 5161cd6a5b4c5456a5f40563cc5052c43fc6b15a..18feb70cc647be4142af10835131a6baea8a8b87 100644 (file)
@@ -10,7 +10,7 @@ Since staff lines are in a lower layer than most other grobs, this
 white box will not overlap any other grob. 
 " }
 % begin verbatim
-{
+\relative {
   \override TextScript #'extra-offset = #'(2 . 4)
-  c'2-\markup  { \whiteout \pad-markup #0.5 foo } c
+  c2-\markup  { \whiteout \pad-markup #0.5 "middle C" } c
 } 
index cffb62e0a227cf90739c10afc5d7f32dbd764455..42c01eb15ac3fbb9254afc306e939bf4fa3a9cb7 100644 (file)
@@ -1,3 +1,3 @@
 positioning-segno-and-coda-with-line-break.ly
-adding-and-extra-staff-at-a-line-break.ly
 beams-across-line-breaks.ly
+adding-an-extra-staff-at-a-line-break.ly
diff --git a/input/lsr/breathing-sign.ly b/input/lsr/breathing-sign.ly
deleted file mode 100644 (file)
index 07846dc..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.11.38"
-
-\header {
-  lsrtags = "expressive-marks"
- texidoc = "
-Breathing signs are available in different tastes: commas (default),
-ticks, vees and \"railroad tracks\" (caesura).
-" }
-% begin verbatim
-{
-  %% Modern notation:
-  \new Staff {
-    \relative c'' {
-      \key es \major \time 3/4
-
-      %% this bar contains no \breathe
-      <<
-       { g4 as g } \\
-       { es4 bes es }
-      >> |
-
-      %% by default, \breathe uses the rcomma, just as if saying:
-      %% \override BreathingSign  #'text =
-                               %       #(make-musicglyph-markup "scripts.rcomma")
-      <<
-       { g4 as g } \\
-       { es4 \breathe bes es }
-      >> |
-
-      %% rvarcomma and lvarcomma are variations of the default rcomma
-      %% and lcomma
-
-      %% N.B.: must use Staff context here, since we start a Voice below
-      \override Staff.BreathingSign  #'text =
-      #(make-musicglyph-markup "scripts.rvarcomma")
-      <<
-       { g4 as g } \\
-       { es4 \breathe bes es }
-      >> |
-
-      %% wedge
-      \override BreathingSign  #'text =
-      #(make-musicglyph-markup "scripts.upbow")
-      es8 d es f g8 \breathe f |
-
-      %% caesura
-      \override BreathingSign  #'text =
-      #(make-musicglyph-markup "scripts.caesura.curved")
-      es8[ d] \breathe  es[ f g f] |
-      es2 r4 \bar "||" \break
-    }
-  }
-}
-
diff --git a/input/lsr/breathing-signs.ly b/input/lsr/breathing-signs.ly
new file mode 100644 (file)
index 0000000..bd79587
--- /dev/null
@@ -0,0 +1,35 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "expressive-marks"
+ texidoc = "
+Breathing signs are available in different tastes: commas (default),
+ticks, vees and \"railroad tracks\" (caesura).
+" }
+% begin verbatim
+\new Staff \relative c'' {
+  \key es \major
+  \time 3/4
+  % this bar contains no \breathe
+  << { g4 as g } \\ { es4 bes es } >> |
+  % Modern notation:
+  % by default, \breathe uses the rcomma, just as if saying:
+  % \override BreathingSign  #'text = #(make-musicglyph-markup "scripts.rcomma")
+  << { g4 as g } \\ { es4 \breathe bes es } >> |
+  
+  % rvarcomma and lvarcomma are variations of the default rcomma and lcomma
+  % N.B.: must use Staff context here, since we start a Voice below
+  \override Staff.BreathingSign  #'text = #(make-musicglyph-markup "scripts.rvarcomma")
+  << { g4 as g } \\ { es4 \breathe bes es } >> |
+  
+  % vee
+  \override BreathingSign  #'text = #(make-musicglyph-markup "scripts.upbow")
+  es8[ d es f g] \breathe f |
+  
+  % caesura
+  \override BreathingSign  #'text = #(make-musicglyph-markup "scripts.caesura.curved")
+  es8[ d] \breathe  es[ f g f] |
+  es2 r4 \bar "||"
+}
index 373bc05069b5a6c2d6c219dcd79bf71272b70a00..44027924e8ffaa32748129d28eae64a2cdc11bf5 100644 (file)
@@ -1,45 +1,43 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-\version "2.11.38"
-
-\header {
-  lsrtags = "expressive-marks"
- texidoc = "
-In order to make parts of a crescendo hairpin invisible, the following
-method is used: A white rectangle is drawn on top of the respective
-part of the crescendo hairpin, making it invisible. The rectangle is
-defined as postscript code within a text markup.
-
-In order to fine-tune the position and size of the markup, the number
-preceding the \"setgray\" in the postscript definition can be set to a
-value <1 making it grey. The two numbes before the \"scale\" in the
-postscript code are responsible for the width and height of the
-rectangle, the two numbers before the \"translate\" change the x- and
-y-origin of the rectangle. 
-
-Make sure to put the Hairpin in a lower layer than the Text Markup to
-actually draw the rectangle above the hairpin. 
-" }
-% begin verbatim
-% Version specific to 2.10; fails under 2.11 due to rest position -np
-
-\score
-{
-    \relative c' {
-       << {
-           \dynamicUp
-           \override DynamicLineSpanner #'staff-padding = #4
-           r2 r16 c'8.\pp r4
-       } \\ {
-           \override DynamicLineSpanner #'layer = #0
-           des,2~\mf \<
-           \override TextScript #'layer = #2
-           des16_\markup { 
-              \postscript #"1.9 -4.5 translate 5 4 scale 1 setgray 0 0 moveto 0 1 
-              lineto 1 1 lineto 1 0 lineto 0 0 lineto fill" }
-           r8. des4~ des16-> \sff
-       }
-       >>
-    }
-    \layout { ragged-right = ##t}
-}
+\version "2.11.38"\r
+\r
+\header {\r
+  doctitle = "Broken crescendo hairpin"\r
+  lsrtags = "expressive-marks"\r
+  texidoc = "\r
+In order to make parts of a crescendo hairpin invisible, the following\r
+method is used: A white rectangle is drawn on top of the respective\r
+part of the crescendo hairpin, making it invisible. The rectangle is\r
+defined as postscript code within a text markup.\r
+\r
+To fine-tune the position and size of the markup, the number\r
+preceding @code{setgray} in the postscript definition can be set to a\r
+value <1 making it grey. The two numbers before @code{scale} in the\r
+postscript code are responsible for the width and height of the\r
+rectangle, the two numbers before @code{translate} change the x- and\r
+y-origin of the rectangle. \r
+\r
+Make sure to put the hairpin in a lower layer than the text markup to\r
+actually draw the rectangle above the hairpin. \r
+" }\r
+\r
+\score {\r
+  \relative c' {\r
+    << {\r
+      \dynamicUp\r
+      \override DynamicLineSpanner #'staff-padding = #4\r
+      r2 r16 c'8.\pp r4\r
+    } \\ {\r
+      \override DynamicLineSpanner #'layer = #0\r
+      des,2\mf\< ~\r
+      \override TextScript #'layer = #2\r
+      des16_\markup {\r
+        \postscript #"1.9 -8 translate 5 4 scale 1 setgray 0 0 moveto 0 1\r
+        lineto 1 1 lineto 1 0 lineto 0 0 lineto fill"\r
+      }\r
+      r8. des4 ~ des16->\sff\r
+    } >>\r
+  }\r
+  \layout { ragged-right = ##t }\r
+}\r
index 2139970e70a5d41e325c0cd38d48512f77c8dd2b..a26e579de9021bb5b29b0fff26b8a801cf300827 100644 (file)
@@ -6,31 +6,27 @@
   lsrtags = "expressive-marks, text"
  texidoc = "
 This example provides a function to typeset a hairpin (de)crescendo
-with some additional text below it, such as \"molto\" or \"poco\".The
+with some additional text below it, such as \"molto\" or \"poco\". The
 example also illustrates how to modify the way an object is normally
 printed, using some Scheme code.  
 " }
 % begin verbatim
-hairpinWithCenteredText = #(define-music-function
-                          (parser location text) (markup?)
+hairpinWithCenteredText = #(define-music-function (parser location text) (markup?)
 #{
-\override Voice.Hairpin #'stencil = #(lambda (grob)
- (ly:stencil-aligned-to
-  (ly:stencil-combine-at-edge
-   (ly:stencil-aligned-to (ly:hairpin::print grob) X CENTER)
-   Y
-   DOWN
-   (ly:stencil-aligned-to (ly:text-interface::print grob) X CENTER))
-  X LEFT))
-\override Voice.Hairpin #'text = $text
+  \override Voice.Hairpin #'stencil = #(lambda (grob)
+  (ly:stencil-aligned-to
+   (ly:stencil-combine-at-edge
+    (ly:stencil-aligned-to (ly:hairpin::print grob) X CENTER)
+    Y DOWN
+    (ly:stencil-aligned-to (ly:text-interface::print grob) X CENTER))
+   X LEFT))
+  \override Voice.Hairpin #'text = $text
 #})
 
-
 hairpinMolto = \hairpinWithCenteredText \markup { \italic "molto" }
-hairpinMore  = \hairpinWithCenteredText \markup { \bigger "moltissimo" }
+hairpinMore = \hairpinWithCenteredText \markup { \bigger "moltissimo" }
 
-\new Staff {
-   \hairpinMolto c'2\< c'2\f
-   \hairpinMore  c'2\< c'2\f
+{
+  \hairpinMolto c'2\< c'2\f
+  \hairpinMore  c'2\< c'2\f
 }
-
index 5bc4e29fa5de1e7e2ca9f16e74edbc3aab9c9052..3f8ad3251f90b1935e5064ae048971d126868ce0 100644 (file)
@@ -16,6 +16,7 @@ smallFlageolet = #(let ((m (make-music 'ArticulationEvent
                     (ly:music-property m 'tweaks)))
        m)
 
-\relative c'' { d4^\flageolet_\markup { default size } d4_\flageolet
-  c4^\smallFlageolet_\markup { smaller } c4_\smallFlageolet 
+\relative c'' {
+  d4^\flageolet_\markup { default size } d4_\flageolet
+  c4^\smallFlageolet_\markup { smaller } c4_\smallFlageolet
 }
index 7f718587877aab0eb652273a6a92acdb76aee3d2..465286b3bcfbba49c2eeab7363b24e9599d73a95 100644 (file)
@@ -5,8 +5,9 @@
 \header {
   lsrtags = "simultaneous-notes, editorial-and-educational-use, tweaks-and-overrides"
  texidoc = "
-Individual noteheads in a chord can be modified with the @code{\\tweak}
-command inside a chord, by altering the @code{'font-size} property.
+Individual note heads in a chord can be modified with the
+@code{\\tweak} command inside a chord, by altering the
+@code{'font-size} property.
 
 
 Inside the chord (within the brackets @code{< >}), before the note to
@@ -18,8 +19,7 @@ notehead).
 The code for the chord example shown: @code{} 
 " }
 % begin verbatim
+\layout { ragged-right = ##t }
 \relative {
   <\tweak #'font-size #+2 c e g c \tweak #'font-size #-2 e>1^\markup { A tiny e }_\markup { A big c }
 }
-\layout { ragged-right = ##t }
-
index bf9a0eba4b88cbbe5a3322c2f440254baea9b294..163a91b6b13234d2cb6a7c89b9ae64cbf9d06c3b 100644 (file)
@@ -6,17 +6,16 @@
   doctitle = "Changing form of multi-measure rests"
   lsrtags = "rhythms,tweaks-and-overrides"
   texidoc = "
-If there are 10 or fewer measures of rest, LilyPond prints
+If there are ten or fewer measures of rests, LilyPond prints
 a series of longa and breve rests (called in German
-Kirchenpausen - church rests) within the staff and
-prints a simple line otherwise.  This default number of 10
+\"Kirchenpausen\" - church rests) within the staff and
+prints a simple line otherwise.  This default number of ten
 may be changed by an override:
 "}
 % begin verbatim
 \relative c'' {
-\compressFullBarRests
-R1*2 | R1*5 | R1*9
-\override MultiMeasureRest #'expand-limit = 3
-R1*2 | R1*5 | R1*9
+  \compressFullBarRests
+  R1*2 | R1*5 | R1*9
+  \override MultiMeasureRest #'expand-limit = 3
+  R1*2 | R1*5 | R1*9
 }
-
index a5b17af197bf35c110bf7b286d527e6a9dee1e3b..9f3fb3f9f9620ad26dd9c9d8b81d57cff4551bce 100644 (file)
@@ -6,7 +6,7 @@
   lsrtags = "rhythms"
  texidoc = "
 By default, only the numerator of the tuplet number is printed over the
-tuplet bracket, i.e. the denominator of the argument to the
+tuplet bracket, i.e., the denominator of the argument to the
 @code{\\times} command. Alternatively, num:den of the tuplet number may
 be printed, or the tuplet number may be suppressed altogether.
 " }
index da81799a09645ee67664fc06761d1b6f2cfc148d..eee7f5b2349f96e64b7e53b590ccfa4f41c85796 100644 (file)
@@ -6,12 +6,12 @@
   lsrtags = "rhythms, contexts-and-engravers"
  texidoc = "
 The @code{measureLength} property, together with
-@code{measurePosition}, determines when a barline is needed. However,
+@code{measurePosition}, determines when a bar line is needed. However,
 when using @code{\\compressMusic}, the scaling of durations makes it
 difficult to change time signatures without making a mess of it.
 Therefore, @code{measureLength} has to be set manually, using the
-@code{ly:make-moment} callback. The second argument has to be the same
-as the second argument of @code{\\compressMusic}. 
+@code{ly:make-moment} callback. The second argument must be the same as
+the second argument of @code{\\compressMusic}. 
 " }
 % begin verbatim
 \layout {
index fe0a4ea9eb2c03ab847b505597564ef2410a69f0..af753c7f6ccc2e3eb8e6c95a4143abe746177808 100644 (file)
@@ -14,8 +14,8 @@ printed when any of these properties are changed.
 Note that changing the glyph, the position of the clef, or the
 octavation, does not in itself change the position of subsequent notes
 on the staff: the position of middle C must also be specified to do
-this. The positional parameters are relative to the staff centre line,
-positive numbers displacing upwards, counting 1 for each line and
+this. The positional parameters are relative to the staff center line,
+positive numbers displacing upwards, counting one for each line and
 space. The @code{clefOctavation} value would normally be set to 7, -7,
 15 or -15, but other values are valid.
 
@@ -25,7 +25,7 @@ printed at both the end of the previous line and the beginning of the
 new line by default. If the warning clef at the end of the previous
 line is not required it can be suppressed by setting the @code{Staff}
 property @code{explicitClefVisibility} to the value
-@code{end-of-line-invisible}. The default behaviour can be recovered
+@code{end-of-line-invisible}. The default behavior can be recovered
 with  @code{\\unset Staff.explicitClefVisibility}.
 
 The following examples show the possibilities when setting these
@@ -77,6 +77,6 @@ line, they do not.
   
   % Here we go back to the normal clef:
 
-  \set Staff.middleCPosition = #4
+  \set Staff.middleCPosition = #0
   c'
 }
index ed927bf6bd8afb73365b60dd894c0ad216594fe9..9f9092b29a80241de0c29de4ad32c4eeee99057f 100644 (file)
@@ -5,17 +5,13 @@
 \header {
   lsrtags = "expressive-marks, text"
  texidoc = "
-Some dynamics may involve text indications (such as \"più forte\",
-\"piano subito\", etc.). They can be produced using a @code{\\markup}
-block.
+Some dynamics may involve text indications (such as \"più forte\" or
+\"piano subito\"). They can be produced using a @code{\\markup} block.
 " }
 % begin verbatim
-\layout { ragged-right = ##t }
-
-piuf = \markup { \italic "più" \dynamic "f" }
+piuF = \markup { \italic "più" \dynamic "f" }
 
 \relative c'' {
-  c2
-  c-\piuf
+  c2 c-\piuF
 }
 
index b180f3b5a71b6dfd72de9f37fe797df668101989..ef63f1f01d4dd6c016b7a60b043a51dfaf8ddc15 100644 (file)
@@ -14,7 +14,7 @@ be switched off. However, you'd better not use it if there are any
 solos, as they won't be indicated. In such cases, you may simply want
 to use standard LilyPond polyphony. This snippet presents the three
 ways two parts can be printed on a same staff: standard polyphony,
-@code{\\partcombine} whitout texts, and @code{\\partcombine} with texts.
+@code{\\partcombine} without texts, and @code{\\partcombine} with texts.
 
 
 
index 7877ee704b8fc7d8ef466bcbd5b383367acc8317..aaa0da421853ecf74aef14e369a5b9c35f8303af 100644 (file)
@@ -9,7 +9,7 @@ Odd 20th century time signatures (such as \"5/8\") can often be played
 as compound time signatures (e.g. \"3/8 + 2/8\"), which combine two or
 more inequal metrics. LilyPond can make such music quite easy to read
 and play, by explicitly printing the compound time signatures and
-adapting the automatic beaming behaviour. (You can even add graphic
+adapting the automatic beaming behavior. (You can even add graphic
 measure grouping indications; see the appropriate snippet in this
 database.) 
 " }
index 1821f37809553c5ee19163ff3b1118679b718908..1a6e92f2661eca46eb62e6b9a794f092c6ba8b4b 100644 (file)
@@ -5,17 +5,14 @@
 \header {
   lsrtags = "expressive-marks"
  texidoc = "
-Use a glissando without final note. Contemporary glissando!
+A contemporary glissando without a final note can be typeset using a
+hidden note and cadenza timing.
 " }
 % begin verbatim
 \relative c'' {
   \time 3/4
   \override Glissando #'style = #'zigzag
   c4 c
-  \cadenzaOn  c\glissando \hideNotes c,, \unHideNotes \cadenzaOff
+  \cadenzaOn c\glissando \hideNotes c,, \unHideNotes \cadenzaOff
   \bar "|"
 }
-
-\addlyrics { Use cadenzaOn glissando hideNotes }
-\addlyrics { unHideNotes cadenzaOff, skip_and_\bar \skip 4 }
-
index 0e9125fcdd7cab8bc1f1d434cf85df66808142b5..670a7a75febc7101cca765da73e4205fe7bbed2c 100644 (file)
@@ -1,10 +1,11 @@
 creating-blank-staves.ly
 chant-or-psalms-notation.ly
-adding-and-extra-staff-at-a-line-break.ly
+adding-a-figured-bass-above-or-below-the-notes.ly
+adding-an-extra-staff-at-a-line-break.ly
 adding-an-extra-staff.ly
 mensurstriche-layout-bar-lines-between-the-staves.ly
 changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
 engravers-one-by-one.ly
-adding-a-figured-bass-above-or-below-the-notes.ly
+use-square-bracket-at-the-start-of-a-staff-group.ly
 vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
 nesting-staves.ly
index 54853bdb5eca621059c31136273378419aca0381..c88c7ea5316894dc7aea6d5b7b27f46e52b32025 100644 (file)
@@ -5,12 +5,12 @@
 \header {
   lsrtags = "rhythms, tweaks-and-overrides"
  texidoc = "
-The default behaviour of tuplet-bracket visibility is to print a
-bracket unless there is a beam of the same length as the tuplet. To
-control the visibility of tuplet brackets, you can set the property
-@code{TupletBracket #'bracket-visibility} to either @code{##t} (always
-print a bracket), @code{##f} (never print a bracket) or
-@code{#'if-no-beam} (only print a bracket if there is no beam). 
+The default behavior of tuplet-bracket visibility is to print a bracket
+unless there is a beam of the same length as the tuplet. To control the
+visibility of tuplet brackets, set the property @code{TupletBracket
+#'bracket-visibility} to either @code{##t} (always print a bracket),
+@code{##f} (never print a bracket) or @code{#'if-no-beam} (only print a
+bracket if there is no beam). 
 " }
 % begin verbatim
 mus = \relative c'' {
index 726cf8422aa10fe9dfebeaae5618f5fc55662455..08d03b1dcecdb978903a081ec7499b195b5f7e56 100644 (file)
@@ -8,9 +8,9 @@
 In music that contains many occurrences of the same sequence of notes
 at different pitches, you can use the following music function. It
 takes a note, of which the pitch is used. The supporting Scheme
-functions were borrowed from the Tips and Tricks document in the
-manual. This example creates the rhythm used throughout Mars, from
-Gustav Holst's The Planets. 
+functions were borrowed from the \"Tips and tricks\" document in the
+manual for version 2.10. This example creates the rhythm used
+throughout Mars, from Gustav Holst's The Planets. 
 " }
 % begin verbatim
 #(define (make-note-req p d)
index deb6622518a5b7e4499a0e6ee1c10bba80442c83..ac0c6d32a8e06bf5b3f785f0e903ce9fe6c9421b 100644 (file)
@@ -11,10 +11,6 @@ the @code{Staff} context the @code{Time_signature_engraver}, the
 @code{Clef_engraver} and the @code{Bar_engraver}. 
 " }
 % begin verbatim
-\header {
-  tagline = ""
-}
-
 #(set-global-staff-size 20)
 
 \score {
@@ -25,22 +21,22 @@ the @code{Staff} context the @code{Time_signature_engraver}, the
     indent = 0\in
     \context {
       \Staff
-      \remove Time_signature_engraver
-      \remove Clef_engraver
-      \remove Bar_engraver
+      \remove "Time_signature_engraver"
+      \remove "Clef_engraver"
+      \remove "Bar_engraver"
     }
     \context {
       \Score
-      \remove Bar_number_engraver
+      \remove "Bar_number_engraver"
     }
   }
 }
 
 \paper {
   #(set-paper-size "letter")
-  raggedlastbottom = ##f
-  linewidth = 7.5\in
-  leftmargin = 0.5\in
-  bottommargin = 0.25\in
-  topmargin = 0.25\in
+  ragged-last-bottom = ##f
+  line-width = 7.5\in
+  left-margin = 0.5\in
+  bottom-margin = 0.25\in
+  top-margin = 0.25\in
 }
index 6406707e90e17a36f4b3c794b907625eb436ecea..69ce5da881ad959b21d4030e57f7febfab7e9222 100644 (file)
@@ -24,8 +24,6 @@ parenF = #(make-dynamic-script (markup #:line (#:normal-text #:italic
            #:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text #:italic
            #:fontsize 2 ")"
           )))
-
-\score {
-  { c''\parenF c'' c'' \dynamicUp c''\parenF }
+{
+  c''4\parenF c'' c'' \dynamicUp c''\parenF
 }
-
index a3d250f11d50f4d4bd1383691abada68deaa3db2..b823da152a277c6d720bde3592899d1fa7498896 100644 (file)
@@ -8,31 +8,24 @@
 Custodes may be engraved in various styles.
 " }
 % begin verbatim
-\layout {
-  \context {
-    \Staff
-    \consists Custos_engraver
-  }
-  ragged-right = ##t
-}
-
-{
-  \override Staff.Custos  #'neutral-position = #4
-
-  \override Staff.Custos  #'style = #'hufnagel
-  c'1^"hufnagel"
-  \break < d' a' f''>1
+\layout { ragged-right = ##t }
 
-  \override Staff.Custos  #'style = #'medicaea
-  c'1^"medicaea"
-  \break < d' a' f''>1
-
-  \override Staff.Custos  #'style = #'vaticana
-  c'1^"vaticana"
-  \break < d' a' f''>1
-
-  \override Staff.Custos  #'style = #'mensural
-  c'1^"mensural"
-  \break < d' a' f''>1
+\new Staff \with { \consists "Custos_engraver" } \relative c' {
+  \override Staff.Custos #'neutral-position = #4
+  
+  \override Staff.Custos #'style = #'hufnagel
+  c1^"hufnagel" \break
+  <d a' f'>
+  
+  \override Staff.Custos #'style = #'medicaea
+  c^"medicaea" \break
+  <d a' f'>
+  
+  \override Staff.Custos #'style = #'vaticana
+  c^"vaticana" \break
+  <d a' f'>
+  
+  \override Staff.Custos #'style = #'mensural
+  c^"mensural" \break
+  <d a' f'>
 }
-
index dc2dc609c95a5ee7c3f86fade214e9693b72a5c5..3444daee8d5895af524a9e578a308e490aa352a5 100644 (file)
 \header {
   lsrtags = "vocal-music, piano-music, strings, midi"
  texidoc = "
-Problem: How to know which MidiInstrument would be best for your
-composition? Solution: A Lilypond demo file. 
-" }
-% begin verbatim
-%\version "2.11.38"
+Problem: How to know which @code{midiInstrument} would be best for your
+composition?Solution: A LilyPond demo file.
 
-basemelodie = { c'4. \mf g  c'16 b' c'' d'' | e'' d'' e'' f'' g''4 g'''4 r | r1 }
-melodie = { \tempo 4 = 150 \basemelodie }
 
+" }
+% begin verbatim
 \header {
   title = "Demo of all midi sounds"
-  arranger = "Myself"
+  arranger = "Myself "
 }
 
-\score { 
+basemelodie = \relative c' {
+  c4. \mf g  c16 b' c d |
+  e d e f g4 g'4 r |
+  r1
+}
+melodie = { \tempo 4 = 150 \basemelodie }
+
+\score {
   \new Staff <<
     \new Voice { \melodie 
-    } %Voice
-  >> %Staff
-  \layout {  }
-} %score
+    }
+  >>
+  \layout { }
+}
 
 \score { 
   \new Staff <<
-    \tempo 4 = 180 
-    %\set Staff.instrumentName="S/A"
+    %\set Staff.instrumentName= "S/A"
     %\set Staff.midiMinimumVolume = #0.2 
     %\set Staff.midiMaximumVolume = #0.4
     %\set Voice.dynamicAbsoluteVolumeFunction = #0.6
     \new Voice { r \mf
-      \set Staff.midiInstrument="acoustic grand" \melodie
-      \set Staff.midiInstrument="bright acoustic" \melodie
-      \set Staff.midiInstrument="electric grand" \melodie
-      \set Staff.midiInstrument="honky-tonk" \melodie
-      \set Staff.midiInstrument="electric piano 1" \melodie
-      \set Staff.midiInstrument="electric piano 2" \melodie
-      \set Staff.midiInstrument="harpsichord" \melodie
-      \set Staff.midiInstrument="clav" \melodie
-      \set Staff.midiInstrument="celesta" \melodie
-      \set Staff.midiInstrument="glockenspiel" \melodie
-      \set Staff.midiInstrument="music box" \melodie
-      \set Staff.midiInstrument="vibraphone" \melodie
-      \set Staff.midiInstrument="marimba" \melodie
-      \set Staff.midiInstrument="xylophone" \melodie
-      \set Staff.midiInstrument="tubular bells" \melodie
-      \set Staff.midiInstrument="dulcimer" \melodie
-      \set Staff.midiInstrument="drawbar organ" \melodie
-      \set Staff.midiInstrument="percussive organ" \melodie
-      \set Staff.midiInstrument="rock organ" \melodie
-      \set Staff.midiInstrument="church organ" \melodie
-      \set Staff.midiInstrument="reed organ" \melodie
-      \set Staff.midiInstrument="accordion" \melodie
-      \set Staff.midiInstrument="harmonica" \melodie
-      \set Staff.midiInstrument="concertina" \melodie
-      \set Staff.midiInstrument="acoustic guitar (nylon)" \melodie
-      \set Staff.midiInstrument="acoustic guitar (steel)" \melodie
-      \set Staff.midiInstrument="electric guitar (jazz)" \melodie
-      \set Staff.midiInstrument="electric guitar (clean)" \melodie
-      \set Staff.midiInstrument="electric guitar (muted)" \melodie
-      \set Staff.midiInstrument="overdriven guitar" \melodie
-      \set Staff.midiInstrument="distorted guitar" \melodie
-      \set Staff.midiInstrument="acoustic bass" \melodie
-      \set Staff.midiInstrument="electric bass (finger)" \melodie
-      \set Staff.midiInstrument="electric bass (pick)" \melodie
-      \set Staff.midiInstrument="fretless bass" \melodie
-      \set Staff.midiInstrument="slap bass 1" \melodie
-      \set Staff.midiInstrument="slap bass 2" \melodie
-      \set Staff.midiInstrument="synth bass 1" \melodie
-      \set Staff.midiInstrument="synth bass 2" \melodie
-      \set Staff.midiInstrument="violin" \melodie
-      \set Staff.midiInstrument="viola" \melodie
-      \set Staff.midiInstrument="cello" \melodie
-      \set Staff.midiInstrument="contrabass" \melodie
-      \set Staff.midiInstrument="tremolo strings" \melodie
-      \set Staff.midiInstrument="pizzicato strings" \melodie
-      \set Staff.midiInstrument="orchestral strings" \melodie
-      \set Staff.midiInstrument="timpani" \melodie
-      \set Staff.midiInstrument="string ensemble 1" \melodie
-      \set Staff.midiInstrument="string ensemble 2" \melodie
-      \set Staff.midiInstrument="synthstrings 1" \melodie
-      \set Staff.midiInstrument="synthstrings 2" \melodie
-      \set Staff.midiInstrument="choir aahs" \melodie
-      \set Staff.midiInstrument="voice oohs" \melodie
-      \set Staff.midiInstrument="synth voice" \melodie
-      \set Staff.midiInstrument="orchestra hit" \melodie
-      \set Staff.midiInstrument="trumpet" \melodie
-      \set Staff.midiInstrument="trombone" \melodie
-      \set Staff.midiInstrument="tuba" \melodie
-      \set Staff.midiInstrument="muted trumpet" \melodie
-      \set Staff.midiInstrument="french horn" \melodie
-      \set Staff.midiInstrument="brass section" \melodie
-      \set Staff.midiInstrument="synthbrass 1" \melodie
-      \set Staff.midiInstrument="synthbrass 2" \melodie
-      \set Staff.midiInstrument="soprano sax" \melodie
-      \set Staff.midiInstrument="alto sax" \melodie
-      \set Staff.midiInstrument="tenor sax" \melodie
-      \set Staff.midiInstrument="baritone sax" \melodie
-      \set Staff.midiInstrument="oboe" \melodie
-      \set Staff.midiInstrument="english horn" \melodie
-      \set Staff.midiInstrument="bassoon" \melodie
-      \set Staff.midiInstrument="clarinet" \melodie
-      \set Staff.midiInstrument="piccolo" \melodie
-      \set Staff.midiInstrument="flute" \melodie
-      \set Staff.midiInstrument="recorder" \melodie
-      \set Staff.midiInstrument="pan flute" \melodie
-      \set Staff.midiInstrument="blown bottle" \melodie
-      \set Staff.midiInstrument="shakuhachi" \melodie
-      \set Staff.midiInstrument="whistle" \melodie
-      \set Staff.midiInstrument="ocarina" \melodie
-      \set Staff.midiInstrument="lead 1 (square)" \melodie
-      \set Staff.midiInstrument="lead 2 (sawtooth)" \melodie
-      \set Staff.midiInstrument="lead 3 (calliope)" \melodie
-      \set Staff.midiInstrument="lead 4 (chiff)" \melodie
-      \set Staff.midiInstrument="lead 5 (charang)" \melodie
-      \set Staff.midiInstrument="lead 6 (voice)" \melodie
-      \set Staff.midiInstrument="lead 7 (fifths)" \melodie
-      \set Staff.midiInstrument="lead 8 (bass+lead)" \melodie
-      \set Staff.midiInstrument="pad 1 (new age)" \melodie
-      \set Staff.midiInstrument="pad 2 (warm)" \melodie
-      \set Staff.midiInstrument="pad 3 (polysynth)" \melodie
-      \set Staff.midiInstrument="pad 4 (choir)" \melodie
-      \set Staff.midiInstrument="pad 5 (bowed)" \melodie
-      \set Staff.midiInstrument="pad 6 (metallic)" \melodie
-      \set Staff.midiInstrument="pad 7 (halo)" \melodie
-      \set Staff.midiInstrument="pad 8 (sweep)" \melodie
-      \set Staff.midiInstrument="fx 1 (rain)" \melodie
-      \set Staff.midiInstrument="fx 2 (soundtrack)" \melodie
-      \set Staff.midiInstrument="fx 3 (crystal)" \melodie
-      \set Staff.midiInstrument="fx 4 (atmosphere)" \melodie
-      \set Staff.midiInstrument="fx 5 (brightness)" \melodie
-      \set Staff.midiInstrument="fx 6 (goblins)" \melodie
-      \set Staff.midiInstrument="fx 7 (echoes)" \melodie
-      \set Staff.midiInstrument="fx 8 (sci-fi)" \melodie
-      \set Staff.midiInstrument="sitar" \melodie
-      \set Staff.midiInstrument="banjo" \melodie
-      \set Staff.midiInstrument="shamisen" \melodie
-      \set Staff.midiInstrument="koto" \melodie
-      \set Staff.midiInstrument="kalimba" \melodie
-      \set Staff.midiInstrument="bagpipe" \melodie
-      \set Staff.midiInstrument="fiddle" \melodie
-      \set Staff.midiInstrument="shanai" \melodie
-      \set Staff.midiInstrument="tinkle bell" \melodie
-      \set Staff.midiInstrument="agogo" \melodie
-      \set Staff.midiInstrument="steel drums" \melodie
-      \set Staff.midiInstrument="woodblock" \melodie
-      \set Staff.midiInstrument="taiko drum" \melodie
-      \set Staff.midiInstrument="melodic tom" \melodie
-      \set Staff.midiInstrument="synth drum" \melodie
-      \set Staff.midiInstrument="reverse cymbal" \melodie
-      \set Staff.midiInstrument="guitar fret noise" \melodie
-      \set Staff.midiInstrument="breath noise" \melodie
-      \set Staff.midiInstrument="seashore" \melodie
-      \set Staff.midiInstrument="bird tweet" \melodie
-      \set Staff.midiInstrument="telephone ring" \melodie
-      \set Staff.midiInstrument="helicopter" \melodie
-      \set Staff.midiInstrument="applause" \melodie
-      \set Staff.midiInstrument="gunshot" \melodie
-    } %Voice
-  >> %Staff
+      \set Staff.midiInstrument = "acoustic grand" \melodie
+      \set Staff.midiInstrument = "bright acoustic" \melodie
+      \set Staff.midiInstrument = "electric grand" \melodie
+      \set Staff.midiInstrument = "honky-tonk" \melodie
+      \set Staff.midiInstrument = "electric piano 1" \melodie
+      \set Staff.midiInstrument = "electric piano 2" \melodie
+      \set Staff.midiInstrument = "harpsichord" \melodie
+      \set Staff.midiInstrument = "clav" \melodie
+      \set Staff.midiInstrument = "celesta" \melodie
+      \set Staff.midiInstrument = "glockenspiel" \melodie
+      \set Staff.midiInstrument = "music box" \melodie
+      \set Staff.midiInstrument = "vibraphone" \melodie
+      \set Staff.midiInstrument = "marimba" \melodie
+      \set Staff.midiInstrument = "xylophone" \melodie
+      \set Staff.midiInstrument = "tubular bells" \melodie
+      \set Staff.midiInstrument = "dulcimer" \melodie
+      \set Staff.midiInstrument = "drawbar organ" \melodie
+      \set Staff.midiInstrument = "percussive organ" \melodie
+      \set Staff.midiInstrument = "rock organ" \melodie
+      \set Staff.midiInstrument = "church organ" \melodie
+      \set Staff.midiInstrument = "reed organ" \melodie
+      \set Staff.midiInstrument = "accordion" \melodie
+      \set Staff.midiInstrument = "harmonica" \melodie
+      \set Staff.midiInstrument = "concertina" \melodie
+      \set Staff.midiInstrument = "acoustic guitar (nylon)" \melodie
+      \set Staff.midiInstrument = "acoustic guitar (steel)" \melodie
+      \set Staff.midiInstrument = "electric guitar (jazz)" \melodie
+      \set Staff.midiInstrument = "electric guitar (clean)" \melodie
+      \set Staff.midiInstrument = "electric guitar (muted)" \melodie
+      \set Staff.midiInstrument = "overdriven guitar" \melodie
+      \set Staff.midiInstrument = "distorted guitar" \melodie
+      \set Staff.midiInstrument = "acoustic bass" \melodie
+      \set Staff.midiInstrument = "electric bass (finger)" \melodie
+      \set Staff.midiInstrument = "electric bass (pick)" \melodie
+      \set Staff.midiInstrument = "fretless bass" \melodie
+      \set Staff.midiInstrument = "slap bass 1" \melodie
+      \set Staff.midiInstrument = "slap bass 2" \melodie
+      \set Staff.midiInstrument = "synth bass 1" \melodie
+      \set Staff.midiInstrument = "synth bass 2" \melodie
+      \set Staff.midiInstrument = "violin" \melodie
+      \set Staff.midiInstrument = "viola" \melodie
+      \set Staff.midiInstrument = "cello" \melodie
+      \set Staff.midiInstrument = "contrabass" \melodie
+      \set Staff.midiInstrument = "tremolo strings" \melodie
+      \set Staff.midiInstrument = "pizzicato strings" \melodie
+      \set Staff.midiInstrument = "orchestral strings" \melodie
+      \set Staff.midiInstrument = "timpani" \melodie
+      \set Staff.midiInstrument = "string ensemble 1" \melodie
+      \set Staff.midiInstrument = "string ensemble 2" \melodie
+      \set Staff.midiInstrument = "synthstrings 1" \melodie
+      \set Staff.midiInstrument = "synthstrings 2" \melodie
+      \set Staff.midiInstrument = "choir aahs" \melodie
+      \set Staff.midiInstrument = "voice oohs" \melodie
+      \set Staff.midiInstrument = "synth voice" \melodie
+      \set Staff.midiInstrument = "orchestra hit" \melodie
+      \set Staff.midiInstrument = "trumpet" \melodie
+      \set Staff.midiInstrument = "trombone" \melodie
+      \set Staff.midiInstrument = "tuba" \melodie
+      \set Staff.midiInstrument = "muted trumpet" \melodie
+      \set Staff.midiInstrument = "french horn" \melodie
+      \set Staff.midiInstrument = "brass section" \melodie
+      \set Staff.midiInstrument = "synthbrass 1" \melodie
+      \set Staff.midiInstrument = "synthbrass 2" \melodie
+      \set Staff.midiInstrument = "soprano sax" \melodie
+      \set Staff.midiInstrument = "alto sax" \melodie
+      \set Staff.midiInstrument = "tenor sax" \melodie
+      \set Staff.midiInstrument = "baritone sax" \melodie
+      \set Staff.midiInstrument = "oboe" \melodie
+      \set Staff.midiInstrument = "english horn" \melodie
+      \set Staff.midiInstrument = "bassoon" \melodie
+      \set Staff.midiInstrument = "clarinet" \melodie
+      \set Staff.midiInstrument = "piccolo" \melodie
+      \set Staff.midiInstrument = "flute" \melodie
+      \set Staff.midiInstrument = "recorder" \melodie
+      \set Staff.midiInstrument = "pan flute" \melodie
+      \set Staff.midiInstrument = "blown bottle" \melodie
+      \set Staff.midiInstrument = "shakuhachi" \melodie
+      \set Staff.midiInstrument = "whistle" \melodie
+      \set Staff.midiInstrument = "ocarina" \melodie
+      \set Staff.midiInstrument = "lead 1 (square)" \melodie
+      \set Staff.midiInstrument = "lead 2 (sawtooth)" \melodie
+      \set Staff.midiInstrument = "lead 3 (calliope)" \melodie
+      \set Staff.midiInstrument = "lead 4 (chiff)" \melodie
+      \set Staff.midiInstrument = "lead 5 (charang)" \melodie
+      \set Staff.midiInstrument = "lead 6 (voice)" \melodie
+      \set Staff.midiInstrument = "lead 7 (fifths)" \melodie
+      \set Staff.midiInstrument = "lead 8 (bass+lead)" \melodie
+      \set Staff.midiInstrument = "pad 1 (new age)" \melodie
+      \set Staff.midiInstrument = "pad 2 (warm)" \melodie
+      \set Staff.midiInstrument = "pad 3 (polysynth)" \melodie
+      \set Staff.midiInstrument = "pad 4 (choir)" \melodie
+      \set Staff.midiInstrument = "pad 5 (bowed)" \melodie
+      \set Staff.midiInstrument = "pad 6 (metallic)" \melodie
+      \set Staff.midiInstrument = "pad 7 (halo)" \melodie
+      \set Staff.midiInstrument = "pad 8 (sweep)" \melodie
+      \set Staff.midiInstrument = "fx 1 (rain)" \melodie
+      \set Staff.midiInstrument = "fx 2 (soundtrack)" \melodie
+      \set Staff.midiInstrument = "fx 3 (crystal)" \melodie
+      \set Staff.midiInstrument = "fx 4 (atmosphere)" \melodie
+      \set Staff.midiInstrument = "fx 5 (brightness)" \melodie
+      \set Staff.midiInstrument = "fx 6 (goblins)" \melodie
+      \set Staff.midiInstrument = "fx 7 (echoes)" \melodie
+      \set Staff.midiInstrument = "fx 8 (sci-fi)" \melodie
+      \set Staff.midiInstrument = "sitar" \melodie
+      \set Staff.midiInstrument = "banjo" \melodie
+      \set Staff.midiInstrument = "shamisen" \melodie
+      \set Staff.midiInstrument = "koto" \melodie
+      \set Staff.midiInstrument = "kalimba" \melodie
+      \set Staff.midiInstrument = "bagpipe" \melodie
+      \set Staff.midiInstrument = "fiddle" \melodie
+      \set Staff.midiInstrument = "shanai" \melodie
+      \set Staff.midiInstrument = "tinkle bell" \melodie
+      \set Staff.midiInstrument = "agogo" \melodie
+      \set Staff.midiInstrument = "steel drums" \melodie
+      \set Staff.midiInstrument = "woodblock" \melodie
+      \set Staff.midiInstrument = "taiko drum" \melodie
+      \set Staff.midiInstrument = "melodic tom" \melodie
+      \set Staff.midiInstrument = "synth drum" \melodie
+      \set Staff.midiInstrument = "reverse cymbal" \melodie
+      \set Staff.midiInstrument = "guitar fret noise" \melodie
+      \set Staff.midiInstrument = "breath noise" \melodie
+      \set Staff.midiInstrument = "seashore" \melodie
+      \set Staff.midiInstrument = "bird tweet" \melodie
+      \set Staff.midiInstrument = "telephone ring" \melodie
+      \set Staff.midiInstrument = "helicopter" \melodie
+      \set Staff.midiInstrument = "applause" \melodie
+      \set Staff.midiInstrument = "gunshot" \melodie
+    }
+  >>
   \midi { }
-} %score
-
-
+}
index 09536d4e965ee6f4dd7a1b5ce146c204cba24d28..c8e09c9d63d6299a8962fd037381a8dd0ff8bb40 100644 (file)
@@ -9,43 +9,38 @@ A demonstration of all headers.
 " }
 % begin verbatim
 \header {
-copyright = "copyright"
-title = "title"
-subtitle = "subtitle"
-composer = "composer"
-arranger = "arranger"
-instrument = "instrument"
-metre = "metre"
-opus = "opus"
-piece = "piece"
-poet = "poet"
-texidoc = "All header fields with special meanings."
+  copyright = "copyright"
+  title = "title"
+  subtitle = "subtitle"
+  composer = "composer"
+  arranger = "arranger"
+  instrument = "instrument"
+  metre = "metre"
+  opus = "opus"
+  piece = "piece"
+  poet = "poet"
+  texidoc = "All header fields with special meanings."
   copyright = "public domain"
   enteredby = "jcn"
   source = "urtext"
-
 }
 
-
 \score {
-  \relative c'' { c1 c1 c1 c1 }
+  \relative c'' { c1 c c c }
 }
 
 \score {
-        \relative c'' { c1 c1 c1 c1 }
-       
-       \header {
-
-       title = "localtitle"
-       subtitle = "localsubtitle"
-       composer = "localcomposer"
-       arranger = "localarranger"
-       instrument = "localinstrument"
-       metre = "localmetre"
-       opus = "localopus"
-       piece = "localpiece"
-       poet = "localpoet"
-       copyright = "localcopyright"
-       }
+   \relative c'' { c1 c c c }
+   \header {
+     title = "localtitle"
+     subtitle = "localsubtitle"
+     composer = "localcomposer"
+     arranger = "localarranger"
+     instrument = "localinstrument"
+     metre = "localmetre"
+     opus = "localopus"
+     piece = "localpiece"
+     poet = "localpoet"
+     copyright = "localcopyright"
+   }
 }
-
index b9b7d2779e07044f9584bce42d17d707f925d829..d0627939a6051297984147b5e33363040cefa7cb 100644 (file)
@@ -8,7 +8,7 @@
 If there is only one staff in one of the staff types @code{ChoirStaff},
 @code{InnerChoirStaff}, @code{InnerStaffGroup} or @code{StaffGroup},
 the bracket and the starting bar line will not be displayed as standard
-behaviour. This can be changed with:
+behavior. This can be changed with:
 
 
 @code{\\override [staffcontext].SystemStartBracket #'collapse-height =
@@ -30,26 +30,28 @@ For staff contexts with @code{'SystemStartBrace}, such as
 
 " }
 % begin verbatim
+\layout {
+  ragged-right = ##t
+  indent = 0\cm
+}
+
+\score {
+  \new StaffGroup <<
+    % Must be lower than your actual amount off staff lines
+    \override StaffGroup.SystemStartBracket #'collapse-height = #1
+    \override Score.SystemStartBar #'collapse-height = #1
+    \new Staff {
+      c'4 d' e' f'
+    }
+  >>
+}
+
 \score {
-\new StaffGroup <<
-   % Must be lower than your actual amount off staff lines
-   \override StaffGroup.SystemStartBracket #'collapse-height = #1
-   \override Score.SystemStartBar #'collapse-height = #1
-   \new Staff {
-     c'4 d' e' f'
-   }
- >>
- }
- {
- \new PianoStaff <<
-   \override PianoStaff.SystemStartBrace #'collapse-height = #1
-   \override Score.SystemStartBar #'collapse-height = #1
-   \new Staff {
-     c'4 d' e' f'
-   }
- >>
-  } 
-  \layout { 
-    ragged-right = ##t 
-    indent = 0\cm
-  }
+  \new PianoStaff <<
+    \override PianoStaff.SystemStartBrace #'collapse-height = #1
+    \override Score.SystemStartBar #'collapse-height = #1
+    \new Staff {
+      c'4 d' e' f'
+    }
+  >>
+}
index e26193bc03d5ebab4555434f5b89201ff727fc3f..721ad91a1d4aa23b7316a2436c256f0c406415e8 100644 (file)
@@ -5,13 +5,13 @@
 \header {
   lsrtags = "pitches"
  texidoc = "
-In early 20th century works, starting with Schönberg, Berg and Webern
+In early 20th century works, starting with Schoenberg, Berg and Webern
 (the \"Second\" Viennese school), every pitch in the twelve-tone scale
 has to be regarded as equal, without any hierarchy such as the
 classical (tonal) degrees. Therefore, these composers print one
 accidental for each note, even at natural pitches, to emphasize their
 new approach to music theory and language. This snippet shows how to
-achieve such notation rules with LilyPond
+achieve such notation rules. 
 " }
 % begin verbatim
 webernAccidentals = {
index 3600f47a4b164b64db86f5c7e0aaf0330a2a6779..595fd0ae16f153500a70737fe2aba89ae0598169 100644 (file)
@@ -1,5 +1,6 @@
 creating-blank-staves.ly
 making-some-staff-lines-thicker-than-the-others.ly
+applying-note-head-styles-depending-on-the-step-of-the-scale.ly
 changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly
 default-direction-of-stems-on-the-center-line-of-the-staff.ly
 changing-a-single-notes-size-in-a-chord.ly
@@ -7,5 +8,4 @@ grid-lines-emphasizing-rhythms-and-notes-synchronization.ly
 controlling-the-placement-of-chord-fingerings.ly
 allowing-fingerings-to-be-printed-inside-the-staff.ly
 blanking-staff-lines-using-the--whiteout-command.ly
-applying-notehead-styles-depending-on-the-step-of-the-scale.ly
 grid-lines-changing-their-appearance.ly
index 58781733e66a41d9decf1e1b42df3f2b14d30816..ea7ea694b49f58e4cc13a66084c211f2f85aace3 100644 (file)
@@ -12,8 +12,8 @@ number indicates the direction (1 = up, -1 = down).
 " }
 % begin verbatim
 \relative c' {
-  <c e g>2~ <c e g> |
+  <c e g>2 ~ <c e g> |
   \override TieColumn #'tie-configuration =
     #'((0.0 . 1) (-2.0 . 1) (-4.0 . 1))
-  <c e g>~ <c e g> |
+  <c e g> ~ <c e g> |
 }
index ce945363c4a7f4c596e88c9bec10212a25ea0d44..15c23bf838485aea499290576c64a53cb92b19bb 100644 (file)
@@ -5,10 +5,10 @@
 \header {
   lsrtags = "rhythms"
  texidoc = "
-This example shows how to specify how long each of the tuplets
-contained within the brackets after @code{\\times} should last. Many
-consecutive tuplets can then be placed within a single @code{\\times @{
-... @}} expression, thus saving typing.
+The property @code{tupletSpannerDuration} sets how long each of the
+tuplets contained within the brackets after @code{\\times} should last.
+Many consecutive tuplets can then be placed within a single
+@code{\\times} expression, thus saving typing.
 
 In the example, two triplets are shown, while @code{\\times} was
 entered only once.
@@ -19,6 +19,7 @@ administration\".
 " }
 % begin verbatim
 \relative {
+  \time 2/4
   \set tupletSpannerDuration = #(ly:make-moment 1 4)
   \times 2/3 { c8 c c c c c }
 }
index 9c8d90af6ba02c9351c4da09219868b947ec3ed5..c769bd2a9df9c39abe9371774d2b4e8fc2f65825 100644 (file)
@@ -2,13 +2,13 @@ combining-dynamics-with-markup-texts.ly
 creating-text-spanners.ly
 adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
 changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly
-caesura-railtracks-with-fermata.ly
-breathing-sign.ly
+breathing-signs.ly
 creating-real-parenthesized-dynamics.ly
-center-text-below-hairpin-dynamics.ly
+caesura-railtracks-with-fermata.ly
 contemporary-glissando.ly
 adding-parentheses-around-an-expressive-mark-or-chordal-note.ly
 line-arrows.ly
 changing--flageolet-mark-size.ly
 piano-template-with-centered-dynamics.ly
 broken-crescendo-hairpin.ly
+center-text-below-hairpin-dynamics.ly
index b57aec0fcd74f2b4635ffcc5bf06c57afabdfd4b..b45eaf6f1a816c7bf4b1e124b70d557bb63ab2bc 100644 (file)
@@ -5,23 +5,23 @@
 \header {
   lsrtags = "text, vocal-music"
  texidoc = "
-To format single lyrics syllables, you can simply use \\markup @{ ....
-@} on these lyrics!
+To format individual syllables in lyrics, use @code{\\markup @{ ....
+@}} on these lyrics.
 " }
 % begin verbatim
 % Tip taken from http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00215.html
 \header {
-  title = "Markup can be used inside lyrics!" 
+  title = "Markup can be used inside lyrics!"
 }
 
-melody = \relative c'' { c4 c c c  }
-lyr = \lyricmode { 
-  Lyrics \markup { \italic can } \markup {\with-color #red contain } 
-  \markup {\fontsize #8 \bold "Markup!" } 
+mel = \relative c'' { c4 c c c }
+lyr = \lyricmode {
+  Lyrics \markup { \italic "can" } \markup {\with-color #red "contain" }
+  \markup {\fontsize #8 \bold "Markup!" }
 }
 
-\context Staff << 
-  \context Voice = "mel" << \melody >>
-  \context Lyrics \lyricsto "mel" \lyr
+<<
+  \context Voice = melody \mel
+  \context Lyrics \lyricsto melody \lyr
 >>
 
index 54720e2eabb7ded7780f893a3054885e4259bb0f..d39ed0bfcab12076dbc8a7e5d6bd9935cda2d278 100644 (file)
@@ -5,11 +5,11 @@
 \header {
   lsrtags = "pitches"
  texidoc = "
-This Scheme-based snippet allows you to generate 24 random notes (or as
-many as you want), based on the current time (or any randomish number
-you might wish to specify instead, so you can obtain the same random
-notes each time): i.e. to get different random notes patterns, just
-change this number.
+This Scheme-based snippet generates 24 random notes (or as many as
+required), based on the current time (or any randomish number you might
+wish to specify instead, so you can obtain the same random notes each
+time): i.e., to get different random notes patterns, just change this
+number.
 " }
 % begin verbatim
 \score {
diff --git a/input/lsr/inserting-score-fragments-above-a-staff,-as-markups.ly b/input/lsr/inserting-score-fragments-above-a-staff,-as-markups.ly
new file mode 100644 (file)
index 0000000..a0953a6
--- /dev/null
@@ -0,0 +1,34 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "staff-notation"
+ texidoc = "
+The @code{\\markup} command is quite versatile. In this snippet, it
+contains a @code{\\score} block instead of texts or marks.
+" }
+% begin verbatim
+tuning = \markup {
+  \score {
+    \new Staff \with { \remove "Time_signature_engraver" }
+    {
+      \clef bass  <c, g, d g>1
+    }
+    \layout { ragged-right = ##t }
+  }
+}
+
+\header {
+  title = "Solo Cello Suites"
+  subtitle = "Suite IV"
+  subsubtitle = \markup { "Originalstimmung:" \general-align #Y #CENTER \tuning }
+}
+
+\relative {
+  \time 4/8
+  \times 2/3 { c'8 d e } \times 2/3 { c d e }
+  \times 2/3 { c8 d e } \times 2/3 { c d e }
+  g8 a8 g8 a
+  g8 a8 g8 a
+}
diff --git a/input/lsr/inserting-score-fragments-above-the-staff,-as-markups.ly b/input/lsr/inserting-score-fragments-above-the-staff,-as-markups.ly
deleted file mode 100644 (file)
index dd315c9..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
-%% This file is in the public domain.
-\version "2.11.38"
-
-\header {
-  lsrtags = "staff-notation"
- texidoc = "
-The @code{\\markup} command is quite versatile. In this snippet, it
-contains a @code{\\score} block instead of texts or marks.
-" }
-% begin verbatim
-tuning = \markup {
-  \score {
-    \new Staff \with { \remove Time_signature_engraver }
-    {
-      \clef bass  <c, g, d g>1
-    }
-    \layout { ragged-right = ##t }
-  }
-}
-
-\header {
-  title = "Solo Cello Suites"
-  subtitle = "Suite IV"
-  subsubtitle = \markup { "Originalstimmung:" \general-align #Y #CENTER \tuning }
-}
-
-\relative {
-  \time 4/8
-  \times 2/3 { c'8 d e } \times 2/3 { c d e }
-  \times 2/3 { c8 d e } \times 2/3 { c d e }
-  g8 a8 g8 a
-  g8 a8 g8 a
-}
index 74c7218e4bf93ea27da9b8645d652b22fc8919ee..a333f7b9172863b1a4fa2aab8e07919f42feecb2 100644 (file)
@@ -1,11 +1,11 @@
 %% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
 \version "2.11.38"
-\layout { ragged-right= ##t }
+\layout { ragged-right = ##t }
 \header {
   doctitle = "Makam"
   lsrtags = "pitches"
-  texidoc = "Makam is Turkish type of melody that uses 1/9 tone
+  texidoc = "Makam is a type of melody from Turkey using 1/9th-tone
   microtonal alterations."
 }
 % begin verbatim
@@ -35,7 +35,7 @@ makamPitchNames = #`(
   (gc . ,(ly:make-pitch -1 4 KOMA))
   (ac . ,(ly:make-pitch -1 5 KOMA))
   (bc . ,(ly:make-pitch -1 6 KOMA))
-
+  
   (cb . ,(ly:make-pitch -1 0 BAKIYE))
   (db . ,(ly:make-pitch -1 1 BAKIYE))
   (eb . ,(ly:make-pitch -1 2 BAKIYE))
@@ -43,7 +43,7 @@ makamPitchNames = #`(
   (gb . ,(ly:make-pitch -1 4 BAKIYE))
   (ab . ,(ly:make-pitch -1 5 BAKIYE))
   (bb . ,(ly:make-pitch -1 6 BAKIYE))
-
+  
   (ck . ,(ly:make-pitch -1 0 KUCUK))
   (dk . ,(ly:make-pitch -1 1 KUCUK))
   (ek . ,(ly:make-pitch -1 2 KUCUK))
@@ -51,7 +51,7 @@ makamPitchNames = #`(
   (gk . ,(ly:make-pitch -1 4 KUCUK))
   (ak . ,(ly:make-pitch -1 5 KUCUK))
   (bk . ,(ly:make-pitch -1 6 KUCUK))
-
+  
   (cbm . ,(ly:make-pitch -1 0 BUYUKMUCENNEB))
   (dbm . ,(ly:make-pitch -1 1 BUYUKMUCENNEB))
   (ebm . ,(ly:make-pitch -1 2 BUYUKMUCENNEB))
@@ -59,7 +59,7 @@ makamPitchNames = #`(
   (gbm . ,(ly:make-pitch -1 4 BUYUKMUCENNEB))
   (abm . ,(ly:make-pitch -1 5 BUYUKMUCENNEB))
   (bbm . ,(ly:make-pitch -1 6 BUYUKMUCENNEB))
-
+  
   ;; f for flat.
   (cfc . ,(ly:make-pitch -1 0 (- KOMA)))
   (dfc . ,(ly:make-pitch -1 1 (- KOMA)))
@@ -76,7 +76,7 @@ makamPitchNames = #`(
   (gfb . ,(ly:make-pitch -1 4 (- BAKIYE)))
   (afb . ,(ly:make-pitch -1 5 (- BAKIYE)))
   (bfb . ,(ly:make-pitch -1 6 (- BAKIYE)))
-
+  
   (cfk . ,(ly:make-pitch -1 0 (- KUCUK)))
   (dfk . ,(ly:make-pitch -1 1 (- KUCUK)))
   (efk . ,(ly:make-pitch -1 2 (- KUCUK)))
@@ -84,7 +84,7 @@ makamPitchNames = #`(
   (gfk . ,(ly:make-pitch -1 4 (- KUCUK)))
   (afk . ,(ly:make-pitch -1 5 (- KUCUK)))
   (bfk . ,(ly:make-pitch -1 6 (- KUCUK)))
-
+  
   (cfbm . ,(ly:make-pitch -1 0 (- BUYUKMUCENNEB)))
   (dfbm . ,(ly:make-pitch -1 1 (- BUYUKMUCENNEB)))
   (efbm . ,(ly:make-pitch -1 2 (- BUYUKMUCENNEB)))
@@ -92,14 +92,14 @@ makamPitchNames = #`(
   (gfbm . ,(ly:make-pitch -1 4 (- BUYUKMUCENNEB)))
   (afbm . ,(ly:make-pitch -1 5 (- BUYUKMUCENNEB)))
   (bfbm . ,(ly:make-pitch -1 6 (- BUYUKMUCENNEB)))
-
 )
 
-%% set pitch names.
-pitchnames = \makamPitchNames 
+% Set pitch names.
+pitchnames = \makamPitchNames
 #(ly:parser-set-note-names parser makamPitchNames)
 
-makamGlyphs = #'((1 . "accidentals.doublesharp")
+makamGlyphs = #'(
+       (1 . "accidentals.doublesharp")
        (8/9 . "accidentals.sharp.slashslashslash.stemstem")
        (5/9 . "accidentals.sharp.slashslashslash.stem")
        (4/9 . "accidentals.sharp")
@@ -113,7 +113,7 @@ makamGlyphs = #'((1 . "accidentals.doublesharp")
        )
 
 \relative {
-
+  
   %{ define alteration <-> symbol mapping. The following glyphs are available.
   accidentals.sharp 
   accidentals.sharp.slashslash.stem 
@@ -130,13 +130,12 @@ makamGlyphs = #'((1 . "accidentals.doublesharp")
   accidentals.flatflat.slash 
   accidentals.doublesharp 
   %}
-
-  \override Accidental #'glyph-name-alist =  \makamGlyphs
   
+  \override Accidental #'glyph-name-alist =  \makamGlyphs
   \override Staff.KeySignature #'glyph-name-alist = \makamGlyphs
-  \set Staff.keySignature =  #'(
-    (3 .  4/9)
-    (6 . -1/9))
+  \set Staff.keySignature =  #'((3 .  4/9) (6 . -1/9))
   
-  c cc db fk gbm gfc gfb efk dfbm
+  c cc db fk
+  gbm gfc gfb efk
+  fk db cc c
 }
index d9208f04fb27690a13cd8ab72d4ac0c0ca76ad3b..037ccbddb2ed43eea38bc7e0001ebf04656c70fd 100644 (file)
@@ -1,28 +1,34 @@
 %% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-\version "2.11.38"
-\layout { ragged-right= ##t }
-\header {
-  doctitle = "Making an object invisible with the transparent property"
-  lsrtags = "rhythms,tweaks-and-overrides"
-  texidoc = "
-Setting the @code{transparent} property will cause an object to be
-printed in `invisible ink': the object is not printed, but all its
-other behavior is retained.  The object still takes up space, it takes
-part in collisions, and slurs, and ties and beams can be attached to it.
-
-
-The snippet demonstrates how to connect different voices using ties. 
-Normally, ties only connect two notes in the same voice.  By
-introducing a tie in a different voice, and blanking the first up-stem
-in that voice, the tie appears to cross voices. 
-" }
-% begin verbatim
-\relative c'' <<
-  {
-    \once \override Stem #'transparent = ##t
-    b8~ b8\noBeam
-  } \\ {
-    b[ g8]
-  }
->>
+\version "2.11.38"\r
+\layout { ragged-right = ##t }\r
+\header {\r
+  doctitle = "Making an object invisible with the transparent property"\r
+  lsrtags = "rhythms,tweaks-and-overrides"\r
+  texidoc = "\r
+Setting the @code{transparent} property will cause an object to be\r
+printed in \"invisible ink\": the object is not printed, but all its\r
+other behavior is retained.  The object still takes up space, it takes\r
+part in collisions, and slurs, ties and beams can be attached to it.\r
+\r
+\r
+The snippet demonstrates how to connect different voices using ties. \r
+Normally, ties only connect two notes in the same voice.  By\r
+introducing a tie in a different voice, and blanking the first up-stem\r
+in that voice, the tie appears to cross voices.  To prevent the blanked stem's\r
+flag from interfering with tie positioning, the stem is extended.\r
+" }\r
+\r
+\relative c'' {\r
+  \time 2/4\r
+  << {\r
+    \once \override Stem #'transparent = ##t\r
+    \once \override Stem #'length = #8\r
+    b8 ~ b\noBeam\r
+    \once \override Stem #'transparent = ##t\r
+    \once \override Stem #'length = #8\r
+    g ~ g\noBeam\r
+  } \\ {\r
+    b g g e\r
+  } >>\r
+}\r
index 26b89af1421481143ce93cbbb1e51f7736a3e2f2..46aa7713497f244a6476853ef83f23315790ebb6 100644 (file)
@@ -8,13 +8,11 @@
 For pedagogical purposes, you may want to make one staff line thicker
 (e.g. the middle line, to emphasize the line of the G clef). This can
 be achieved by adding extra lines very close to the line you want to
-make thicker, using the #'line-positions property in the StaffSymbol
-context.
+make thicker, using the @code{'line-positions} property of the
+@code{StaffSymbol} object. 
 " }
 % begin verbatim
-\score {
-     \new Staff{
-     \override Staff.StaffSymbol #'line-positions =#'(-4 -2 -0.2 0 0.2 2 4 )
-         d'4 e' f' g'
-     }
+{
+  \override Staff.StaffSymbol #'line-positions = #'(-4 -2 -0.2 0 0.2 2 4)
+  d'4 e' f' g'
 }
index 70a055cf84c4c7eed193d8b1ba631c63427221e6..676462decac4b09bb6bc899491ce70825137e02f 100644 (file)
@@ -11,13 +11,16 @@ a @code{ChoirStaff}. The bar line on staves is blanked out with an
 @code{\\override} command.
 " }
 % begin verbatim
-global = {\override Staff.BarLine #'transparent = ##t
-          s1 s
-          %the final bar line is not interupted
-          \once \override Staff.BarLine #'transparent = ##f
-          \bar "|."}
-\new StaffGroup
-\relative c'' <<
-  \new Staff {<< \global { c1 c } >>}
-  \new Staff {<< \global { c c } >>}
->>
+global = {
+  \override Staff.BarLine #'transparent = ##t
+  s1 s
+  % the final bar line is not interrupted
+  \revert Staff.BarLine #'transparent
+  \bar "|."
+}
+\new StaffGroup \relative c'' {
+  <<
+    \new Staff { << \global { c1 c } >> }
+    \new Staff { << \global { c c } >> }
+  >>
+}
index 1d3b3a036fe601c6930dd35b14169a2d8eb0248e..dd350da1dade83357803ec7da2de1c743b730171 100644 (file)
@@ -8,8 +8,8 @@
 The commonly used @code{\\key} command sets the @code{keySignature}
 property, in the @code{Staff} context.
 
-However, non-standard key signatures can be specified by setting this
-property directly. The format of this command is a list:
+For non-standard key signatures, you can set this property directly.
+The format of this command is a list:
 
 @code{ \\set Staff.keySignature = #`(((octave . step) . alter) ((octave
 . step) . alter) ...) } where, for each element in the list,
@@ -30,6 +30,7 @@ whole-tone scale:
 % begin verbatim
 \relative c' {
   \set Staff.keySignature = #`(((0 .  3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
-  c d e fis aes bes c2
+  c4 d e fis
+  aes bes c2
 }
 
index d601cb665653dfc7134fb53c9f2d9a17901423d7..43ad10f9d6873053bd92547179a94fe56c167448 100644 (file)
@@ -6,10 +6,9 @@
   lsrtags = "pitches, text"
  texidoc = "
 Internally, the @code{set-octavation} function sets the properties
-@code{ottavation} (e.g., to @code{\"8va\"} or @code{\"8vb\"}) and
-@code{middleCPosition}. To override the text of the bracket, set
-@code{ottavation} after invoking @code{set-octavation}, like in the
-following example.
+@code{ottavation} (for example, to @code{\"8va\"} or @code{\"8vb\"})
+and @code{middleCPosition}. To override the text of the bracket, set
+@code{ottavation} after invoking @code{set-octavation}.
 
 
 " }
index 06d260833ce6ebd7df65367df805a3fe52253e9b..b507542bdc813f7091dba9c2a3082795abbeafd3 100644 (file)
@@ -9,28 +9,29 @@ Here is a simple piano staff with some notes.
 " }
 % begin verbatim
 upper = \relative c'' {
-            \clef treble
-            \key c \major
-            \time 4/4
-         
-            a b c d
-         }
-         
-         lower = \relative c {
-            \clef bass
-            \key c \major
-            \time 4/4
-         
-            a2 c
-         }
-         
-         \score {
-            \new PianoStaff <<
-               \set PianoStaff.instrumentName = "Piano  "
-               \new Staff = "upper" \upper
-               \new Staff = "lower" \lower
-            >>
-            \layout { }
-            \midi { }
-         }
+  \clef treble
+  \key c \major
+  \time 4/4
+  
+  a b c d
+  
+}
 
+lower = \relative c {
+  \clef bass
+  \key c \major
+  \time 4/4
+  
+  a2 c
+  
+}
+
+\score {
+  \new PianoStaff <<
+    \set PianoStaff.instrumentName = "Piano  "
+    \new Staff = "upper" \upper
+    \new Staff = "lower" \lower
+  >>
+  \layout { }
+  \midi { }
+}
index 9727132ff76567e390e1c1698d4a9d0707ba7a37..91b05bbc1a054e4449ca6522adfd3f0d9144c8c2 100644 (file)
@@ -11,38 +11,42 @@ staff).
 " }
 % begin verbatim
 upper = \relative c'' {
-            \clef treble
-            \key c \major
-            \time 4/4
-         
-            a b c d
-         }
-         
-         lower = \relative c {
-            \clef bass
-            \key c \major
-            \time 4/4
-         
-            a2 c
-         }
-         
-         text = \lyricmode {
-            Aaa Bee Cee Dee
-         }
-         
-         \score {
-           \new GrandStaff <<
-             \new Staff = upper { \new Voice = "singer" \upper }
-             \new Lyrics \lyricsto "singer" \text
-             \new Staff = lower {
-               \clef bass
-               \lower
-             }
-           >>
-           \layout {
-             \context { \GrandStaff \accepts "Lyrics" }
-             \context { \Lyrics \consists "Bar_engraver" }
-           }
-           \midi { }
-         }
+  \clef treble
+  \key c \major
+  \time 4/4
+  
+  a b c d
+  
+}
 
+lower = \relative c {
+  \clef bass
+  \key c \major
+  \time 4/4
+  
+  a2 c
+  
+}
+
+text = \lyricmode {
+  Aaa Bee Cee Dee
+}
+
+\score {
+  \new GrandStaff <<
+    \new Staff = upper { \new Voice = "singer" \upper }
+    \new Lyrics \lyricsto "singer" \text
+    \new Staff = lower { \lower }
+  >>
+  \layout {
+    \context {
+      \GrandStaff
+      \accepts "Lyrics"
+    }
+    \context {
+      \Lyrics
+      \consists "Bar_engraver"
+    }
+  }
+  \midi { }
+}
index 3b9f4c5f29ea324a01ab078bc423b79103af5680..76c7ee89555d813ad2a0a559cb3c719fd1b5371e 100644 (file)
@@ -10,49 +10,48 @@ with piano accompaniment underneath.
 " }
 % begin verbatim
 melody = \relative c'' {
-            \clef treble
-            \key c \major
-            \time 4/4
-         
-            a b c d
-         }
-         
-         text = \lyricmode {
-            Aaa Bee Cee Dee
-         }
-         
-         upper = \relative c'' {
-            \clef treble
-            \key c \major
-            \time 4/4
-         
-            a b c d
-         }
-         
-         lower = \relative c {
-            \clef bass
-            \key c \major
-            \time 4/4
-         
-            a2 c
-         }
-         
-         \score {
-            <<
-               \new Voice = "mel" {
-                   \autoBeamOff
-                   \melody
-               }
-               \new Lyrics \lyricsto mel \text
-         
-               \new PianoStaff <<
-                  \new Staff = "upper" \upper
-                  \new Staff = "lower" \lower
-               >>
-            >>
-            \layout {
-               \context { \RemoveEmptyStaffContext }
-            }
-            \midi { }
-         }
+  \clef treble
+  \key c \major
+  \time 4/4
+  
+  a b c d
+  
+}
 
+text = \lyricmode {
+  Aaa Bee Cee Dee
+}
+
+upper = \relative c'' {
+  \clef treble
+  \key c \major
+  \time 4/4
+  
+  a b c d
+  
+}
+
+lower = \relative c {
+  \clef bass
+  \key c \major
+  \time 4/4
+  
+  a2 c
+  
+}
+
+\score {
+  <<
+    \new Voice = "mel" { \autoBeamOff \melody }
+    \new Lyrics \lyricsto mel \text
+    
+    \new PianoStaff <<
+      \new Staff = "upper" \upper
+      \new Staff = "lower" \lower
+    >>
+  >>
+  \layout {
+    \context { \RemoveEmptyStaffContext }
+  }
+  \midi { }
+}
index 9f3eea8056b107784753fd55928b442fd49b0737..978ea8cf1c0bd1eb71d769e8d5ee9fea93885570 100644 (file)
@@ -1,14 +1,14 @@
 makam.ly
-ambiti-multiple-voices.ly
-applying-notehead-styles-depending-on-the-step-of-the-scale.ly
+adding-ambitus-per-voice.ly
+applying-note-head-styles-depending-on-the-step-of-the-scale.ly
 transposing-pitches-with-minimum-accidentals-smart-transpose.ly
 ottava-text.ly
 preventing-extra-naturals-from-being-automatically-added.ly
+ambitus-with-multiple-voices.ly
 generating-random-notes.ly
-quoting-another-voice-with-transposition.ly
-adding-ambiti-per-voice.ly
 clefs-commonly-tweaked-properties.ly
 dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
 preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly
+quoting-another-voice-with-transposition.ly
 creating-a-sequence-of-notes-on-various-pitches.ly
 non-traditional-key-signatures.ly
index ecd9a9087c3408cb7ebabfd7e04fc66598672efd..13b40c3d7ffcc0b3e866d91b686848f1f0984412 100644 (file)
@@ -1,7 +1,7 @@
 %% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
 \version "2.11.42"
-\layout { ragged-right= ##t }
+\layout { ragged-right = ##t }
 \header {
   doctitle = "Positioning multi-measure rests"
   lsrtags = "rhythms,tweaks-and-overrides"
@@ -15,29 +15,28 @@ of multi-measure rests can be controlled as follows:
  "}
 % begin verbatim
 \relative c'' {
-% Multi-measure rests by default are set under the 2nd line
-R1
-% They can be moved with an override
-\override MultiMeasureRest #'staff-position = #-2
-R1
-% A value of 0 is the default position;
-% the following trick moves the rest to the center line
-\override MultiMeasureRest #'staff-position = #-0.01
-R1
-% Multimeasure rests in odd-numbered voices are under the top line
-<< {R1} \\ {a1} >>
-% Multi-measure rests in even-numbered voices are under the bottom line
-<< {c1} \\ {R1} >>
-% They remain separated even in empty bars
-<< {R1} \\ {R1} >>
-% This brings them together even though there are two voices
-\compressFullBarRests
-<<
-  \revert MultiMeasureRest #'staff-position
-  {R1*3}
-\\
-  \revert MultiMeasureRest #'staff-position
-  {R1*3}
->>
+  % Multi-measure rests by default are set under the second line
+  R1
+  % They can be moved with an override
+  \override MultiMeasureRest #'staff-position = #-2
+  R1
+  % A value of 0 is the default position;
+  % the following trick moves the rest to the center line
+  \override MultiMeasureRest #'staff-position = #-0.01
+  R1
+  % Multi-measure rests in odd-numbered voices are under the top line
+  << { R1 } \\ { a1 } >>
+  % Multi-measure rests in even-numbered voices are under the bottom line
+  << { c1 } \\ { R1 } >>
+  % They remain separated even in empty bars
+  << { R1 } \\ { R1 } >>
+  % This brings them together even though there are two voices
+  \compressFullBarRests
+  <<
+    \revert MultiMeasureRest #'staff-position
+    { R1*3 }
+    \\
+    \revert MultiMeasureRest #'staff-position
+    { R1*3 }
+  >>
 }
-
index a9604be799a7e9f881fd771b8f5b833ec22379c9..26ccccc4e1ee7780f000d71b6d7ad8030359e662 100644 (file)
@@ -7,7 +7,7 @@
  texidoc = "
 If you want to place an exiting segno sign and add text like \"D.S. al
 Coda\" next to it where usually the staff lines are you can use this
-snippet. The coda will resume in a new line. Theres a variation
+snippet. The coda will resume in a new line. There is a variation
 documented in this snippet, where the coda will remain on the same
 line.
 " }
diff --git a/input/lsr/printing-marks-at-the-end-of-a-line-or-a-score.ly b/input/lsr/printing-marks-at-the-end-of-a-line-or-a-score.ly
new file mode 100644 (file)
index 0000000..858a304
--- /dev/null
@@ -0,0 +1,26 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "text"
+ texidoc = "
+Marks can be printed at the end of the current line, instead of the
+beginning of the following line. This is particularly useful when a
+mark has to be added at the end of a score -- when there is no next
+line.
+
+In such cases, the right end of the mark has to be aligned with the
+final barline, as demonstrated on the second line of this example. 
+" }
+% begin verbatim
+\relative c'' {  
+  \override Score.RehearsalMark  #'break-visibility = #begin-of-line-invisible
+  g2 c d, a'
+  \mark \default
+  \break
+  
+  \override Score.RehearsalMark #'self-alignment-X = #right
+  g b, c1  \bar "||"
+  \mark "D.C. al Fine"
+}
diff --git a/input/lsr/printing-marks-on-every-staff.ly b/input/lsr/printing-marks-on-every-staff.ly
new file mode 100644 (file)
index 0000000..e0b2bb1
--- /dev/null
@@ -0,0 +1,26 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "text"
+ texidoc = "
+Although text marks are normally only printed above the topmost staff,
+they may also be printed on every staff.
+" }
+% begin verbatim
+{
+  \new Score \with {
+    \remove "Mark_engraver"
+  }
+  <<
+    \new Staff \with {
+      \consists "Mark_engraver"
+    }
+    { c''1 \mark "molto" c'' }
+    \new Staff \with {
+      \consists "Mark_engraver"
+    }
+    { c'1 \mark "molto" c' }
+  >>
+}
index 65c27418837877120b2c38a42e0c49524bc5c4b9..2d5a075fc15b5b3d93d8630a857d0e8ad588550d 100644 (file)
@@ -6,7 +6,7 @@
   lsrtags = "rhythms, percussion"
  texidoc = "
 In the following snippet, two parts have a completely different time
-signature, yet remain synchronized. The barlines can't be printed at
+signature, yet remain synchronized. The bar lines can't be printed at
 the @code{Score} level anymore, so you have to remove the
 @code{Barline_engraver} and put it in the @code{Staff} context. 
 " }
index cd07810a5b57f2c4dfe675d511c78b67bba40d26..66bd2ea180694b7ba2f48a87a1159697f60437d0 100644 (file)
@@ -5,36 +5,33 @@
   doctitle = "Quoting another voice with transposition"
   lsrtags = "pitches,staff-notation"
   texidoc = "Quotations take into account the transposition of both
-source and target.  In this example, all instruments play sounding
-central C, the target is a instrument in F.  The target part may be
-@code{\\transpose}d.  In this case, all the pitches (including the
-quoted ones) will transposed as well."
+source and target. In this example, all instruments play sounding
+middle C; the target is an instrument in F. The target part may be
+transposed using @code{\\transpose}. In this case, all the pitches (including the
+quoted ones) are transposed."
 }
 % begin verbatim
-\addQuote clarinet  {
-    \transposition bes
-    d'16 d'16 d'8 
-    d'16 d'16 d'8 
-    d'16 d'16 d'8 
-    d'16 d'16 d'8 
+\addQuote clarinet {
+  \transposition bes
+  \repeat unfold 8 { d'16 d'16 d'8 }
 }
 
-\addQuote sax  {
-    \transposition es'
-    a8 a a a a a  a a 
+\addQuote sax {
+  \transposition es'
+  \repeat unfold 16 { a8 }
 }
 
 quoteTest = {
-    \transposition f  % french horn
-    
-    g'4
-    << \quoteDuring #"clarinet" { \skip 4 } s4^"clar" >> 
-    << \quoteDuring #"sax" { \skip 4 } s4^"sax" >> 
+  % french horn
+  \transposition f
+  g'4
+  << \quoteDuring #"clarinet" { \skip 4 } s4^"clar." >>
+  << \quoteDuring #"sax" { \skip 4 } s4^"sax." >>
+  g'4
 }
 
-<< \quoteTest
-   \new Staff
-   << \transpose c' d' \quoteTest
-     s4_"up 1 tone"
-  >>
->>
+{
+  \set Staff.instrumentName = \markup \center-align { "Horn" "in F" }
+  \quoteTest
+  \transpose c' d' << \quoteTest s4_"up a tone" >>
+}
index 8fbb70722aca36614c77c67f5b6425f7f1db12da..bcc0f3098409f94e56f81c646e6f47ad9270fa2a 100644 (file)
@@ -15,7 +15,7 @@ Rests may be used in various styles.
   indent = 0.0
   \context {
     \Staff
-    \remove Time_signature_engraver
+    \remove "Time_signature_engraver"
   }
 }
 
index 962b6a240fb98daea6452ae5d016467cdaba2841..d4459ca3c49612b89250198bf08e5eb51ea34db3 100644 (file)
@@ -15,6 +15,7 @@ altering-the-number-of-stems-in-a-beam.ly
 modifying-tuplet-bracket-length.ly
 changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
 making-an-object-invisible-with-the-transparent-property.ly
+automatic-beam-subdivisions.ly
 changing-the-tuplet-number.ly
 entering-several-tuplets-using-only-one--times-command.ly
 conducting-signs,-measure-grouping-signs.ly
index 6d705270e4158960446a24028bc8d045125e2afb..92beba3db248e7ff02af4266308200050a8f363b 100644 (file)
@@ -16,7 +16,8 @@ lasts one measure, which is a duration of 3/4.
   c c c
   \set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
   \repeat volta 5 { d d d }
-    \alternative { { e e e f f f }
-    { g g g } 
+  \alternative {
+    { e e e f f f }
+    { g g g }
   }
 }
index 8f05237b12e38ad748588a4a1ce5c1dd62216e69..0d3db03bc61210b9bc91c027cbee176a16d434e2 100644 (file)
@@ -10,34 +10,31 @@ chords.
 " }
 % begin verbatim
 melody = \relative c' {
-            \clef treble
-            \key c \major
-            \time 4/4
-         
-            a b c d
-         }
-         
-         text = \lyricmode {
-            Aaa Bee Cee Dee
-         }
-         
-         harmonies = \chordmode {
-            a2 c2
-         }
-         
-         \score {
-            <<
-               \new ChordNames {
-                  \set chordChanges = ##t
-                  \harmonies
-               }
-            \new Voice = "one" {
-               \autoBeamOff
-               \melody
-            }
-            \new Lyrics \lyricsto "one" \text
-            >>
-            \layout { }
-            \midi { }
-         }
+  \clef treble
+  \key c \major
+  \time 4/4
+  
+  a4 b c d
 
+}
+
+text = \lyricmode {
+  Aaa Bee Cee Dee
+}
+
+harmonies = \chordmode {
+  a2 c
+}
+
+\score {
+  <<
+    \new ChordNames {
+      \set chordChanges = ##t
+      \harmonies
+    }
+    \new Voice = "one" { \autoBeamOff \melody }
+    \new Lyrics \lyricsto "one" \text
+  >>
+  \layout { }
+  \midi { }
+}
index eceb129d3bbfb5da62033ebef068e06d9c6e7ce6..1de82b50f270f3ee5003738f82ad7605b5905212 100644 (file)
@@ -1,18 +1,19 @@
 creating-blank-staves.ly
-time-signature-in-parentheses.ly
+incipit.ly
 mensurstriche-layout-bar-lines-between-the-staves.ly
-adding-and-extra-staff-at-a-line-break.ly
+adding-ambitus-per-voice.ly
 changing-the-number-of-lines-in-a-staff.ly
-incipit.ly
+adding-an-extra-staff-at-a-line-break.ly
 display-bracket-with-only-one-staff-in-a-system.ly
-inserting-score-fragments-above-the-staff,-as-markups.ly
+time-signature-in-parentheses.ly
 adding-an-extra-staff.ly
 changing-the-staff-size.ly
+use-square-bracket-at-the-start-of-a-staff-group.ly
 quoting-another-voice-with-transposition.ly
-adding-ambiti-per-voice.ly
 clefs-commonly-tweaked-properties.ly
 quoting-another-voice.ly
 volta-multi-staff.ly
+inserting-score-fragments-above-a-staff,-as-markups.ly
 nesting-staves.ly
 non-traditional-key-signatures.ly
 making-some-staff-lines-thicker-than-the-others.ly
index e724cc45ff51570448e83d08a75dd41fe84e37c2..1c7cba928366b0e73551170bfa0062e881e1d13b 100644 (file)
@@ -1,20 +1,23 @@
-combining-dynamics-with-markup-texts.ly
 creating-text-spanners.ly
 creating-real-parenthesized-dynamics.ly
-markup-lines.ly
-three-sided-box.ly
 center-text-below-hairpin-dynamics.ly
-ottava-text.ly
 demonstrating-all-headers.ly
-utf-8.ly
+printing-marks-at-the-end-of-a-line-or-a-score.ly
 changing-the-default-text-font-family.ly
 combining-two-parts-on-the-same-staff.ly
 aligning-and-centering-instrument-names.ly
-vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
 outputting-the-version-number.ly
-blanking-staff-lines-using-the--whiteout-command.ly
 formatting-lyrics-syllables.ly
 how-to-put-ties-between-syllables-in-lyrics.ly
+combining-dynamics-with-markup-texts.ly
+vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
+aligning-marks-with-various-notation-objects.ly
+markup-lines.ly
+printing-marks-on-every-staff.ly
+three-sided-box.ly
 piano-template-with-centered-lyrics.ly
+utf-8.ly
+blanking-staff-lines-using-the--whiteout-command.ly
+ottava-text.ly
 adjusting-lyrics-vertical-spacing.ly
 aligning-lyrics.ly
index 4bce592109fad2cf31c3fe33d01aa3d6304bcec1..0e9d6731d7472fb0a90d6d901d6e1ea9fb8970b7 100644 (file)
@@ -5,19 +5,20 @@
   doctitle = "Transposing music with minimum accidentals"
   lsrtags = "pitches"
  texidoc = "There is a way to enforce enharmonic modifications for
-notes in order to have the minimum number of accidentals. In that
-case, ``Double accidentals should be removed, as well as E-sharp
-(-> F), bC (-> B), bF (-> E), B-sharp (-> C).'', as proposed by a
-request for a new feature.  In this manner, the most natural
-enharmonic notes are chosen in this example.  "
-}
+notes in order to have the minimum number of accidentals. In this
+case, the following rules apply:
+
+\"Double accidentals should be removed, as well as E sharp (-> F),
+C flat (-> B), F flat (-> E) and B sharp (-> C)\".
+
+In this manner, the most natural enharmonic notes are chosen.
+"}
 % begin verbatim
-#(define  (naturalise-pitch p)
+#(define  (naturalize-pitch p)
   (let* ((o (ly:pitch-octave p))
          (a (* 4 (ly:pitch-alteration p))) 
     ; alteration, a, in quarter tone steps, for historical reasons
          (n (ly:pitch-notename p)))
-
     (cond
      ((and (> a 1) (or (eq? n 6) (eq? n 2)))
       (set! a (- a 2))
@@ -25,54 +26,44 @@ enharmonic notes are chosen in this example.  "
      ((and (< a -1) (or (eq? n 0) (eq? n 3)))
       (set! a (+ a 2))
       (set! n (- n 1))))
-
     (cond
      ((> a 2) (set! a (- a 4)) (set! n (+ n 1)))
      ((< a -2) (set! a (+ a 4)) (set! n (- n 1))))
-
     (if (< n 0) (begin (set!  o (- o 1)) (set! n (+ n 7))))
     (if (> n 6) (begin (set!  o (+ o 1)) (set! n (- n 7))))
-
     (ly:make-pitch o n (/ a 4))))
 
-#(define (naturalise music)
+#(define (naturalize music)
   (let* ((es (ly:music-property music 'elements))
          (e (ly:music-property music 'element))
          (p (ly:music-property music 'pitch)))
-
     (if (pair? es)
         (ly:music-set-property!
          music 'elements
-         (map (lambda (x) (naturalise x)) es)))
-
+         (map (lambda (x) (naturalize x)) es)))
     (if (ly:music? e)
         (ly:music-set-property!
          music 'element
-         (naturalise e)))
-
+         (naturalize e)))
     (if (ly:pitch? p)
         (begin
-          (set! p (naturalise-pitch p))
+          (set! p (naturalize-pitch p))
           (ly:music-set-property! music 'pitch p)))
-
     music))
 
-music =  \relative c' { c4 d  e f g a b  c }
-
-naturaliseMusic =
+naturalizeMusic =
 #(define-music-function (parser location m)
                                        (ly:music?)
-                       (naturalise m))
+                       (naturalize m))
+
+music =  \relative c' { c4 d e g }
 
 \score {
-   \new Staff {
-     \transpose c ais \music
-     \naturaliseMusic \transpose c ais \music 
-    \break
+  \new Staff {
+    \transpose c ais \music
+    \naturalizeMusic \transpose c ais \music
     \transpose c deses \music
-    \naturaliseMusic \transpose c deses \music
+    \naturalizeMusic \transpose c deses \music
   }
-  \layout { ragged-right = ##t}
+  \layout { ragged-right = ##t }
 }
-
-
diff --git a/input/lsr/use-square-bracket-at-the-start-of-a-staff-group.ly b/input/lsr/use-square-bracket-at-the-start-of-a-staff-group.ly
new file mode 100644 (file)
index 0000000..6885293
--- /dev/null
@@ -0,0 +1,19 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.38"
+
+\header {
+  lsrtags = "staff-notation, contexts-and-engravers"
+ texidoc = "
+The system start delimiter @code{SystemStartSquare} can be used by
+setting it explicitly in a @code{StaffGroup} or @code{ChoirStaffGroup}
+context. 
+" }
+% begin verbatim
+\score {
+  \new StaffGroup { << 
+  \set StaffGroup.systemStartDelimiter = #'SystemStartSquare
+    \new Staff { c'4 d' e' f' }
+    \new Staff { c'4 d' e' f' }
+  >> }
+}
index 5d183b4fd25d6cd42a98a9c7635c43dd73d59c73..6923de54c2016f4ffaaaf7dfb9046c349a412a49 100644 (file)
@@ -5,34 +5,25 @@
 \header {
   lsrtags = "tweaks-and-overrides, spacing"
  texidoc = "
-By setting the Y-extent property to a fixed value (here -1.5 . 1.5), we
-force LilyPond to align every elements of the DynamicLineSpanner (text
-elements and dynamics) to a common reference point, regardless to the
-actual extent of these objects. This way, every element will be
-vertically centered, for a nicer output (you can compare the first and
-the second line in this example; the trick is only applied on the
-second line).
+By setting the @code{Y-extent} property to a fixed value, all
+@code{DynamicLineSpanner} objects (hairpins and dynamic texts) are
+aligned to a common reference point, regardless of their actual extent.
+This way, every element will be vertically centered, for a nicer output
+(you can compare the first and the second line in this example; the
+trick is only applied on the second line).
 
 The same idea is used to align the text scripts along their baseline.
 " }
 % begin verbatim
-\paper { indent = 0 line-width = 5\in }
-
-music = \relative c''
-{
-   c2\p^\markup { "gorgeous" } c\f^\markup { "fantastic" }
-   c4\p c \f \> c c \! \p
+music = \relative c'' {
+  c2\p^\markup { "gorgeous" } c\f^\markup { "fantastic" }
+  c4\p c\f\> c c\!\p
 }
 
-\score
 {
-   {
-       \music \break
-
-       \override DynamicLineSpanner #'staff-padding = #2.0
-       \override DynamicLineSpanner #'Y-extent = #'(-1.5 . 1.5)
-       \override TextScript #'Y-extent = #'(-1.5 . 1.5)
-       \music
-   }
+  \music \break
+  \override DynamicLineSpanner #'staff-padding = #2.0
+  \override DynamicLineSpanner #'Y-extent = #'(-1.5 . 1.5)
+  \override TextScript #'Y-extent = #'(-1.5 . 1.5)
+  \music
 }
-
index d3042b5a497d9a9f1f9868e0c9300972c7e31485..633332bb0dca7866d65b052a04ab2d5b4b3854e2 100644 (file)
  texidoc = "
 This template is basically the same as the simple \"Vocal ensemble\"
 template, with the exception that here all the lyrics lines are placed
-using alignAboveContext and alignBelowContext.
+using @code{alignAboveContext} and @code{alignBelowContext}.
 " }
 % begin verbatim
 global = {
-           \key c \major
-           \time 4/4
-         }
-         
-         sopMusic = \relative c'' {
-           c4 c c8[( b)] c4
-         }
-         sopWords = \lyricmode {
-           hi hi hi hi
-         }
-         
-         altoMusic = \relative c' {
-           e4 f d e
-         }
-         altoWords =\lyricmode {
-           ha ha ha ha
-         }
-         
-         tenorMusic = \relative c' {
-           g4 a f g
-         }
-         tenorWords = \lyricmode {
-           hu hu hu hu
-         }
-         
-         bassMusic = \relative c {
-           c4 c g c
-         }
-         bassWords = \lyricmode {
-           ho ho ho ho
-         }
-         
-         \score {
-           \new ChoirStaff <<
-              \new Staff = women <<
-                 \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 \lyricsto altos \altoWords
-         
-              \new Staff = men <<
-                 \clef bass
-                 \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
-         % again, we could replace the line above this with the line below.
-         %    \new Lyrics \lyricsto basses \bassWords
-           >>
-         
-           \layout {
-              \context {
-                 % a little smaller so lyrics
-                 % can be closer to the staff
-                 \Staff
-                 \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
-              }
-           }
-         }
-         
-         
-         \score {
-           \new ChoirStaff <<
-              \new Staff = women <<
-                 \new Voice =
-                   "sopranos" { \voiceOne << \global \sopMusic >> }
-                 \new Voice =
-                   "altos" { \voiceTwo << \global \altoMusic >> }
-              >>
-         
-              \new Lyrics \with {alignAboveContext=women} \lyricsto sopranos \sopWords
-              \new Lyrics \lyricsto altos \altoWords
-         
-              \new Staff = men <<
-                 \clef bass
-                 \new Voice =
-                   "tenors" { \voiceOne <<\global \tenorMusic >> }
-                 \new Voice =
-                   "basses" { \voiceTwo <<\global \bassMusic >> }
-              >>
-         
-              \new Lyrics \with {alignAboveContext=men} \lyricsto tenors \tenorWords
-              \new Lyrics \lyricsto basses \bassWords
-           >>
-         
-           \layout {
-              \context {
-                 % a little smaller so lyrics
-                 % can be closer to the staff
-                 \Staff
-                 \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
-              }
-           }
-         } 
+  \key c \major
+  \time 4/4
+}
 
+sopMusic = \relative c'' {
+  c4 c c8[( b)] c4
+}
+sopWords = \lyricmode {
+  hi hi hi hi
+}
+
+altoMusic = \relative c' {
+  e4 f d e
+}
+altoWords = \lyricmode {
+  ha ha ha ha
+}
+
+tenorMusic = \relative c' {
+  g4 a f g
+}
+tenorWords = \lyricmode {
+  hu hu hu hu
+}
+
+bassMusic = \relative c {
+  c4 c g c
+}
+bassWords = \lyricmode {
+  ho ho ho ho
+}
+
+\score {
+  \new ChoirStaff <<
+    \new Staff = women <<
+      \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 \lyricsto altos \altoWords
+    
+    \new Staff = men <<
+      \clef bass
+      \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
+    % again, we could replace the line above this with the line below.
+    % \new Lyrics \lyricsto basses \bassWords
+  >>
+  \layout {
+    \context {
+      % a little smaller so lyrics
+      % can be closer to the staff
+      \Staff
+      \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
+    }
+  }
+}
index 398c1df27aac64972a8f247ace8500759cb67977..ff4d5a6c04057569191c8282dfcbe02443d916a0 100644 (file)
@@ -1,17 +1,17 @@
 chant-or-psalms-notation.ly
 single-staff-template-with-notes-and-lyrics.ly
+adding-ambitus-per-voice.ly
 skips-in-lyric-mode-2.ly
 skips-in-lyric-mode.ly
-aligning-lyrics.ly
-vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
+vocal-ensemble-template-with-automatic-piano-reduction.ly
+ambitus-with-multiple-voices.ly
 how-to-put-ties-between-syllables-in-lyrics.ly
-adding-ambiti-per-voice.ly
 vertically-aligning-ossias-and-lyrics.ly
+vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
 single-staff-template-with-notes,-lyrics,-and-chords.ly
-vocal-ensemble-template-with-automatic-piano-reduction.ly
 formatting-lyrics-syllables.ly
 piano-template-with-melody-and-lyrics.ly
-ambiti-multiple-voices.ly
+aligning-lyrics.ly
 vocal-ensemble-template.ly
 adjusting-lyrics-vertical-spacing.ly
 demo-midiinstruments.ly
index 77d01aaad7472c6e346753209870cd2ebeff0e7c..bc526e9ca2aa7d98e97085620520b0fc1c0978f2 100644 (file)
@@ -258,8 +258,6 @@ multiple voices on the same staff."
 
   \description "A voice on a percussion staff."
   \remove "Arpeggio_engraver"
-  \consists "Multi_measure_rest_engraver"
-  \consists "Text_spanner_engraver"
   \consists "Grob_pq_engraver"
 
   \remove "Note_head_line_engraver"
@@ -272,7 +270,6 @@ multiple voices on the same staff."
   \remove "Fingering_engraver"
 
   \remove "Cluster_spanner_engraver"
-  \consists "Tuplet_engraver"
 
   \consists "Skip_event_swallow_translator"
 }