]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix makelsr.py and update input/lsr
authorJohn Mandereau <john.mandereau@gmail.com>
Mon, 14 Apr 2008 15:13:42 +0000 (17:13 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Mon, 14 Apr 2008 15:13:42 +0000 (17:13 +0200)
150 files changed:
buildscripts/makelsr.py
input/lsr/adding-a-figured-bass-above-or-below-the-notes.ly
input/lsr/adding-ambitus-per-voice.ly
input/lsr/adding-an-extra-staff-at-a-line-break.ly
input/lsr/adding-an-extra-staff.ly
input/lsr/adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
input/lsr/adding-drum-parts.ly
input/lsr/adding-fingerings-to-tablatures.ly
input/lsr/adding-parentheses-around-an-expressive-mark-or-chordal-note.ly
input/lsr/adding-the-current-date-to-a-score.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
input/lsr/alignment-vertical-spacing.ly
input/lsr/allowing-fingerings-to-be-printed-inside-the-staff.ly
input/lsr/altering-the-number-of-stems-in-a-beam.ly
input/lsr/ambitus-with-multiple-voices.ly
input/lsr/ancient-fonts.ly
input/lsr/ancient-notation-template----modern-transcription-of-gregorian-music.ly
input/lsr/ancient-notation-template----modern-transcription-of-mensural-music.ly
input/lsr/ancient-time-signatures.ly
input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly
input/lsr/automatic-beam-subdivisions.ly
input/lsr/automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly
input/lsr/bagpipes-intro.itely [deleted file]
input/lsr/bagpipes.snippet-list [deleted file]
input/lsr/beams-across-line-breaks.ly
input/lsr/blanking-staff-lines-using-the--whiteout-command.ly
input/lsr/breathing-signs.ly
input/lsr/broken-crescendo-hairpin.ly
input/lsr/caesura-railtracks-with-fermata.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-properties-for-individual-grobs.ly
input/lsr/changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly
input/lsr/changing-the-chord-names-to-german-or-semi-german-notation.ly
input/lsr/changing-the-default-text-font-family.ly
input/lsr/changing-the-number-of-lines-in-a-staff.ly
input/lsr/changing-the-staff-size.ly
input/lsr/changing-the-tuplet-number.ly
input/lsr/changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
input/lsr/chant-or-psalms-notation.ly
input/lsr/chord-name-exceptions.ly
input/lsr/clip-systems.ly
input/lsr/clusters.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/conducting-signs,-measure-grouping-signs.ly
input/lsr/contemporary-glissando.ly
input/lsr/contexts-and-engravers.snippet-list
input/lsr/controlling-the-placement-of-chord-fingerings.ly
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/creating-text-spanners.ly
input/lsr/custodes.ly
input/lsr/default-direction-of-stems-on-the-center-line-of-the-staff.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/drawing-boxes-around-grobs.ly
input/lsr/drawing-circles-around-various-objects.ly
input/lsr/editorial-and-educational-use.snippet-list
input/lsr/embedding-native-postscript-in-a--markup-block.ly [new file with mode: 0644]
input/lsr/engravers-one-by-one.ly
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/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly
input/lsr/formatting-lyrics-syllables.ly
input/lsr/generating-random-notes.ly
input/lsr/grid-lines-changing-their-appearance.ly
input/lsr/grid-lines-emphasizing-rhythms-and-notes-synchronization.ly
input/lsr/heavily-customized-polymetric-time-signatures.ly
input/lsr/how-to-put-ties-between-syllables-in-lyrics.ly
input/lsr/incipit.ly
input/lsr/inserting-score-fragments-above-a-staff,-as-markups.ly
input/lsr/jazz-combo-template.ly
input/lsr/letter-tablature-formatting.ly
input/lsr/line-arrows.ly
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/manually-controlling-beam-positions.ly
input/lsr/markup-lines.ly
input/lsr/mensurstriche-layout-bar-lines-between-the-staves.ly
input/lsr/modifying-tuplet-bracket-length.ly
input/lsr/move-specific-text.ly
input/lsr/nesting-staves.ly
input/lsr/non-traditional-key-signatures.ly
input/lsr/ottava-text.ly
input/lsr/outputting-the-version-number.ly
input/lsr/page-label.ly
input/lsr/permitting-line-breaks-within-beamed-tuplets.ly
input/lsr/piano-music.snippet-list
input/lsr/piano-template-simple.ly
input/lsr/piano-template-with-centered-dynamics.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/preventing-extra-naturals-from-being-automatically-added.ly
input/lsr/preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly
input/lsr/printing-marks-at-the-end-of-a-line-or-a-score.ly
input/lsr/printing-marks-on-every-staff.ly
input/lsr/printing-music-with-different-time-signatures.ly
input/lsr/proportional-strict-notespacing.ly
input/lsr/quoting-another-voice-with-transposition.ly
input/lsr/quoting-another-voice.ly
input/lsr/rest-styles.ly
input/lsr/rhythmic-slashes.ly
input/lsr/score-for-diatonic-accordion.ly
input/lsr/shortening-volta-brackets.ly
input/lsr/single-staff-template-with-notes,-lyrics,-and-chords.ly
input/lsr/single-staff-template-with-notes-and-chords.ly
input/lsr/single-staff-template-with-notes-and-lyrics.ly
input/lsr/single-staff-template-with-only-notes.ly
input/lsr/skips-in-lyric-mode-2.ly
input/lsr/skips-in-lyric-mode.ly
input/lsr/staff-notation.snippet-list
input/lsr/string-quartet-template-simple.ly
input/lsr/string-quartet-template-with-separate-parts.ly
input/lsr/table-of-contents.ly
input/lsr/template.snippet-list
input/lsr/text.snippet-list
input/lsr/three-sided-box.ly
input/lsr/time-signature-in-parentheses.ly
input/lsr/transcription-of-ancient-music-with-incipit.ly
input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly
input/lsr/tweaking-clef-properties.ly
input/lsr/tweaks-and-overrides.snippet-list
input/lsr/use-square-bracket-at-the-start-of-a-staff-group.ly
input/lsr/using-the--tweak-command-to-tweak-individual-grobs.ly
input/lsr/using-ties-with-arpeggios.ly
input/lsr/utf-8.ly
input/lsr/vertically-aligning-ossias-and-lyrics.ly
input/lsr/vertically-centered-dynamics-and-textscripts.ly
input/lsr/vocal-ensemble-template-with-automatic-piano-reduction.ly
input/lsr/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
input/lsr/vocal-ensemble-template.ly
input/lsr/vocal-music.snippet-list
input/lsr/volta-multi-staff.ly

index a637cbe1cd261ccc4a372994ddbc6d10d577a4ea..f3f91a0c0261e342b0a343fa99fa9591865e0496 100755 (executable)
@@ -52,10 +52,10 @@ unconverted = []
 notags_files = []
 
 # mark the section that will be printed verbatim by lilypond-book
-end_header_re = re.compile ('(\\header {.+?(?:"\\s*|\\s+)}\n)\n', re.M | re.S)
+end_header_re = re.compile ('(\\header {.+?doctitle = ".+?})\n', re.M | re.S)
 
 def mark_verbatim_section (ly_code):
-       return end_header_re.sub ('\\1% begin verbatim\n', ly_code, 1)
+       return end_header_re.sub ('\\1 % begin verbatim\n', ly_code, 1)
 
 begin_header_re = re.compile ('\\header\\s*{', re.M)
 
index 154d7243af5b6cb92b0634eb4337e23869081cbf..cb03887b9190449485662f389b712bf4704fa03d 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "chords, ancient-notation, contexts-and-engravers"
- texidoc = "
+
+  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
 @code{BassFigureAlignmentPositioning #'direction} property (exclusively
@@ -14,8 +15,10 @@ in a @code{Staff} context). Choices are @code{#UP} (or @code{#1}),
 As you can see here, this property can be changed as many times as you
 wish. Use @code{\\once \\override} if you don't want the tweak to apply
 to the whole score. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Adding a figured bass above or below the notes"
+} % begin verbatim
 bass = { \clef bass g4 b, c d e d8 c d2}
 continuo = \figuremode {
          < _ >4 < 6 >8   
index 8d130aa6729951992b2d317c53e83918d6d18dcb..bacadf518521709e8f0819c17b3ebaea8c73c96f 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "pitches, staff-notation, vocal-music"
- texidoc = "
+
+  texidoc = "
 Ambitus can be added per voice. In this case, the ambitus must be moved
 manually to prevent collisions. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Adding ambitus per voice"
+} % begin verbatim
 \new Staff <<
   \new Voice \with {
     \consists "Ambitus_engraver"
index bb9a54b1aa0681601d4d9a1005f8def9eebf2b4a..b206077b7618568e5dfb2b6c846a845159f9982f 100644 (file)
@@ -4,20 +4,23 @@
 
 \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
+
+  texidoc = "
+When adding a new staff at a line break, some extra space is
+unfortunately added 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.
+In versions 2.10 and earlier, a similar setting for the time signatures
+is also required (see the example).
+
 
 
-" }
-% begin verbatim
+"
+  doctitle = "Adding an extra staff at a line break"
+} % begin verbatim
 \score {
-  \new StaffGroup \relative c''{ 
+  \new StaffGroup \relative c'' 
     \new Staff 
     \key f \major
     c1 c^"Unwanted extra space" \break 
index 6cfd6cfc1d917e029b90581ae0b37d885ed436a7..2584621a04b22f78abcfbb4318753b0c874a5b53 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "staff-notation, contexts-and-engravers"
- texidoc = "
-You can add (possibly temporarily) an extra staff after the beginning
-of  a piece.  
-" }
-% begin verbatim
+
+  texidoc = "
+An extra staff can be added (possibly temporarily) after the start of a
+piece.  
+
+"
+  doctitle = "Adding an extra staff"
+} % begin verbatim
 \score {
   <<
     \new Staff \relative c'' { c1 c c c c }
index 899d2503f5583fe6b9d9b7a2e0111610b1df5f48..e73c44cac0d22f1b535c4f3d149934974635be52 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "rhythms, expressive-marks"
- texidoc = "
+
+  texidoc = "
 LilyPond syntax can involve many unusual placements for parentheses,
 brackets etc., which might sometimes have to be interleaved. For
 example, when entering a manual beam, the left square bracket has to be
@@ -14,8 +15,10 @@ at the end of the requested beaming, even if this note happens to be
 inside a tuplet section. This snippet demonstrates how to combine
 manual beaming, manual slurs, ties and phrasing slurs with tuplet
 sections (enclosed within curly braces). 
-" }
-% begin verbatim
+
+"
+  doctitle = "Adding beams, slurs, ties etc. when using tuplet and non-tuplet rythms."
+} % begin verbatim
 {
   r16[ g16 \times 2/3 { r16 e'8] }
   g16( a \times 2/3 { b d e') }
index 50bf6f554b1d3cba2e3c4521562850666238f901..f89939c1be40bdcc77138343c666a84eff49974b 100644 (file)
@@ -4,14 +4,18 @@
 
 \header {
   lsrtags = "rhythms, percussion"
- texidoc = "
-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 note heads according to the drum. You can easily
-attach an extra symbol to the drum, and restrict the number of lines. 
-" }
-% begin verbatim
+
+  texidoc = "
+Using the powerful pre-configured tools such as the @code{\\drummode}
+function and the @code{DrumStaff} context, inputting drum parts is
+quite easy: drums are placed at their own staff positions (with a
+special clef symbol) and have note heads according to the drum.
+Attaching an extra symbol to the drum or restricting the number of
+lines is possible. 
+
+"
+  doctitle = "Adding drum parts"
+} % begin verbatim
 drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh hhc4 r4 r2 }
 drl = \drummode { bd4 sn8 bd bd4 << bd ss >>  bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
 timb = \drummode { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb }
index c997121e8fc8ef09621bffc5ce79f6879e58f3b5..47aec01309502e40b0e6dcec057db9def477f7ec 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "guitar"
- texidoc = "
+
+  texidoc = "
 To add fingerings to tablatures, you can use a combination of
 @code{\\markup} and @code{\\finger}. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Adding fingerings to tablatures"
+} % begin verbatim
 one = \markup { \finger "1" }
 two = \markup { \finger "2" }
 threeTwo = \markup { \column { \finger "3" \finger "2" } }
index 0e699bed67cf9b565b0d77c41caf63313fbc831c..c734ccab6a7987ad89d16cb43dbc25184a796a74 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "expressive-marks"
- texidoc = "
+
+  texidoc = "
 The @code{\\parenthesize} function is a special tweak that encloses
 objects in parentheses. The associated grob is
 @code{Score.ParenthesesItem}. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Adding parentheses around an expressive mark or chordal note"
+} % begin verbatim
 \relative {
   c2-\parenthesize ->
   \override ParenthesesItem #'padding = #0.1
index c525d98d6e514122845729d3368940cc27269abf..f46f036948949c4d007126d5796a475f3e442d29 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "titles"
- texidoc = "
+
+  texidoc = "
 I often find it useful to include a date on printed music, so that I
 can see if I'm using the latest version, or tell someone else that he
 should only use the version after a certain date. A simple solution is
@@ -22,8 +23,10 @@ The solution is to use two scheme functions called @code{strftime} and
 solution, you can format the date just as you like it by adapting the
 @code{\"%d-%m-%Y\"} string. See the Guile documentation for more
 details on this format string: Formatting Calendar Time. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Adding the current date to a score"
+} % begin verbatim
 \version "2.11.38"
 % first, define a variable to hold the formatted date:
 date = #(strftime "%d-%m-%Y" (localtime (current-time)))
index 3cca1471ba8f9138865aa0933b5a630816be99ed..99c0b47ebbed68c21258834eff5fa3a544fcd4c7 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "repeats"
- texidoc = "
+
+  texidoc = "
 The @code{Volta_engraver} by default resides in the @code{Score}
 context, and brackets for the repeat are thus normally only printed
 over the topmost staff. This can be adjusted by adding the
-@code{Volta_engraver} to the @code{Staff} context where you want the
-brackets to appear; see also the \"Volta multi staff\" snippet.
-" }
-% begin verbatim
+@code{Volta_engraver} to the @code{Staff} context where the brackets
+should appear; see also the \"Volta multi staff\" snippet.
+
+"
+  doctitle = "Adding volta brackets to additional staves"
+} % begin verbatim
 <<
   \new Staff { \repeat volta 2 { c'1 } \alternative { c' } }
   \new Staff { \repeat volta 2 { c'1 } \alternative { c' } }
index 1e71ef88cd6b37578532fc0c567c9e4928b89cd5..33f4dd9eb8754964830b94fe06788406a650b862 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "text, vocal-music, spacing"
- texidoc = "
+
+  texidoc = "
 This snippet shows you how to bring the lyrics line closer to the
 staff.
-" }
-% begin verbatim
+
+"
+  doctitle = "Adjusting lyrics vertical spacing"
+} % begin verbatim
 % Default layout:
 <<
   \new Staff \new Voice = melody \relative c '{ c4 d e f g f e d c1 }
index becef5b1a0b136bf6f88899df66154ab641c17f5..c0c5b6e6f85763175019a99af003112ce1e6a3be 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "text, paper-and-layout, titles"
- texidoc = "
+
+  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 @code{\\markup} block and use one of the following possibilites:
@@ -25,8 +26,10 @@ width
     with an @code{\\hspace #n} object.
   
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Aligning and centering instrument names"
+} % begin verbatim
 \paper {
   indent = #0
   left-margin = #30
index 677bbba44095fceed2f0cf8f74434fd52b9f66f0..fb675b5ff75ea3a4d36e82433c660037fa40d126 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "text, vocal-music"
- texidoc = "
+
+  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. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Aligning lyrics"
+} % begin verbatim
 \relative c'' {
   c1 c c
 }
index c51271cb1cc1e7adeb82709592227c814dd8478b..fdc8dd519cb2cada10c39c5e5e613910bf83380b 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "text"
- texidoc = "
+
+  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},
@@ -19,8 +20,10 @@ of this example (in a score with multiple staves, this setting should
 be done for all the staves).
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Aligning marks with various notation objects"
+} % begin verbatim
 \relative c' {
   e1
   
index 28e73ec1c40851c382df6b1582122bc87f14f2cb..71ca319cb14fc8b3cb85e8b99750ca7cacea991d 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "tweaks-and-overrides, paper-and-layout, spacing"
- texidoc = "
+
+  texidoc = "
 By setting properties in @code{NonMusicalPaperColumn}, vertical spacing
 of alignments can be adjusted per system.
 
@@ -17,8 +18,10 @@ stretched vertically.
 For technical reasons, @code{\\overrideProperty} has to be used for
 setting properties on individual objects. @code{\\override} in a
 @code{\\context} block may still be used for global overrides. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Alignment vertical spacing"
+} % begin verbatim
 #(set-global-staff-size 13)
 
 \relative c''
index 8376bfe45774107106843422c80be92b6d745d04..1591e86ae3da90c148e989ce9d05a34c93524081 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "editorial-and-educational-use, spacing"
- texidoc = "
+
+  texidoc = "
 By default, fingering numbers will be printed outside the staff.
 However, this behavior can be canceled.
-" }
-% begin verbatim
+
+"
+  doctitle = "Allowing fingerings to be printed inside the staff"
+} % begin verbatim
 \relative c' {
   <c-1 e-2 g-3 b-5>2
   \once \override Fingering  #'staff-padding = #'()
index d29ad8d235668873102e252764a62749f16f4303..a1caa7f1f5440e3e87600fd34e5887472a5e6ca0 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "rhythms, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 You can alter the number of stems in a beam. In this example, two sets
 of four 32nds are joined, as if they were 8th notes.
 
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Altering the number of stems in a beam"
+} % begin verbatim
 \relative {
   #(override-auto-beam-setting '(end * * * *)  1 4)
   f32 g a b b a g f
index 6864d8d19be1d092de5fe1618f93497bccca2143..8b3e5932f170be091173f6dff0bf37d3d194a507 100644 (file)
@@ -4,13 +4,15 @@
 
 \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
+
+  texidoc = "
+Adding the @code{Ambitus_engraver} to the @code{Staff} context create a
+single ambitus per staff, even in the case of staves with multiple
+voices. 
+
+"
+  doctitle = "Ambitus with multiple voices"
+} % begin verbatim
 \new Staff \with {
   \consists "Ambitus_engraver"
   }
index 55cf18912ceacf4163bc1368af0853a3089ebdf7..f530a435787602f68692fae793a0e6a99056602f 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "ancient-notation"
- texidoc = "
+
+  texidoc = "
 Here are shown many (all?) of the symbols that are included in
 LilyPond's support of ancient notation.
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Ancient fonts"
+} % begin verbatim
 upperStaff = \context GregorianStaff = "upperStaff" <<
   \context GregorianVoice <<
     \set Score.timing = ##f
index 892b8942d0244c29e26c52df9902d13bf459b216..a9853b34e6373e024b57762941d085410382dec7 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "ancient-notation, template"
- texidoc = "
+
+  texidoc = "
 This example demonstrates how to do modern transcription of Gregorian
 music. Gregorian music has no measure, no stems; it uses only half and
 quarter noteheads, and special marks, indicating rests of different
 length.
-" }
-% begin verbatim
+
+"
+  doctitle = "Ancient notation template -- modern transcription of gregorian music"
+} % begin verbatim
 \include "gregorian-init.ly"
 
          chant = \relative c' {
index f42d442776147c07da7200973a75f4afe46dddde..b0f760e405666464ec9cb851fadba0866f61b99d 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "ancient-notation, template"
- texidoc = "
+
+  texidoc = "
 When transcribing mensural music, an incipit at the beginning of the
 piece is useful to indicate the original key and tempo. While today
 musicians are used to bar lines in order to faster recognize rhythmic
@@ -12,8 +13,10 @@ patterns, bar lines were not yet invented during the period of mensural
 music; in fact, the meter often changed after every few notes. As a
 compromise, bar lines are often printed between the staves rather than
 on the staves. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Ancient notation template -- modern transcription of mensural music"
+} % begin verbatim
 global = {
   \set Score.skipBars = ##t
 
index c8b0963a4e083b78d839e807407bdf091a69422e..421debf37f670f5200a5e23ee84d352a034256c9 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "ancient-notation"
- texidoc = "
+
+  texidoc = "
 Time signatures may also be engraved in an old style.
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Ancient time signatures"
+} % begin verbatim
 \score {
    { 
     \override Staff.TimeSignature  #'style = #'neomensural
index 25c106192df246e6b6d8f9f365c3c1e509da0214..245baaab77c0204b661ec6f6e077eb11d7c5e7d8 100644 (file)
@@ -4,22 +4,27 @@
 
 \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
+
+  texidoc = "
+The @code{shapeNoteStyles} property can be used to define various note
+head styles for each step of the scale (as set 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}, and @code{xcircle} are allowed) or based
+on old American engraving tradition (some latin note names are also
+allowed).
+
+That said, to imitate old American song books, there are several
+predefined note head styles available 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. 
+
+"
+  doctitle = "Applying note head styles depending on the step of the scale"
+} % begin verbatim
 fragment = {
   \key c \major
   c2 d e f g a b c
index 70b9962317eb99cb9c74015ec6e3ce701f203044..170001482206aa9aef5484f3d018c3acf0061e1f 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  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
+
+"
+  doctitle = "Automatic beam subdivisions"
+} % begin verbatim
 \score {
   \new Staff \relative {
     << {
index 9d4c1d4c12b1782db8e8f00b2e1848956bc97174..8408b2c83ced71eb7c7951ca7369adde3e5e8d9b 100644 (file)
@@ -4,13 +4,17 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  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 behavior, this snippet changes the beaming to quarter note
-beats. 
-" }
-% begin verbatim
+default as two sets of four.
+
+Using a macro which overrides the autobeaming behavior, this snippet
+changes the beaming to quarter note beats. 
+
+"
+  doctitle = "Automatic beams two per two in 4/4 or 2/2 time signature"
+} % begin verbatim
 % Automatic beams two per two in 4/4 or 2/2 time signature
 %              _____
 % Default     | | | |
@@ -20,7 +24,7 @@ beats.
 % The good way adapted from David Bobroff
 
 % macro for beamed two per two in 2/2 and 4/4 time signature
-qbeam= {
+qBeam = {
   #(override-auto-beam-setting '(end 1 8 * *) 1 4 'Staff)
   #(override-auto-beam-setting '(end 1 8 * *) 2 4 'Staff)
   #(override-auto-beam-setting '(end 1 8 * *) 3 4 'Staff)
@@ -36,7 +40,7 @@ qbeam= {
     %Use the macro
     \new Staff \relative c'' {
       \time 4/4
-      \qbeam
+      \qBeam
       g8^\markup { with the macro } g g g g g g g |
       g g g g4 g8 g g |
     }
diff --git a/input/lsr/bagpipes-intro.itely b/input/lsr/bagpipes-intro.itely
deleted file mode 100644 (file)
index 64b7a08..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-@node Bagpipes
-@unnumbered Bagpipes
-
-@lysnippets
-
diff --git a/input/lsr/bagpipes.snippet-list b/input/lsr/bagpipes.snippet-list
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
index a5326cda5042f3171e34444e454ee0e09a3a9c02..77797f5a6b6f45800bb8968ed2969129d1c3f9ce 100644 (file)
@@ -4,15 +4,19 @@
 
 \header {
   lsrtags = "rhythms, breaks"
- texidoc = "
-By default, beams can't be printed across line breaks. Here's a way to
-force the line break, by setting the @code{#'breakable} property. See
-also in the manual the \"Line Breaking\" and \"Manual beams\" sections.
 
-" }
-% begin verbatim
-\layout { ragged-right= ##t }
+  texidoc = "
+By default, beams can't be printed across line breaks. This behavior
+can be overridden by setting the @code{breakable} property. See also in
+the manual the \"Line breaking\" and \"Manual beams\" sections. 
+
+"
+  doctitle = "Beams across line breaks"
+} % begin verbatim
+\layout { ragged-right = ##t }
 \relative c'' {
   \override Score.Beam #'breakable = ##t
-  \time 3/16 c16[ d e \break f] 
+  \time 3/16
+  c16[ d e \break
+  f] r r 
 }
index 18feb70cc647be4142af10835131a6baea8a8b87..097ea080db77722f70d37f03017ad686e6cff646 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "editorial-and-educational-use, text"
- texidoc = "
+
+  texidoc = "
 The @code{\\whiteout} command underlays a white box under a markup.
 Since staff lines are in a lower layer than most other grobs, this
 white box will not overlap any other grob. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Blanking staff lines using the \whiteout command"
+} % begin verbatim
 \relative {
   \override TextScript #'extra-offset = #'(2 . 4)
   c2-\markup  { \whiteout \pad-markup #0.5 "middle C" } c
index bd79587cb8bf42338b19774eafd4760a8f763f4f..0d7773da519ef003ab99c7a92009dc6f05b88836 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "expressive-marks"
- texidoc = "
+
+  texidoc = "
 Breathing signs are available in different tastes: commas (default),
 ticks, vees and \"railroad tracks\" (caesura).
-" }
-% begin verbatim
+
+"
+  doctitle = "Breathing signs"
+} % begin verbatim
 \new Staff \relative c'' {
   \key es \major
   \time 3/4
index 5a08ab6c5c96dfcbc000f42adabc677839239d7d..dba88832427ce7a430bc92a8f11def15580c4d21 100644 (file)
@@ -20,7 +20,7 @@ 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
 
 \score {
   \relative c' {
index 9a7fbf1ac9696b841df1de0c5e6ad5e224a6640e..6d417d954d78767e11c064a3e24b5b69fc849acb 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "expressive-marks, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 A caesura is sometimes denoted with a double \"railtracks\" breath mark
 with a fermata sign positioned over the top of the railtracks. This
 snippet should present an optically pleasing combination of railtracks
 and a fermata.
-" }
-% begin verbatim
+
+"
+  doctitle = "Caesura ("railtracks") with fermata"
+} % begin verbatim
 {
   c''2.
   % construct the symbol
index a26e579de9021bb5b29b0fff26b8a801cf300827..99495e22a92c4c8d35014c93d30b47ec07adcd6d 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "expressive-marks, text"
- texidoc = "
+
+  texidoc = "
 This example provides a function to typeset a hairpin (de)crescendo
 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
+
+"
+  doctitle = "Center text below hairpin dynamics"
+} % begin verbatim
 hairpinWithCenteredText = #(define-music-function (parser location text) (markup?)
 #{
   \override Voice.Hairpin #'stencil = #(lambda (grob)
index 3f8ad3251f90b1935e5064ae048971d126868ce0..179f87fcc85d310c1517e8796c74411723aaf759 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "expressive-marks"
- texidoc = "
-To make the @code{\\flageolet} circle smaller you can use the following
-Scheme code. 
-" }
-% begin verbatim
+
+  texidoc = "
+To make the @code{\\flageolet} circle smaller use the following Scheme
+function. 
+
+"
+  doctitle = "Changing \flageolet mark size"
+} % begin verbatim
 smallFlageolet = #(let ((m (make-music 'ArticulationEvent
                           'articulation-type "flageolet")))
        (set! (ly:music-property m 'tweaks)
index 465286b3bcfbba49c2eeab7363b24e9599d73a95..50535f13c03a396dcbcf3bfecbb909f15bfac4d6 100644 (file)
@@ -4,10 +4,11 @@
 
 \header {
   lsrtags = "simultaneous-notes, editorial-and-educational-use, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 Individual note heads in a chord can be modified with the
-@code{\\tweak} command inside a chord, by altering the
-@code{'font-size} property.
+@code{\\tweak} command inside a chord, by altering the @code{font-size}
+property.
 
 
 Inside the chord (within the brackets @code{< >}), before the note to
@@ -16,9 +17,10 @@ be altered, place the @code{\\tweak} command, followed by
 notehead).
 
 
-The code for the chord example shown: @code{} 
-" }
-% begin verbatim
+
+"
+  doctitle = "Changing a single note's size in a chord"
+} % 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 }
index 163a91b6b13234d2cb6a7c89b9ae64cbf9d06c3b..44573554d524d87b0a99b8c8f247d87100b8b512 100644 (file)
@@ -11,8 +11,8 @@ 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 ten
 may be changed by an override:
-"}
-% begin verbatim
+"} % begin verbatim
+
 \relative c'' {
   \compressFullBarRests
   R1*2 | R1*5 | R1*9
index c5c1976dc5994a436132f05b14b82741dc8ec045..b0f9facd1f06c2ec472bbb76a26fd89ac40c5175 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 The @code{\\applyOutput} command gives you the ability to tune any
 layout object, in any context. It requires a Scheme function with three
 arguments; advanced users can write it quite easily, whereas new users
 may want to use pre-defined functions such as this snippet, or the
 example in the manual.
-" }
-% begin verbatim
+
+"
+  doctitle = "Changing properties for individual grobs"
+} % begin verbatim
 % ****************************************************************
 % ly snippet:
 % ****************************************************************
index 5ba1747bd4c8f23789b737a4552c3fbc139e7020..3111bd7981c7bb50d475cebfc6ca4fff98223860 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "expressive-marks, editorial-and-educational-use"
- texidoc = "
+
+  texidoc = "
 The appearance of slurs may be changed from solid to dotted or dashed.
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Changing the appearance of a slur from solid to dotted or dashed"
+} % begin verbatim
 \relative c' {
   c( d e  c) |
   \slurDotted
index 03f64fea32cb2b224c921f8e6b6575831c1d6c4f..3d512f871dc7f2d81bd2abacc60164a8820d6516 100644 (file)
@@ -4,15 +4,18 @@
 
 \header {
   lsrtags = "chords"
- texidoc = "
+
+  texidoc = "
 The english naming of chords (default) can be changed to german 
 (@code{\\germanChords} replaces B and Bes to H and B) or semi-german 
 (@code{\\semiGermanChords} replaces B and Bes to H and Bb).
 
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Changing the chord names to German or semi-German notation"
+} % begin verbatim
 music = \chordmode {
   c1/c cis/cis
   b/b bis/bis bes/bes
index 1d2fa5803a9ebc37f81a470c4543fcfecdd21ed3..c2b3472ae6744a937d715c014d8cdb78ffedddbf 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "text, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 The default font families for text can be overridden with
 @code{make-pango-font-tree}. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Changing the default text font family"
+} % begin verbatim
 \paper {
   % change for other default global staff size. 
   myStaffSize = #20
index 7beb4a38b0b29b5caa4e5d5564588d48bb84836e..f3b8a9dd7cf029c6f14f1aaf842bb980605b6cec 100644 (file)
@@ -4,32 +4,34 @@
 
 \header {
   lsrtags = "staff-notation"
- texidoc = "
-The number of lines in a staff may changed by overriding
-@code{line-count} in the properties of @code{StaffSymbol}.
 
+  texidoc = "
+The number of lines in a staff may changed by overriding the
+@code{StaffSymbol} property @code{line-count}.
 
-" }
-% begin verbatim
+
+
+
+"
+  doctitle = "Changing the number of lines in a staff"
+} % begin verbatim
 upper = \relative c'' {
   c1 d e f
 }
 
 lower = \relative c {
+  \clef bass
   c1 b a g
 }
 
 \score {
   \context PianoStaff <<
-    \new Staff <<
+    \new Staff {
       \upper
-    >>  
-    \new Staff  {
-       \override Staff.StaffSymbol  #'line-count = #4 
-        \clef bass
-        \lower
+    }
+    \new Staff {
+      \override Staff.StaffSymbol #'line-count = #4 
+      \lower
     }
   >>
-
 }
-
index a272ce4b353b285844705fda38001e7d2484335c..4d04de01ec4d757183711a814639617e6a0503c1 100644 (file)
@@ -4,23 +4,25 @@
 
 \header {
   lsrtags = "staff-notation, tweaks-and-overrides, paper-and-layout"
- texidoc = "
-In order to change staff sizes, both @code{staff-space} and
-@code{fontSize} must be scaled.
 
-If you do not want to resize staves individually, the simplest way is
-to use @code{#(set-global-staff-size xx)}. 
-" }
-% begin verbatim
+  texidoc = "
+Though the simplest way to resize staves is to use
+@code{#(set-global-staff-size xx)}, an individual staff's size can be
+changed by scaling the properties @code{staff-space} and
+@code{fontSize}. 
+
+"
+  doctitle = "Changing the staff size"
+} % begin verbatim
 <<
-  \new Staff \relative c'' { \dynamicDown c8 \ff c c c c c c c } 
+  \new Staff \relative c'' { \dynamicDown c8\ff c c c c c c c } 
   \new Staff \with {
     fontSize = #-3
     \override StaffSymbol #'staff-space = #(magstep -3)
   }
   {
     \clef bass
-    c8 c c c  c c c c
+    c8 c c c c\f c c c
   }
 >>
 
index 9f3fb3f9f9620ad26dd9c9d8b81d57cff4551bce..7c4857dfdc0ab798d6ff4a1b3b0c2ab161d986e9 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  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
 @code{\\times} command. Alternatively, num:den of the tuplet number may
 be printed, or the tuplet number may be suppressed altogether.
-" }
-% begin verbatim
+
+"
+  doctitle = "Changing the tuplet number"
+} % begin verbatim
 \relative c'' {
   \times 2/3 { c8 c c } \times 2/3 { c8 c c }
   \override TupletNumber #'text = #tuplet-number::calc-fraction-text
index eee7f5b2349f96e64b7e53b590ccfa4f41c85796..c778433e45bd6b4cd5ffe2027fd4eae83fb7fa1a 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "rhythms, contexts-and-engravers"
- texidoc = "
+
+  texidoc = "
 The @code{measureLength} property, together with
 @code{measurePosition}, determines when a bar line is needed. However,
 when using @code{\\compressMusic}, the scaling of durations makes it
@@ -12,8 +13,10 @@ 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 must be the same as
 the second argument of @code{\\compressMusic}. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Changing time signatures inside a polymetric section using \compressMusic"
+} % begin verbatim
 \layout {
   \context {
     \Score
index d1abd7876b36f4774730743fe2214cbb84e72495..6d4fbf42cda70a03f0c25b064b08faf59f11820d 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "rhythms, vocal-music, ancient-notation, contexts-and-engravers"
- texidoc = "
+
+  texidoc = "
 This form of notation is used for the chant of the Psalms, where verses
 aren't always the same length.
-" }
-% begin verbatim
+
+"
+  doctitle = "Chant or psalms notation"
+} % begin verbatim
 stemOn = { \override Staff.Stem #'transparent = ##f }
 stemOff = { \override Staff.Stem #'transparent = ##t }
 
index 22cc2cb27adee110fdbe5eb9484879e1aadba335..7936c1ab0918ce59b6f09289e9a4ef9a6bc9a4f9 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "chords"
- texidoc = "
+
+  texidoc = "
 The property @code{chordNameExceptions} can used to store a list of
 special notations for specific chords. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Chord name exceptions"
+} % begin verbatim
 % 7sus4 denoted with ^7 wahh
 chExceptionMusic = {
   <c f g bes>1-\markup { \super "7" "wahh" }
index 2681cb08ab3f21a7c56ea2d2cf268da48dc53851..c830b0e330b39140e7b1818c655bf2019560c609 100644 (file)
@@ -21,8 +21,8 @@ The result will be files named
 @item Regions can span multiple systems. In this case, multiple EPS files are generated.
 @end itemize
 "
-}
-% begin verbatim
+} % begin verbatim
+
 #(ly:set-option 'clip-systems)
 
 #(set! output-count 1)
index 47c57d79b3005d69e29128a11c1b04a304d2a244..7ea8b1311abc078cb132954f4094109bfac29743 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "simultaneous-notes, chords, piano-music"
- texidoc = "
+
+  texidoc = "
 Clusters are a device to denote that a complete range of notes is to be
 played.
-" }
-% begin verbatim
+
+"
+  doctitle = "Clusters"
+} % begin verbatim
 \layout {
   ragged-right = ##t 
 }
index 9f9092b29a80241de0c29de4ad32c4eeee99057f..78f79ef308ad5837dd5bc51fad1986ba8ac6438c 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "expressive-marks, text"
- texidoc = "
+
+  texidoc = "
 Some dynamics may involve text indications (such as \"più forte\" or
 \"piano subito\"). They can be produced using a @code{\\markup} block.
-" }
-% begin verbatim
+
+"
+  doctitle = "Combining dynamics with markup texts"
+} % begin verbatim
 piuF = \markup { \italic "più" \dynamic "f" }
 
 \relative c'' {
-  c2 c-\piuF
+  c2\f c-\piuF
 }
 
index ef63f1f01d4dd6c016b7a60b043a51dfaf8ddc15..0fd7054f47b7cdf0d85390b43dab108592dfa56c 100644 (file)
@@ -4,22 +4,28 @@
 
 \header {
   lsrtags = "simultaneous-notes, text"
- texidoc = "
-The part combiner tool ( @code{\\partcombine} command ) allows you to
-combine different parts on the same staff. Text directions such as
-\"solo\" or \"a2\" are added by default; to remove them, simply set the
-property @code{printPartCombineTexts} to \"false\". For vocal scores
-(hymns), there is no need to add \"solo\"/\"a2\" texts, so they should
-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} without texts, and @code{\\partcombine} with texts.
-
-
-
-" }
-% begin verbatim
+
+  texidoc = "
+The part combiner tool ( @code{\\partcombine} command ) allows the
+combination of several different parts on the same staff. Text
+directions such as \"solo\" or \"a2\" are added by default; to remove
+them, simply set the property @code{printPartCombineTexts} to
+\"false\". For vocal scores (hymns), there is no need to add
+\"solo\"/\"a2\" texts, so they should be switched off. However, it
+might be better not to use it if there are any solos, as they won't be
+indicated. In such cases, standard polyphonic notation may be
+preferable.
+
+This snippet presents the three ways two parts can be printed on a same
+staff: standard polyphony, @code{\\partcombine} without texts, and
+@code{\\partcombine} with texts.
+
+
+
+
+"
+  doctitle = "Combining two parts on the same staff"
+} % begin verbatim
 musicUp = \relative c'' {
   \time 4/4
   a4 c4.( g8) a4 |
index aaa0da421853ecf74aef14e369a5b9c35f8303af..3a2a3d4963050f521ffc4e224221d324f1083e07 100644 (file)
@@ -4,16 +4,19 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  texidoc = "
 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 behavior. (You can even add graphic
-measure grouping indications; see the appropriate snippet in this
+adapting the automatic beaming behavior. (Graphic measure grouping
+indications can also be added; see the appropriate snippet in this
 database.) 
-" }
-% begin verbatim
+
+"
+  doctitle = "Compound time signatures"
+} % begin verbatim
 #(define (compound-time one two num)
   (markup #:override '(baseline-skip . 0) #:number
    (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num))))
@@ -27,5 +30,5 @@ database.)
   #(override-auto-beam-setting '(end 1 8 5 8) 1 4)
   c8 d e fis gis |
   c fis, gis e d |
-  c8 d e4  gis8
+  c8 d e4 gis8
 }
index eacc4c63566e690433e6b2b17272e1fff80d383a..aea46a34fbfe8c4a9fe1a39d6d0ae4d44196cc9d 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  texidoc = "
 The Scheme function @code{set-time-signature}, in combination with the
 @code{Measure_grouping_engraver}, creates measure grouping signs. Such
 signs ease reading rhythmically complex modern music. In the following
@@ -13,12 +14,18 @@ is passed to @code{set-time-signature} as the third argument @code{(2 2
 2 3)}.
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Conducting signs, measure grouping signs"
+} % begin verbatim
 \score {
   \relative c'' {
     #(set-time-signature 9 8 '(2 2 2 3))
-    g8[ g] d[ d] g[ g] a8[( bes g]) |
+    #(revert-auto-beam-setting '(end * * 9 8) 3 8)
+    #(override-auto-beam-setting '(end 1 8 9 8) 1 4)
+    #(override-auto-beam-setting '(end 1 8 9 8) 2 4)
+    #(override-auto-beam-setting '(end 1 8 9 8) 3 4)
+    g8 g d d g g a( bes g) |
     #(set-time-signature 5 8 '(3 2))
     a4. g4
   }
@@ -29,4 +36,3 @@ is passed to @code{set-time-signature} as the third argument @code{(2 2
     }
   }
 }
-
index 1a6e92f2661eca46eb62e6b9a794f092c6ba8b4b..65552b0f2a03dd5d36adc6146946aa5dc9a70dd3 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "expressive-marks"
- texidoc = "
+
+  texidoc = "
 A contemporary glissando without a final note can be typeset using a
 hidden note and cadenza timing.
-" }
-% begin verbatim
+
+"
+  doctitle = "Contemporary glissando"
+} % begin verbatim
 \relative c'' {
   \time 3/4
   \override Glissando #'style = #'zigzag
index 670a7a75febc7101cca765da73e4205fe7bbed2c..b7fe708ac2bf3b0020cadf585dec1f34de089b2e 100644 (file)
@@ -3,9 +3,9 @@ chant-or-psalms-notation.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
+vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
 changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly
+mensurstriche-layout-bar-lines-between-the-staves.ly
 engravers-one-by-one.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 ae8917ca0d16564bdb59dcf4121fbe1b94d6fa16..3f75c81c5b73a5b41e0daf702b53dfce6555107d 100644 (file)
@@ -4,21 +4,24 @@
 
 \header {
   lsrtags = "editorial-and-educational-use, chords, piano-music"
- texidoc = "
+
+  texidoc = "
 The placement of fingering numbers can be controlled precisely.
-" }
-% begin verbatim
-\relative c'{
+
+"
+  doctitle = "Controlling the placement of chord fingerings"
+} % begin verbatim
+\relative c' {
   \set fingeringOrientations = #'(left)
-  <c-1 e-3 a-5 > 4
+  <c-1 e-3 a-5>4
   \set fingeringOrientations = #'(down)
-  <c-1 e-3 a-5 >
+  <c-1 e-3 a-5>
   \set fingeringOrientations = #'(right)
-  <c-1 e-3 a-5 >
+  <c-1 e-3 a-5>
   \set fingeringOrientations = #'(up)
-  <c-1 e-3 a-5 >
+  <c-1 e-3 a-5>
   \set fingeringOrientations = #'(left down)
-  <c-1 e-3 a-5 > 2
+  <c-1 e-3 a-5>2
   \set fingeringOrientations = #'(up right down)
-  <c-1 e-3 a-5 >
+  <c-1 e-3 a-5>
 }
index c88c7ea5316894dc7aea6d5b7b27f46e52b32025..24deaacb54d70fabe85265b5217103a633fb9150 100644 (file)
@@ -4,15 +4,18 @@
 
 \header {
   lsrtags = "rhythms, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 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
+
+"
+  doctitle = "Controlling tuplet bracket visibility"
+} % begin verbatim
 mus = \relative c'' {
   \times 2/3 { c16[ d e } f8]
   \times 2/3 { c8 d e }
index 08d03b1dcecdb978903a081ec7499b195b5f7e56..3b3fc7477b395c7f522be2d4eb24547c1b037833 100644 (file)
@@ -4,15 +4,18 @@
 
 \header {
   lsrtags = "pitches"
- texidoc = "
+
+  texidoc = "
 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
+at different pitches, the following music function may prove useful. It
+takes a note, of which only the pitch is used. The supporting Scheme
 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
+
+"
+  doctitle = "Creating a sequence of notes on various pitches"
+} % begin verbatim
 #(define (make-note-req p d)
   (make-music 'NoteEvent
    'duration d
index ac0c6d32a8e06bf5b3f785f0e903ce9fe6c9421b..4e32db01fcacc511b9f565151d08b42df4f26d68 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "staff-notation, editorial-and-educational-use, contexts-and-engravers, paper-and-layout"
- texidoc = "
-To create blank staves, you must generate empty measures, removing also
-from the @code{Score} context the @code{Bar_number_engraver}, and from
-the @code{Staff} context the @code{Time_signature_engraver}, the
-@code{Clef_engraver} and the @code{Bar_engraver}. 
-" }
-% begin verbatim
+
+  texidoc = "
+To create blank staves, generate empty measures then remove the
+@code{Bar_number_engraver} from the @code{Score} context, and the
+@code{Time_signature_engraver}, @code{Clef_engraver} and
+@code{Bar_engraver} from the @code{Staff} context. 
+
+"
+  doctitle = "Creating blank staves"
+} % begin verbatim
 #(set-global-staff-size 20)
 
 \score {
index 69ce5da881ad959b21d4030e57f7febfab7e9222..53e5dd0642d931625df8fe057b4d76cccfaf06db 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "expressive-marks, text"
- texidoc = "
+
+  texidoc = "
 Although the easiest way to add parentheses to a dynamic mark is to use
 a @code{\\markup} block, this method has a downside: the created
 objects will behave like text markups, and not like dynamics.
@@ -16,14 +17,16 @@ be regarded as a dynamic, and therefore will remain compatible with
 commands such as @code{\\dynamicUp} or @code{\\dynamicDown}.
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Creating "real" parenthesized dynamics"
+} % begin verbatim
 \paper { ragged-right = ##t }
 
 parenF = #(make-dynamic-script (markup #:line (#:normal-text #:italic
-           #:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text #:italic
-           #:fontsize 2 ")"
+           #:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text
+           #:italic #:fontsize 2 ")"
           )))
-{
-  c''4\parenF c'' c'' \dynamicUp c''\parenF
+\relative c'' {
+  c4\parenF c c \dynamicUp c\parenF
 }
index da93b64dc3aa9efcc8053d27ddd97e502ce44947..f507265d356ce890109bee13fc818a1d693225aa 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "expressive-marks, text, tweaks-and-overrides"
- texidoc = "
-The @code{\\startTextSpan} and @code{\\stopTextSpan} commands give you
-the ability to create text spanners as easily as pedal indications or
+
+  texidoc = "
+The @code{\\startTextSpan} and @code{\\stopTextSpan} commands allow the
+creation of text spanners as easily as pedal indications or
 octavations. Override some properties of the @code{TextSpanner} object
 to modify its output.
-" }
-% begin verbatim
+
+"
+  doctitle = "Creating text spanners"
+} % begin verbatim
 \relative c'' {
   \override TextSpanner  #'edge-text = #'("bla" . "blu")
   a \startTextSpan
index b823da152a277c6d720bde3592899d1fa7498896..8987abddedfaa2c1e08bddd9e1be76cffabc1fc4 100644 (file)
@@ -4,10 +4,13 @@
 
 \header {
   lsrtags = "ancient-notation, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 Custodes may be engraved in various styles.
-" }
-% begin verbatim
+
+"
+  doctitle = "Custodes"
+} % begin verbatim
 \layout { ragged-right = ##t }
 
 \new Staff \with { \consists "Custos_engraver" } \relative c' {
index 2a889932d548e63ad8cedfe09960a1ad59d06e8c..7c6673264f8c341608a32272c972656d9fa932f6 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "editorial-and-educational-use"
- texidoc = "
-The direction of stems on the center line of the staff can be changed,
-as demonstrated in this example. 
-" }
-% begin verbatim
+
+  texidoc = "
+The default direction of stems on the center line of the staff is set
+by the @code{Stem} property @code{neutral-direction}.
+
+"
+  doctitle = "Default direction of stems on the center line of the staff"
+} % begin verbatim
 \relative c'' {
   a b c b
   \override Stem #'neutral-direction = #up
index 3444daee8d5895af524a9e578a308e490aa352a5..cbe518e31eda253e58226bf4a08f3c8d867314e7 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "vocal-music, piano-music, strings, midi"
- texidoc = "
+
+  texidoc = "
 Problem: How to know which @code{midiInstrument} would be best for your
 composition?Solution: A LilyPond demo file.
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Demo MidiInstruments"
+} % begin verbatim
 \header {
   title = "Demo of all midi sounds"
   arranger = "Myself "
index c8e09c9d63d6299a8962fd037381a8dd0ff8bb40..ef7645ff3df4262cd44dd8a0f82a522725ab6f90 100644 (file)
@@ -4,10 +4,13 @@
 
 \header {
   lsrtags = "text, paper-and-layout, titles"
- texidoc = "
+
+  texidoc = "
 A demonstration of all headers.
-" }
-% begin verbatim
+
+"
+  doctitle = "Demonstrating all headers"
+} % begin verbatim
 \header {
   copyright = "copyright"
   title = "title"
index d0627939a6051297984147b5e33363040cefa7cb..ce632161a6b5b87ae87d90f5596f65d070bbace6 100644 (file)
@@ -4,54 +4,41 @@
 
 \header {
   lsrtags = "staff-notation, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 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
-behavior. This can be changed with:
-
-
-@code{\\override [staffcontext].SystemStartBracket #'collapse-height =
-#1}
- and
-
-@code{\\override [staffcontext].SystemStartBar #'collapse-height = #1}
-
-
-This applies to all staff contexts with
-@code{systemStartDelimiter}-property set to @code{'SystemStartBracket}.
-
-
-
-For staff contexts with @code{'SystemStartBrace}, such as
-@code{PianoStaff}, this tweaking can be used as well.
-
-
-
-" }
-% begin verbatim
-\layout {
-  ragged-right = ##t
-  indent = 0\cm
-}
-
-\score {
-  \new StaffGroup <<
-    % Must be lower than your actual amount off staff lines
+behavior.  This can be changed by overriding the relevant properties,
+as demonstrated in this example.
+
+Note that in some contexts such as @code{PianoStaff} where the systems
+begin with a brace instead of a bracket, another property has to be
+set, as shown on the second system in the example. 
+
+"
+  doctitle = "Display bracket with only one staff in a system"
+} % begin verbatim
+\markup \column {
+  \score {
+    \new StaffGroup <<
+    % Must be lower than your actual amount of staff lines
     \override StaffGroup.SystemStartBracket #'collapse-height = #1
     \override Score.SystemStartBar #'collapse-height = #1
     \new Staff {
-      c'4 d' e' f'
+      c'1
     }
-  >>
-}
-
-\score {
-  \new PianoStaff <<
+    >>
+    \layout {ragged-right = ##t}
+  }
+  \score {
+    \new PianoStaff <<
     \override PianoStaff.SystemStartBrace #'collapse-height = #1
     \override Score.SystemStartBar #'collapse-height = #1
     \new Staff {
-      c'4 d' e' f'
+      c'
     }
-  >>
-}
+    >> 
+    \layout {ragged-right = ##t}
+  }
+} 
index 721ad91a1d4aa23b7316a2436c256f0c406415e8..35e5450451152a313f962d3ea64716608c0245a9 100644 (file)
@@ -4,16 +4,20 @@
 
 \header {
   lsrtags = "pitches"
- texidoc = "
+
+  texidoc = "
 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. 
-" }
-% begin verbatim
+new approach to music theory and language.
+
+This snippet shows how to achieve such notation rules. 
+
+"
+  doctitle = "Dodecaphonic-style accidentals for each note including naturals"
+} % begin verbatim
 webernAccidentals = {
   % the 5s are just "a value different from any accidental"
   \set Staff.keySignature = #'((0 . 5) (1 . 5) (2 . 5) (3 . 5)
@@ -30,6 +34,9 @@ webernAccidentals = {
     c' c' dis' des'
   }
   \layout {
-    \context { \Staff \remove "Key_engraver" }
+    \context {
+    \Staff
+    \remove "Key_engraver"
+    }
   }
 }
index 29d23925a9c097efa928871d2dacaaae5a791162..fc77c565e2fa575b22a60d46557143119172a539 100644 (file)
@@ -9,8 +9,8 @@
 The @code{print-function} can be overridden to draw a box around an
 arbitrary grob.  
 "
-}
-% begin verbatim
+} % begin verbatim
+
 \relative c'' {
   \override TextScript  #'stencil =
   #(make-stencil-boxer 0.1 0.3 ly:text-interface::print)
index a73b93ff6ca1b47f89fa05f90c185e20dc6c992d..d500865121f315d4ab475e050394e8cfa047f7b5 100644 (file)
@@ -8,13 +8,13 @@
   texidoc = "
 The @code{\circle} command allows you to draw circles around various objects,
 for example fingering indications. However, some objects require
-specific tweaks: rehearsal marks depend on the @code{Score.markFormatter}
+specific tweaks: rehearsal marks depend on the @code{Score.markFormatter} % begin verbatim
 context, bar numbers on the @code{Score.BarNumber} context, and so on.
 
 You can tweak the printing of your circles by setting some properties
 such as @code{#'thickness}, @code{#'circle-padding} or @code{#'font-size}.
 " }
-% begin verbatim
+
 \relative c'{
 c1
 \set Score.markFormatter
index 595fd0ae16f153500a70737fe2aba89ae0598169..139d6dbcccf5418b9f93edaceee7ad7cba0ddc10 100644 (file)
@@ -2,10 +2,11 @@ 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
+embedding-native-postscript-in-a--markup-block.ly
 default-direction-of-stems-on-the-center-line-of-the-staff.ly
 changing-a-single-notes-size-in-a-chord.ly
-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
-grid-lines-changing-their-appearance.ly
+grid-lines;-emphasizing-rhythms-and-notes-synchronization.ly
+grid-lines;-changing-their-appearance.ly
diff --git a/input/lsr/embedding-native-postscript-in-a--markup-block.ly b/input/lsr/embedding-native-postscript-in-a--markup-block.ly
new file mode 100644 (file)
index 0000000..c6bb8a8
--- /dev/null
@@ -0,0 +1,24 @@
+%% 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 = "editorial-and-educational-use, text"
+
+  texidoc = "
+PostScript code can be directly inserted inside a @code{\\markup}
+block. 
+
+"
+  doctitle = "Embedding native PostScript in a \markup block"
+} % begin verbatim
+% PostScript is a registred trademark by Adobe Systems Inc.
+
+\relative c'' {
+  a-\markup { \postscript #"3 4 moveto 5 3 rlineto stroke" }
+  -\markup { \postscript #"[ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke " }
+  
+  b-\markup { \postscript #"3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke" }
+  s2
+  a'1
+}
index 0069a9f92f7628f8b549db76257e90421d83aa5c..720b2ea15f19ffd1970f3ce28563ab326a9e3fef 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "contexts-and-engravers"
- texidoc = "
+
+  texidoc = "
 The notation problem, creating a certain symbol, is handled by plugins.
 Each plugin is called an Engraver. In this example, engravers are
 switched on one by one, in the following order:
@@ -35,8 +36,10 @@ context.
 
 You may only see the first example in this document; please download
 this snippet and run it from your own computer. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Engravers one-by-one"
+} % begin verbatim
 %% sample music
 topVoice =  \relative c' {
   \key d\major
index ea7ea694b49f58e4cc13a66084c211f2f85aace3..3dc83dddac7043ac41c29866bdb8331f6620ef8d 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  texidoc = "
 Ties may be engraved manually by changing the @code{tie-configuration}
 property of the @code{TieColumn} object. The first number indicates the
 distance from the center of the staff in staff-spaces, and the second
 number indicates the direction (1 = up, -1 = down).
-" }
-% begin verbatim
+
+"
+  doctitle = "Engraving ties manually"
+} % begin verbatim
 \relative c' {
   <c e g>2 ~ <c e g> |
   \override TieColumn #'tie-configuration =
index 15c23bf838485aea499290576c64a53cb92b19bb..f7ad762465e3078574fbd345c5695e71f4fa67bc 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  texidoc = "
 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
@@ -16,9 +17,11 @@ entered only once.
 
 For more information about @code{make-moment}, see \"Time
 administration\". 
-" }
-% begin verbatim
-\relative {
+
+"
+  doctitle = "Entering several tuplets using only one \times command"
+} % begin verbatim
+\relative c' {
   \time 2/4
   \set tupletSpannerDuration = #(ly:make-moment 1 4)
   \times 2/3 { c8 c c c c c }
index c769bd2a9df9c39abe9371774d2b4e8fc2f65825..377c8ad9405be61155aa646b87d37ed3a2f4424e 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
-breathing-signs.ly
-creating-real-parenthesized-dynamics.ly
 caesura-railtracks-with-fermata.ly
+piano-template-with-centered-dynamics.ly
+creating-real-parenthesized-dynamics.ly
+breathing-signs.ly
 contemporary-glissando.ly
+center-text-below-hairpin-dynamics.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 373a93547308fb47593d0ae47f05d287bee4951e..70d75e2df4339889334a3ccf48cccf76aff2d7d9 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  texidoc = "
 This snippet demonstrates how to obtain automatic ordered rehearsal
 marks, but from the letter or number you want.
-" }
-% begin verbatim
+
+"
+  doctitle = "Forcing rehearsal marks to start from a given letter or number"
+} % begin verbatim
 \relative c''{
   c1 \mark \default
   c1 \mark \default
index b45eaf6f1a816c7bf4b1e124b70d557bb63ab2bc..305bc4b2db5c61136ae76cd3d31aff128a9f60f6 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "text, vocal-music"
- texidoc = "
+
+  texidoc = "
 To format individual syllables in lyrics, use @code{\\markup @{ ....
 @}} on these lyrics.
-" }
-% begin verbatim
+
+"
+  doctitle = "Formatting lyrics syllables"
+} % 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!"
index d39ed0bfcab12076dbc8a7e5d6bd9935cda2d278..d70d12884df336eea7b4a96e784cc498d59c3ca2 100644 (file)
@@ -4,16 +4,18 @@
 
 \header {
   lsrtags = "pitches"
- texidoc = "
+
+  texidoc = "
 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
+required), based on the current time (or any randomish number specified
+instead, in order to obtain the same random notes each time): i.e., to
+get different random note patterns, just change this number.
+
+"
+  doctitle = "Generating random notes"
+} % begin verbatim
 \score {
-{ #(let ((random-state (seed->random-state (current-time))))
+  { #(let ((random-state (seed->random-state (current-time))))
     (ly:export
      (make-music 'SequentialMusic 'elements
       (map (lambda x
@@ -25,5 +27,5 @@ number.
                                       (remainder idx 7)
                                       0))))))
        (make-list 24)))))
-   }
+  }
 }
index 035ff40451e18ea4cb45e245253566d46cadc347..238fc5788f064b84b8262522d33d5318c3af866e 100644 (file)
@@ -4,17 +4,20 @@
 
 \header {
   lsrtags = "editorial-and-educational-use"
- texidoc = "
-Grid lines can look differently, by modifying some of their properties
-using the @code{\\override} command.
-" }
-% begin verbatim
+
+  texidoc = "
+The appearance of grid lines can be changed by overriding some of their
+properties.
+
+"
+  doctitle = "Grid lines: changing their appearance"
+} % begin verbatim
 \layout {
  \context {
    \Staff
-   % sets up grids
+   % set up grids
    \consists "Grid_point_engraver"
-   % this sets the grid interval to 1 quarternote (crotchet)
+   % set the grid interval to one quarter note
    gridInterval = #(ly:make-moment 1 4)
   }
 }
@@ -35,7 +38,7 @@ using the @code{\\override} command.
   \new Staff {
     \relative c {
       % this moves them up one staff space from the default position
-      \override Score.GridLine #'extra-offset = #'( 0.0 . 1.0 )
+      \override Score.GridLine #'extra-offset = #'(0.0 . 1.0)
       \stemDown
       \clef bass
       \once \override Score.GridLine #'thickness = #5.0
index b1c6c9586918384406d089f94a72726ea99ea66f..6312e01b595f37a37fe9648c36db3b999c370f4c 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "editorial-and-educational-use"
- texidoc = "
+
+  texidoc = "
 Regular vertical lines can be drawn between staves to show notes
 synchronization; however, in case of monophonic music, you may want to
 make the second stave invisible, and make the lines shorter like in
 this snippet.
-" }
-% begin verbatim
+
+"
+  doctitle = "Grid lines: emphasizing rhythms and notes synchronization"
+} % begin verbatim
 %% sets of grid
 \layout {
  \context {
index c06315257cb1efd25d5a385c8c7d8be749b6514a..7c3d1018added9baccd42e464d17fa2f4b213161 100644 (file)
@@ -4,58 +4,59 @@
 
 \header {
   lsrtags = "rhythms, percussion"
- texidoc = "
+
+  texidoc = "
 Though the polymetric time signature shown was not the most essential
 item here, it has been included to show the beat of this piece (which
 is the template of a real Balkan song!).
-" }
-% begin verbatim
+
+"
+  doctitle = "Heavily customized polymetric time signatures"
+} % begin verbatim
 #(define (set-time-signature one two three four five six seven eight nine ten
-eleven num)
- (markup #:override '(baseline-skip . 0) #:number
-  (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num))
-#:vcenter "+" (#:column (three num)) #:vcenter "+" (#:column (four num))
-#:vcenter "+" (#:column (five num)) #:vcenter "+" (#:column (six num))
-#:vcenter "+" (#:column (seven num)) #:vcenter "+" (#:column (eight
-num)) #:vcenter "+" (#:column (nine num)) #:vcenter "+" (#:column (ten
-num)) #:vcenter "+" (#:column (eleven num))))))
-
-
-melody =
-{         \relative c'' {
-       \set Staff.instrumentName = "Bb Sop."
-       \key g \major \time 25/8
-     \override Staff.TimeSignature #'stencil = #ly:text-interface::print
- \override Staff.TimeSignature #'text = #(set-time-signature "3" "2" "2" "3"
-"2" "2" "2" "2 " "3" "2" "2" "8" )
-       \set Staff.beatGrouping = #'(3 2 2 3 2 2 2 2 3 2 2)
-       #(override-auto-beam-setting '(end * * 25 8) 3 8)
-       #(override-auto-beam-setting '(end * * 25 8) 5 8)
-       #(override-auto-beam-setting '(end * * 25 8) 7 8)
-       #(override-auto-beam-setting '(end * * 25 8) 10 8)
-       #(override-auto-beam-setting '(end * * 25 8) 12 8)
-       #(override-auto-beam-setting '(end * * 25 8) 14 8)
-       #(override-auto-beam-setting '(end * * 25 8) 16 8)
-       #(override-auto-beam-setting '(end * * 25 8) 18 8)
-       #(override-auto-beam-setting '(end * * 25 8) 21 8)
-       #(override-auto-beam-setting '(end * * 25 8) 23 8)
-
-       c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g | \break
-       c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4 |
-       c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 | \break
-       c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 |
-       c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 | \break }
+          eleven num)
+          (markup #:override '(baseline-skip . 0) #:number
+          (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num))
+          #:vcenter "+" (#:column (three num)) #:vcenter "+" (#:column (four num))
+          #:vcenter "+" (#:column (five num)) #:vcenter "+" (#:column (six num))
+          #:vcenter "+" (#:column (seven num)) #:vcenter "+" (#:column (eight num))
+          #:vcenter "+" (#:column (nine num)) #:vcenter "+" (#:column (ten num))
+          #:vcenter "+" (#:column (eleven num))))
+          ))
+
+
+melody = \relative c'' {
+  \set Staff.instrumentName = "Bb Sop."
+  \key g \major
+  \time 25/8
+  \override Staff.TimeSignature #'stencil = #ly:text-interface::print
+  \override Staff.TimeSignature #'text = #(set-time-signature "3" "2" "2" "3"
+    "2" "2" "2" "2 " "3" "2" "2" "8" )
+  \set Staff.beatGrouping = #'(3 2 2 3 2 2 2 2 3 2 2)
+  #(override-auto-beam-setting '(end * * 25 8) 3 8)
+  #(override-auto-beam-setting '(end * * 25 8) 5 8)
+  #(override-auto-beam-setting '(end * * 25 8) 7 8)
+  #(override-auto-beam-setting '(end * * 25 8) 10 8)
+  #(override-auto-beam-setting '(end * * 25 8) 12 8)
+  #(override-auto-beam-setting '(end * * 25 8) 14 8)
+  #(override-auto-beam-setting '(end * * 25 8) 16 8)
+  #(override-auto-beam-setting '(end * * 25 8) 18 8)
+  #(override-auto-beam-setting '(end * * 25 8) 21 8)
+  #(override-auto-beam-setting '(end * * 25 8) 23 8)
+
+  c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g | \break
+  c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4 |
+  c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 | \break
+  c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 |
+  c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 | \break
 }
-drum = {
-       \new DrumStaff \drummode
-       {
-               \bar "|:" bd4. ^\markup { "Drums" } sn4 bd \bar ":" sn4.
-bd4 sn \bar ":"
-               bd sn bd4. sn4 bd \bar ":|"
-       }
+
+drum = \new DrumStaff \drummode {
+  \bar "|:" bd4.^\markup { "Drums" } sn4 bd \bar ":" sn4.
+  bd4 sn \bar ":" bd sn bd4. sn4 bd \bar ":|"
 }
 
 {
- \melody
- \drum
 \melody
 \drum
 }
index 9db3e3ae3eb263ad2ec6d5fee15b071576209600..098b867fc4d1e4ac5cd66bd59b5fb3fe01d26150 100644 (file)
@@ -4,10 +4,13 @@
 
 \header {
   lsrtags = "text, vocal-music"
- texidoc = "
+
+  texidoc = "
 This can be achieved by separating those syllables by tildes.  
-" }
-% begin verbatim
+
+"
+  doctitle = "How to put ties between syllables in lyrics"
+} % begin verbatim
 \lyrics {
   wa~o~a 
 }
index 1d9f3f3be9cce8c641d450d08fd8f7c466d6c4ee..97f142337abc58d77f2dbe5d42dd8a3bbf6eb70a 100644 (file)
@@ -6,8 +6,8 @@
   lsrtags = "staff-notation,Ancient notation"
   texidoc = "Incipits can be added using the instrument name grob, but
 keeping separate the instrument name definition and the incipit definition."
-}
-% begin verbatim
+} % begin verbatim
+
 incipit =
 #(define-music-function (parser location incipit-music) (ly:music?)
   #{
index a0953a64d2ccd16e401aa545e14b0d1247dabaf8..8452feae999c26b223d591ec43e1d05b0a9c4e29 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "staff-notation"
- texidoc = "
+
+  texidoc = "
 The @code{\\markup} command is quite versatile. In this snippet, it
 contains a @code{\\score} block instead of texts or marks.
-" }
-% begin verbatim
+
+"
+  doctitle = "Inserting score fragments above a staff, as markups"
+} % begin verbatim
 tuning = \markup {
   \score {
     \new Staff \with { \remove "Time_signature_engraver" }
index 2796e7bdecb375e1163a3770c37ff9cea1ea79cf..eae94a0668fc057a76929de15473016204d01cfa 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "piano-music, percussion, guitar, template"
- texidoc = "
+
+  texidoc = "
 This is quite an advanced template, for a jazz ensemble. Note that all
 instruments are notated in \\key c \\major. This refers to the key in
 concert pitch; LilyPond will automatically transpose the key if the
 music is within a \\transpose section.
-" }
-% begin verbatim
+
+"
+  doctitle = "Jazz combo template"
+} % begin verbatim
 \header {
            title = "Song"
            subtitle = "(tune)"
index c2e7d3211b13c52715d24b3e13c9f5faa0f41210..7d1e7f414618c51c758b6a4ae5e2b822581d94e6 100644 (file)
@@ -10,5 +10,5 @@ You can format a tablature with letters instead of numbers - so that
 0->a, 1->b, 2->c, etc. 
 
 BROKEN IN 2.11, COMMENTED OUT."
-}
+} % begin verbatim
 { c'4 }
index 1ab598090bb881c2e3d439d51379c47516ff3301..fbd5aa8f71f26ebf26e4d070c9946a1126de7074 100644 (file)
@@ -6,8 +6,8 @@
   doctitle = "Line arrows"
   lsrtags = "expressive-marks"
   texidoc = "Arrows can be applied to text-spanners and line-spanners (such as the Glissando)"
-}
-% begin verbatim
+} % begin verbatim
+
 \relative c'' {
   \override TextSpanner #'bound-padding = #1.0
   \override TextSpanner #'dash-fraction = #'()
index a333f7b9172863b1a4fa2aab8e07919f42feecb2..308d683a3aa32d6557bac7f4dac5d7d139e09cac 100644 (file)
@@ -7,8 +7,8 @@
   lsrtags = "pitches"
   texidoc = "Makam is a type of melody from Turkey using 1/9th-tone
   microtonal alterations."
-}
-% begin verbatim
+} % begin verbatim
+
 % Define 1/9 alterations.
 
 #(define-public KOMA 1/9)
index 5a1f443443ca7237f8ed2b019d883d4b9b56b35d..4ce85140901f64ee7ac63b742aef3f56a2b68f9c 100644 (file)
@@ -17,7 +17,7 @@ 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.  To prevent the blanked stem's
 flag from interfering with tie positioning, the stem is extended.
-" }
+" } % begin verbatim
 
 \relative c'' {
   \time 2/4
index 46aa7713497f244a6476853ef83f23315790ebb6..9499426cd3d684aa3a041178bfc7f87540e6cd8e 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "staff-notation, editorial-and-educational-use"
- texidoc = "
+
+  texidoc = "
 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 @code{'line-positions} property of the
 @code{StaffSymbol} object. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Making some staff lines thicker than the others"
+} % begin verbatim
 {
   \override Staff.StaffSymbol #'line-positions = #'(-4 -2 -0.2 0 0.2 2 4)
   d'4 e' f' g'
index 442c172727dcb3e7034e20a593908c97355b9d1f..aa18cd1de11e86afe514363a1759955ccbd6812f 100644 (file)
@@ -4,21 +4,24 @@
 
 \header {
   lsrtags = "rhythms, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 Beam positions may be controlled manually, by overriding the
 @code{positions} setting of the @code{Beam} grob.
 
 
 
-" }
-% begin verbatim
-\relative c {
+
+"
+  doctitle = "Manually controlling beam positions"
+} % begin verbatim
+\relative c' {
   \time 2/4
-  % from upper staffline (position 4) to centre (position 0)
-  \override Beam  #'positions = #'(2 . 0)
-  c'8 c
-  % from centre to one above centre (position 2)
-  \override Beam  #'positions = #'(0 . 1)
+  % from upper staffline (position 4) to center (position 0)
+  \override Beam #'positions = #'(2 . 0)
+  c8 c
+  % from center to one above center (position 2)
+  \override Beam #'positions = #'(0 . 1)
   c c
 }
 
index c7c91a59ea6c01c273872946d7265f88cff2c8a7..311962f9ee176b2e2930ce256505328979f979fb 100644 (file)
@@ -7,8 +7,8 @@
   lsrtags = "text"
   texidoc = "Text that can spread over pages is entered with the
 @code{\\markuplines} command."
-}
-% begin verbatim
+} % begin verbatim
+
 #(set-default-paper-size "a6")
 
 #(define-markup-list-command (paragraph layout props args) (markup-list?)
index 676462decac4b09bb6bc899491ce70825137e02f..a9698aa31659115eef54a7398944419de4cc1eb9 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "staff-notation, ancient-notation, contexts-and-engravers, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 The mensurstriche-layout where the bar lines do not show on the staves
 but between staves can be achieved with a @code{StaffGroup} instead of
 a @code{ChoirStaff}. The bar line on staves is blanked out with an
 @code{\\override} command.
-" }
-% begin verbatim
+
+"
+  doctitle = "Mensurstriche layout (bar lines between the staves)"
+} % begin verbatim
 global = {
   \override Staff.BarLine #'transparent = ##t
   s1 s
index 1c96371b25ad640992739052c2c0c9070d1b841d..38161d08d8dcd516146670e42bd5f2ff824dbf7c 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  texidoc = "
 Tuplet brackets can be made to run to prefatory matter or the next
 note. Default tuplet brackets end at the right edge of the final note
 of the tuplet; full-length tuplet brackets extend farther to the right,
@@ -13,8 +14,10 @@ or to cover only the whitespace before the next item of notation, be
 that a clef, time signature, key signature, or another note.  The
 example shows how to switch tuplets to full length mode and how to
 modify what material they cover.
-" }
-% begin verbatim
+
+"
+  doctitle = "Modifying tuplet bracket length"
+} % begin verbatim
 \new RhythmicStaff {
   % Set tuplets to be extendable...
   \set tupletFullLength = ##t
index 4ad574a0eb36aad4acc4a2e6d2521a6ae1718105..27102b7acf308f96a771d6ebfeef7fb897713953 100644 (file)
@@ -7,8 +7,8 @@
   lsrtags = "tweaks-and-overrides"
   texidoc = "@cindex Scheme Move Text
 Objects of the same type, like text, can be moved around by using some Scheme code.
-" }
-% begin verbatim
+" } % begin verbatim
+
 #(define (make-text-checker text)
    (lambda (grob) (equal? text (ly:grob-property grob 'text))))
 
index 225fa3f85b55510be1abd2c6b2368717e25b206b..75c6fabddd4ae018f7bdf0806e0b4abc5016ee65 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "staff-notation, contexts-and-engravers, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 The property @code{systemStartDelimiterHierarchy} can be used to make
 more complex nested staff groups. The command @code{\\set
 StaffGroup.systemStartDelimiterHierarchy} takes an alphabetical list of
@@ -15,8 +16,10 @@ omitted, but the first bracket takes always the complete number of
 staves. The possibilities are @code{SystemStartBar},
 @code{SystemStartBracket}, @code{SystemStartBrace}, and
 @code{SystemStartSquare}.
-" }
-% begin verbatim
+
+"
+  doctitle = "Nesting staves"
+} % begin verbatim
 \new StaffGroup
 \relative c'' <<
   \set StaffGroup.systemStartDelimiterHierarchy
index dd350da1dade83357803ec7da2de1c743b730171..9291fbcf6b575d49ff902352f0be3334741e4046 100644 (file)
@@ -4,12 +4,13 @@
 
 \header {
   lsrtags = "pitches, staff-notation"
- texidoc = "
+
+  texidoc = "
 The commonly used @code{\\key} command sets the @code{keySignature}
 property, in the @code{Staff} context.
 
-For non-standard key signatures, you can set this property directly.
-The format of this command is a list:
+To create non-standard key signatures, 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,
@@ -19,15 +20,17 @@ C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
 etc. (Note the leading comma.)
 
 
-However, for each item in the list, you can also use the alternative
-format @code{(step . alter)}, which specifies that the same alteration
-should hold in all octaves.
+Alternatively, for each item in the list, using the more concise format
+@code{(step . alter)} specifies that the same alteration should hold in
+all octaves.
 
 
 Here is an example of a possible key signature for generating a
 whole-tone scale: 
-" }
-% begin verbatim
+
+"
+  doctitle = "Non-traditional key signatures"
+} % begin verbatim
 \relative c' {
   \set Staff.keySignature = #`(((0 .  3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
   c4 d e fis
index 43ad10f9d6873053bd92547179a94fe56c167448..fd6b167c3676a82a7324e29ccf7751a1d950dd9d 100644 (file)
@@ -4,15 +4,18 @@
 
 \header {
   lsrtags = "pitches, text"
- texidoc = "
+
+  texidoc = "
 Internally, the @code{set-octavation} function sets the properties
 @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}.
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Ottava text"
+} % begin verbatim
 {
   #(set-octavation 1)
   \set Staff.ottavation = #"8"
index b825f8cb919b5dd617ca8bd49b109f74f9adc69a..1f3634b2d25e71c7e453e838d58542d55ef6ec73 100644 (file)
@@ -10,8 +10,8 @@ By putting the output of @code{lilypond-version} into a lyric or a
 text markup, it is possible to print the version number of LilyPond in
 a score, or in a document generated with @code{lilypond-book}.
 "
-}
-% begin verbatim
+} % begin verbatim
+
 \score { \context Lyrics  {
     \override Score.RehearsalMark  #'self-alignment-X = #LEFT
     \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version)))
index e6a50acf156194220eda4941b2a310723a1cf653..9f1a416bd09bb3a21e70baf4639e1fdde9f09e67 100644 (file)
@@ -7,8 +7,8 @@
   lsrtags = "spacing"
   texidoc = "Page labels may be placed inside music or at top-level,
 and refered to in markups."
-}
-% begin verbatim
+} % begin verbatim
+
 #(set-default-paper-size "a6")
 
 #(define-markup-command (toc-line layout props label text) (symbol? markup?)
index 0a003cad0be8bf1e6265d3053ad982c26510d875..8eb60966b8f0d6bf558666fd0d891135ce61aac2 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  texidoc = "
 This artificial example shows how both manual and automatic line breaks
 may be permitted to within a beamed tuplet. Note that such off-beat
 tuplets have to be beamed manually.
-" }
-% begin verbatim
+
+"
+  doctitle = "Permitting line breaks within beamed tuplets"
+} % begin verbatim
 \layout {
   \context {
     \Voice
index 453ee8122be8fb06fd5f25ac9a1699884a9ebee5..b8794af1b1e6bcac4097da0f6548c8fbd6be2a92 100644 (file)
@@ -1,9 +1,9 @@
 piano-template-with-centered-dynamics.ly
 clusters.ly
-jazz-combo-template.ly
+piano-template-with-centered-lyrics.ly
 vocal-ensemble-template-with-automatic-piano-reduction.ly
 piano-template-simple.ly
 controlling-the-placement-of-chord-fingerings.ly
 piano-template-with-melody-and-lyrics.ly
-piano-template-with-centered-lyrics.ly
+jazz-combo-template.ly
 demo-midiinstruments.ly
index b507542bdc813f7091dba9c2a3082795abbeafd3..45e792f4a7d33aa9a014186a097252c2a8a10e88 100644 (file)
@@ -4,10 +4,13 @@
 
 \header {
   lsrtags = "piano-music, template"
- texidoc = "
+
+  texidoc = "
 Here is a simple piano staff with some notes.
-" }
-% begin verbatim
+
+"
+  doctitle = "Piano template (simple)"
+} % begin verbatim
 upper = \relative c'' {
   \clef treble
   \key c \major
index 383c6bcb32dc09c09c1182045018463a50183be9..45c0ffc46e7e4dd6f1e1fd3b474af933c27511e7 100644 (file)
@@ -9,8 +9,8 @@
 Many piano scores have the dynamics centered between the two staves.
 This requires a bit of tweaking to implement, but since the template is
 right here, you don't have to do the tweaking yourself.
-" }
-% begin verbatim
+" } % begin verbatim
+
 upper = \relative c'' {
   \clef treble
   \key c \major
index 91b05bbc1a054e4449ca6522adfd3f0d9144c8c2..a5d3a616d49558a457ff9ed3c7c796c58324f617 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "text, piano-music, template"
- texidoc = "
+
+  texidoc = "
 Instead of having a full staff for the melody and lyrics, you can place
 the lyrics between the piano staff (and omit the separate melody
 staff).
-" }
-% begin verbatim
+
+"
+  doctitle = "Piano template with centered lyrics"
+} % begin verbatim
 upper = \relative c'' {
   \clef treble
   \key c \major
index 76c7ee89555d813ad2a0a559cb3c719fd1b5371e..33fab5110d721255fbd70cf242469774d2bb8404 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "vocal-music, piano-music, template"
- texidoc = "
+
+  texidoc = "
 Here is a typical song format: one staff with the melody and lyrics,
 with piano accompaniment underneath. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Piano template with melody and lyrics"
+} % begin verbatim
 melody = \relative c'' {
   \clef treble
   \key c \major
index 26494a9118682a7c824ac62e6f5551010732f1bb..79ff81c7b6c097fd842af14b98ecdfede566a12f 100644 (file)
@@ -5,8 +5,8 @@ transposing-pitches-with-minimum-accidentals-smart-transpose.ly
 ottava-text.ly
 tweaking-clef-properties.ly
 preventing-extra-naturals-from-being-automatically-added.ly
-ambitus-with-multiple-voices.ly
 generating-random-notes.ly
+ambitus-with-multiple-voices.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
index 13b40c3d7ffcc0b3e866d91b686848f1f0984412..732180830b2c76e205a0fa1b2f05a6991854e54a 100644 (file)
@@ -12,8 +12,8 @@ rest symbol of either form by attaching it to a note.  However,
 in polyphonic music multi-measure rests in odd-numbered and
 even-numbered voices are vertically separated.  The positioning
 of multi-measure rests can be controlled as follows:
- "}
-% begin verbatim
+ "} % begin verbatim
+
 \relative c'' {
   % Multi-measure rests by default are set under the second line
   R1
index 26ccccc4e1ee7780f000d71b6d7ad8030359e662..0220794c4ba01a979a73347c091068c5ec57f8b3 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "repeats, breaks"
- texidoc = "
+
+  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. There is a variation
 documented in this snippet, where the coda will remain on the same
 line.
-" }
-% begin verbatim
+
+"
+  doctitle = "Positioning segno and coda (with line break)"
+} % begin verbatim
 { 
   \clef treble
   \key g \major
@@ -68,8 +71,10 @@ line.
         % text and symbols center-aligned
         % ===============================
         % Move text to the desired position and tweak spacing for optimum text alignment
-        \once \override TextScript #'extra-offset = #'( 8 . -5.5 )
+        %\once \override TextScript #'extra-offset = #'( 8 . -5.5 )
         \once \override TextScript #'word-space = #1.5
+        \once \override TextScript #'X-offset = #8
+        \once \override TextScript #'Y-offset = #1.5
         | s1*0^\markup { \center-align { "D.S. al Coda" \line { \musicglyph #"scripts.coda" \musicglyph #"scripts.tenuto" \musicglyph #"scripts.coda"} } }
         
         % Increasing the unfold counter will expand the staff-free space
index b27a9ef5fe260fa82029f23417058ce5737c4eb6..9ff6c832ab27484993e837a2b21f930fe261d7a1 100644 (file)
@@ -11,15 +11,18 @@ un bécarre avant un dièse ou un bémol si on a besoin d'annuler une
 altération précédente.  Pour modifier ce comportement, assignez la propriété
 @code{extraNatural} du contexte @code{Staff} à la valeur @code{##f} (faux).
 "
- texidoc = "
+
+  texidoc = "
 In accordance with standard typesetting rules, a natural sign is
 printed before a sharp or flat if a previous accidental on the same
 note needs to be canceled.  To change this behavior, set the
 @code{extraNatural} property to \"false\" in the @code{Staff} context.
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Preventing extra naturals from being automatically added"
+} % begin verbatim
 \relative {
   aeses'4 aes ais a
   \set Staff.extraNatural = ##f
index e5c809fc4568e4dcf5144ef513554dbe41decf05..baf04543f275438289204cca333a994d0abc6dfd 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "pitches"
- texidoc = "
+
+  texidoc = "
 When the key signature changes, natural signs are automatically printed
 to cancel any accidentals from previous key signatures. This may be
-altered by setting to \"false\" the @code{printKeyCancellation}
+prevented by setting to \"false\" the @code{printKeyCancellation}
 property in the @code{Staff} context. 
-" }
-% begin verbatim
-\relative {
+
+"
+  doctitle = "Preventing natural signs from being printed when the key signature changes"
+} % begin verbatim
+\relative c' {
   \key d \major
   a b cis d
   \key g \minor
index b09134cc84870cd36a7e491caece41dfea0f5048..51da44e93c740101d167aed1963c07152b56e691 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "text"
- texidoc = "
+
+  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
@@ -12,8 +13,10 @@ line.
 
 In such cases, the right end of the mark has to be aligned with the
 final bar line, as demonstrated on the second line of this example. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Printing marks at the end of a line or a score"
+} % begin verbatim
 \relative c'' {  
   \override Score.RehearsalMark  #'break-visibility = #begin-of-line-invisible
   g2 c
index e0b2bb1a3c93ec049c48e5b29084a6b71580c29d..ce4c4b3ed48c0bf23e6942dd9600a62d9ec311b2 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "text"
- texidoc = "
+
+  texidoc = "
 Although text marks are normally only printed above the topmost staff,
 they may also be printed on every staff.
-" }
-% begin verbatim
+
+"
+  doctitle = "Printing marks on every staff"
+} % begin verbatim
 {
   \new Score \with {
     \remove "Mark_engraver"
index 2d5a075fc15b5b3d93d8630a857d0e8ad588550d..73b9d4b58f4521ee6f2cf24606f25df064dbd777 100644 (file)
@@ -4,13 +4,17 @@
 
 \header {
   lsrtags = "rhythms, percussion"
- texidoc = "
+
+  texidoc = "
 In the following snippet, two parts have a completely different time
-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. 
-" }
-% begin verbatim
+signature, yet remain synchronized. The bar lines can no longer be
+printed at the @code{Score} level; to allow independent bar lines in
+each part, the @code{Barline_engraver} is moved from the @code{Score}
+context to the @code{Staff} context. 
+
+"
+  doctitle = "Printing music with different time signatures"
+} % begin verbatim
 % Thanks to Adam James Wilson for this snippet
 
 \paper {
index 050b6897087a3ce65a2d1ca0857a27513377612b..48b32e01291e8a5d307c01f513c29fb525d9383e 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "tweaks-and-overrides, spacing"
- texidoc = "
+
+  texidoc = "
 If @code{strict-note-spacing} is set spacing of notes is not influenced
 by bars or clefs part way along the system. Rather, they are put just
 before the note that occurs at the same time. This may cause
 collisions. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Proportional strict notespacing"
+} % begin verbatim
 \paper {
   ragged-right = ##t
   indent = 0
index 66bd2ea180694b7ba2f48a87a1159697f60437d0..8aedbff5e75dbe5592036b79c24389b97b678d29 100644 (file)
@@ -9,8 +9,8 @@ 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
+} % begin verbatim
+
 \addQuote clarinet {
   \transposition bes
   \repeat unfold 8 { d'16 d'16 d'8 }
index 2380dc166f5ce76ad3216148a7a8eda5b8bafa14..ad9d493c1015679f5ab0affcd8486335ed3784cb 100644 (file)
@@ -9,8 +9,8 @@
 music may be quoted. @code{quotedEventTypes} will determines what
 things are quoted.  In this example, a 16th rest is not quoted, since
 @code{rest-event} is not in @code{quotedEventTypes}."
-}
-% begin verbatim
+} % begin verbatim
+
 quoteMe = \relative c' { fis4 r16  a8.-> b4-\ff c }
 
 \addQuote quoteMe \quoteMe 
index bcc0f3098409f94e56f81c646e6f47ad9270fa2a..c39a4caa8decdb66e69f712be4f70326b7b75334 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "rhythms, ancient-notation, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 Rests may be used in various styles.
 
 
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Rest styles"
+} % begin verbatim
 \layout {
   indent = 0.0
   \context {
index 9cfdbdf9ed0382a121a9c2db973ebf7ae23033c6..85c4cf16e2008bbd7e1e968675793a3a24d7ad2f 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "rhythms, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 In \"simple\" lead-sheets, sometimes no actual notes are written,
 instead only \"rhythmic patterns\" and chords above the measures are
 notated giving the structure of a song. Such a feature is for example
@@ -16,8 +17,10 @@ example shows two solutions to this problem, by redefining ordinary
 rests to be printed as slashes. (If the duration of each beat is not a
 quarter note, replace the @code{r4} in the definitions with a rest of
 the appropriate duration). 
-" }
-% begin verbatim
+
+"
+  doctitle = "Rhythmic slashes"
+} % begin verbatim
 % Macro to print single slash
 rs = {
   \once \override Rest #'stencil = #ly:percent-repeat-item-interface::beat-slash
index 69ddae9f866594138310f50238a747f98d617fa2..9849f02c66dae665c6cc63d5ec22f68b131c9d8c 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "template"
- texidoc = "
+
+  texidoc = "
 A template to write score for a diatonic accordion.
 
 - There is a horizontal staff indicating if the accordion   must be
@@ -46,8 +47,10 @@ according tabulatur representation.
 
 This snippet comes with a useful optional macro for the jEdit text
 editor.
-" }
-% begin verbatim
+
+"
+  doctitle = "Score for diatonic accordion"
+} % begin verbatim
 % Created on Sat Aug 17 2007 by ak
 
 verse= \lyricmode { Wie gross bist du! Wie gross bist du! }
index 92beba3db248e7ff02af4266308200050a8f363b..6c11abeeb40b45c664ce433403ed4e0fb6aa1ac0 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "repeats"
- texidoc = "
+
+  texidoc = "
 By default, the volta brackets will be drawn over all of the
 alternative music, but it is possible to shorten them by setting
 @code{voltaSpannerDuration}.  In the next example, the bracket only
 lasts one measure, which is a duration of 3/4. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Shortening volta brackets"
+} % begin verbatim
 \relative c'' {
   \time 3/4
   c c c
index 0d3db03bc61210b9bc91c027cbee176a16d434e2..91c14fa3c0409227d47df344c28cf80a38eaba3b 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "vocal-music, chords, template"
- texidoc = "
+
+  texidoc = "
 This template allows you to prepare a song with melody, words, and
 chords. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Single staff template with notes, lyrics, and chords"
+} % begin verbatim
 melody = \relative c' {
   \clef treble
   \key c \major
index b80b8ea30e33f30ed2ae4eac5b5e6542f3e58013..495ac44c4b38cbe97f5f5ad48198deda59ff7473 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "chords, template"
- texidoc = "
+
+  texidoc = "
 Want to prepare a lead sheet with a melody and chords? Look no further!
 
-" }
-% begin verbatim
+
+"
+  doctitle = "Single staff template with notes and chords"
+} % begin verbatim
 melody = \relative c' {
             \clef treble
             \key c \major
index 1ed0dcb4330e2fc1fde97d4665aa14c3c0d61d75..68b6a84c949cde627822c328a9648e262113f01e 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "vocal-music, template"
- texidoc = "
+
+  texidoc = "
 This small template demonstrates a simple melody with lyrics. Cut and
 paste, add notes, then words for the lyrics. This example turns off
 automatic beaming, which is common for vocal parts. If you want to use
 automatic beaming, you'll have to change or comment out the relevant
 line.
-" }
-% begin verbatim
+
+"
+  doctitle = "Single staff template with notes and lyrics"
+} % begin verbatim
 melody = \relative c' {
             \clef treble
             \key c \major
index 49d7a2090cdfdd7267cb2befd21d03094c55bd9e..19a9f6d79fa8f4663cf723b306bb07861973144d 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "template"
- texidoc = "
+
+  texidoc = "
 This very simple template gives you a staff with notes, suitable for a
 solo instrument or a melodic fragment. Cut and paste this into a file,
 add notes, and you're finished! 
-" }
-% begin verbatim
+
+"
+  doctitle = "Single staff template with only notes"
+} % begin verbatim
 melody = \relative c' {
             \clef treble
             \key c \major
index b888a0952d7711fca163738a9766771f0a615280..99fb363298f3cdc2efdcee1c4fc6673b3d3dd6c3 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "rhythms, vocal-music"
- texidoc = "
-Although you can't use @code{s} in @code{\\lyricmode} (it's taken to be
-a literal \"s\", not a space) you can use either @code{\"\"} or
-@code{_}So for example: 
-" }
-% begin verbatim
+
+  texidoc = "
+Although @code{s} skips cannot be used in @code{\\lyricmode} (it is
+taken to be a literal \"s\", not a space), double quotes (@code{\"\"})
+or underscores (@code{_}) are available.So for example: 
+
+"
+  doctitle = "Skips in lyric mode (2)"
+} % begin verbatim
 <<
   \relative c'' { a4 b c d }
   \new Lyrics \lyricmode { a4 "" _ gap }
index 9cfed3b470110be9be9dc8b5cfcddeee5d375674..36ca004e64500d256ea3a573dbb1cca7355efb23 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "rhythms, vocal-music"
- texidoc = "
+
+  texidoc = "
 The @code{s} syntax for skips is only available in note mode and chord
-mode. In other situations, for example, when entering lyrics, you
-should use the @code{\\skip} command. 
-" }
-% begin verbatim
+mode. In other situations, for example, when entering lyrics, using the
+@code{\\skip} command is recommended. 
+
+"
+  doctitle = "Skips in lyric mode"
+} % begin verbatim
 <<
   \relative { a'1 a }
   \new Lyrics \lyricmode { \skip 1 bla1 }
index e6594271f734626e20bedb928d1da3acb56a21ac..19c71d7ed92a4ad5d65c17302a4290c59c0f6eb1 100644 (file)
@@ -10,10 +10,10 @@ tweaking-clef-properties.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
 quoting-another-voice.ly
 volta-multi-staff.ly
 inserting-score-fragments-above-a-staff,-as-markups.ly
+quoting-another-voice-with-transposition.ly
 nesting-staves.ly
 non-traditional-key-signatures.ly
 making-some-staff-lines-thicker-than-the-others.ly
index b5a07be2fa88bd5b06e45af64c14d27a3117b593..50296ef2fcd886137bf9e6d5764b37de6e7711e6 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "strings, template"
- texidoc = "
+
+  texidoc = "
 This template demonstrates a simple string quartet. It also uses a
 \\global section for time and key signatures
-" }
-% begin verbatim
+
+"
+  doctitle = "String quartet template (simple)"
+} % begin verbatim
 global= {
            \time 4/4
            \key c \major
index 7f4be12db139ab054aa6b510355737261158a88a..b4555721644e0862a8f0cfab785303031d054c3b 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "strings, template"
- texidoc = "
+
+  texidoc = "
 The \"String quartet template\" snippet produces a nice string quartet,
 but what if you needed to print parts? This new template demonstrates
 how to use the \\tag feature to easily split a piece into individual
@@ -17,8 +18,10 @@ vla.ly, and vlc.ly – produce the appropiate part.
 
 
 Do not forget to remove specified comments when using separate files! 
-" }
-% begin verbatim
+
+"
+  doctitle = "String quartet template with separate parts"
+} % begin verbatim
 %%%%% piece.ly
 %%%%% (This is the global definitions file)
 
index b7636826aebd10963274eaea0c1595a2b7285f6c..b80e3d2703a2947b3001cf2051e75b887be0b565 100644 (file)
@@ -8,8 +8,8 @@
   texidoc = "A table of contents is included using
 @code{\\markuplines \\table-of-contents}. The TOC items are added with
 the @code{\\tocItem} command."
-}
-% begin verbatim
+} % begin verbatim
+
 #(set-default-paper-size "a6")
 
 \book {
index 8af6644e5a99342e8f7792020acffb241f94ab88..59b06c613003f94fdd4a141e68e2a39f338babca 100644 (file)
@@ -1,17 +1,17 @@
 piano-template-with-centered-dynamics.ly
 single-staff-template-with-notes-and-lyrics.ly
 single-staff-template-with-only-notes.ly
-jazz-combo-template.ly
+piano-template-with-centered-lyrics.ly
 score-for-diatonic-accordion.ly
 piano-template-simple.ly
-ancient-notation-template----modern-transcription-of-mensural-music.ly
+string-quartet-template-with-separate-parts.ly
 ancient-notation-template----modern-transcription-of-gregorian-music.ly
-single-staff-template-with-notes-and-chords.ly
+ancient-notation-template----modern-transcription-of-mensural-music.ly
+piano-template-with-melody-and-lyrics.ly
 string-quartet-template-simple.ly
 single-staff-template-with-notes,-lyrics,-and-chords.ly
-piano-template-with-melody-and-lyrics.ly
-string-quartet-template-with-separate-parts.ly
-vocal-ensemble-template.ly
+single-staff-template-with-notes-and-chords.ly
 vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
-piano-template-with-centered-lyrics.ly
+jazz-combo-template.ly
+vocal-ensemble-template.ly
 vocal-ensemble-template-with-automatic-piano-reduction.ly
index 1c7cba928366b0e73551170bfa0062e881e1d13b..7db660c0a0d24f53539ae003f586b9cb940b5f76 100644 (file)
@@ -1,23 +1,24 @@
 creating-text-spanners.ly
 creating-real-parenthesized-dynamics.ly
+ottava-text.ly
+embedding-native-postscript-in-a--markup-block.ly
 center-text-below-hairpin-dynamics.ly
 demonstrating-all-headers.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
+how-to-put-ties-between-syllables-in-lyrics.ly
 aligning-and-centering-instrument-names.ly
 outputting-the-version-number.ly
 formatting-lyrics-syllables.ly
-how-to-put-ties-between-syllables-in-lyrics.ly
+combining-two-parts-on-the-same-staff.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
+three-sided-box.ly
 utf-8.ly
 blanking-staff-lines-using-the--whiteout-command.ly
-ottava-text.ly
+printing-marks-on-every-staff.ly
 adjusting-lyrics-vertical-spacing.ly
 aligning-lyrics.ly
index 19f72681aef252d534fe1ffbd02807b875c10d7c..3be893fcd64c5c4098fdc1420426b99c5243c165 100644 (file)
@@ -4,11 +4,14 @@
 
 \header {
   lsrtags = "rhythms, text"
- texidoc = "
+
+  texidoc = "
 This example shows how to add a markup command to get a three sided box
 around some text (or other markup).
-" }
-% begin verbatim
+
+"
+  doctitle = "Three-sided box"
+} % begin verbatim
 % New command to add a three sided box, with sides north, west and south
 % Based on the box-stencil command defined in scm/stencil.scm
 % Note that you use ";" to comment a line in Scheme
index edfa50fd620841dc0c99c3f6dae6593d7ad42729..6f5c65f12659543be5ed7a61e7ace56f1cd63acf 100644 (file)
@@ -4,10 +4,13 @@
 
 \header {
   lsrtags = "staff-notation, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 You may put the time signature in parentheses.
-" }
-% begin verbatim
+
+"
+  doctitle = "Time signature in parentheses"
+} % begin verbatim
 tsMarkup = \markup  {
  \override #'(baseline-skip . 2) \number {
    \bracket \column { "2" "4" }
index 17699f6043d4d8501b9b27728b8270f6ed7206e7..e5565e6bec0d8b3c18f08ff7a40b0c95d59dad4b 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "ancient-notation, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 As a workaround to get real incipits which are independent from the
 main score these are included as a markup into the field normally used
 for the instrument name. As for now lyrics can only be added as a
 direct markup. It doesn't unfortunately conform with the spacing of the
 main lyrics.
-" }
-% begin verbatim
+
+"
+  doctitle = "Transcription of Ancient music with incipit"
+} % begin verbatim
 global = {
   \set Score.skipBars = ##t
   \key g \major
index 0e9d6731d7472fb0a90d6d901d6e1ea9fb8970b7..c799d7c9e89a53db48e79f37da9b6e4a4a227b07 100644 (file)
@@ -12,8 +12,8 @@ case, the following rules apply:
 C flat (-> B), F flat (-> E) and B sharp (-> C)\".
 
 In this manner, the most natural enharmonic notes are chosen.
-"}
-% begin verbatim
+"} % begin verbatim
+
 #(define  (naturalize-pitch p)
   (let* ((o (ly:pitch-octave p))
          (a (* 4 (ly:pitch-alteration p))) 
index af753c7f6ccc2e3eb8e6c95a4143abe746177808..080ce14b741ea7bf3b23ce8e9add41a34a3cb35e 100644 (file)
@@ -4,15 +4,17 @@
 
 \header {
   lsrtags = "pitches, staff-notation, tweaks-and-overrides"
- texidoc = "
+
+  texidoc = "
 The command @code{\\clef \"treble_8\"} is equivalent to setting
-@code{clefGlyph}, @code{clefPosition} (which controls the Y-position of
-the clef), @code{middleCPosition} and @code{clefOctavation}. A clef is
-printed when any of these properties are changed.
+@code{clefGlyph}, @code{clefPosition} (which controls the vertical
+position of the clef), @code{middleCPosition} and
+@code{clefOctavation}. A clef is printed when any of the properties
+except @code{middleCPosition} 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
+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 center line,
 positive numbers displacing upwards, counting one for each line and
@@ -32,8 +34,10 @@ The following examples show the possibilities when setting these
 properties manually. On the first line, the manual changes preserve the
 standard relative positioning of clefs and notes, whereas on the second
 line, they do not. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Tweaking clef properties"
+} % begin verbatim
 {
   % The default treble clef
   c'1
index b016069f6719ffb678f9eea5a151c91b65c676f0..7bc391a24776558c582d984787f2f29956af7e03 100644 (file)
@@ -1,5 +1,5 @@
 display-bracket-with-only-one-staff-in-a-system.ly
-rhythmic-slashes.ly
+time-signature-in-parentheses.ly
 changing-the-default-text-font-family.ly
 drawing-boxes-around-grobs.ly
 manually-controlling-beam-positions.ly
@@ -24,6 +24,6 @@ drawing-circles-around-various-objects.ly
 creating-text-spanners.ly
 caesura-railtracks-with-fermata.ly
 changing-form-of-multi--measure-rests.ly
-time-signature-in-parentheses.ly
+rhythmic-slashes.ly
 changing-a-single-notes-size-in-a-chord.ly
 nesting-staves.ly
index 68852934d70356ffef209de1cb2d6e1aad4ab473..66b593ed09ce32ad720d8017123d2a8d49ae09d9 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "staff-notation, contexts-and-engravers"
- texidoc = "
+
+  texidoc = "
 The system start delimiter @code{SystemStartSquare} can be used by
 setting it explicitly in a @code{StaffGroup} or @code{ChoirStaffGroup}
 context. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Use square bracket at the start of a staff group"
+} % begin verbatim
 \score {
   \new StaffGroup { << 
   \set StaffGroup.systemStartDelimiter = #'SystemStartSquare
index f178dc8d540c337423e48974ce1205b8cd7ef528..91f0023170bd7e9b7f7cd299169f55a467560452 100644 (file)
@@ -9,8 +9,8 @@
 With the @code{\tweak} command, you can tune every grob directly. Here
 are some examples of available tweaks.
 "
-}
-% begin verbatim
+} % begin verbatim
+
 {
   \set fingeringOrientations = #'(right)
   <
index 162075699c4427a38393ab73991a56932757f081..50fac99b4ea39befb1c1a76bac01500f7bbb47fa 100644 (file)
@@ -4,15 +4,18 @@
 
 \header {
   lsrtags = "rhythms"
- texidoc = "
+
+  texidoc = "
 Ties are sometimes used to write out arpeggios.  In this case, two tied
 notes need not be consecutive.  This can be achieved by setting the
-@code{tieWaitForNote} property to true.  The same feature is also
+@code{tieWaitForNote} property to \"true\".  The same feature is also
 useful, for example, to tie a tremolo to a chord, but in principle, it
 can also be used for ordinary consecutive notes, as demonstrated in
 this example. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Using ties with arpeggios"
+} % begin verbatim
 \relative c' {
   \set tieWaitForNote = ##t
   \grace { c16[~ e~ g]~ } <c, e g>2
index 85c44ad8791145a6a10faeb6708854e927b93d84..58955c34f7c15e7098c8e0dcfe36ef0be3f4107f 100644 (file)
@@ -30,8 +30,8 @@ will render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese.
 
 "
   
-}
-% begin verbatim
+} % begin verbatim
+
 % end verbatim - this comment is a hack to prevent texinfo.tex
 % from choking on non-European UTF-8 subsets
 % Cyrillic font
index ae90d7eced51f4260ebb988cf31171006a96a3b5..af75028cfda0c5af405c0538c1ea5139b63b097e 100644 (file)
@@ -4,13 +4,16 @@
 
 \header {
   lsrtags = "vocal-music, tweaks-and-overrides, spacing"
- texidoc = "
+
+  texidoc = "
 This snippet shows of to use the @code{alignBelowContext} and
 @code{alignAboveContext} properties, which may be needed for text
 elements (e.g. lyrics) positioning, but also for musical contents such
 as ossias.
-" }
-% begin verbatim
+
+"
+  doctitle = "Vertically aligning ossias and lyrics"
+} % begin verbatim
 \paper {
   ragged-right = ##t
 }
index 6923de54c2016f4ffaaaf7dfb9046c349a412a49..209c67322fd1ed81729c4ef042d2c1c16a121363 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "tweaks-and-overrides, spacing"
- texidoc = "
+
+  texidoc = "
 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.
@@ -13,8 +14,10 @@ This way, every element will be vertically centered, for a nicer output
 trick is only applied on the second line).
 
 The same idea is used to align the text scripts along their baseline.
-" }
-% begin verbatim
+
+"
+  doctitle = "Vertically centered dynamics and textscripts"
+} % begin verbatim
 music = \relative c'' {
   c2\p^\markup { "gorgeous" } c\f^\markup { "fantastic" }
   c4\p c\f\> c c\!\p
index 27d05f4a01faa772042adea854244872947d2ea7..423e9b3e2f3745e8d69b0d17073d32f472ff17b2 100644 (file)
@@ -4,15 +4,18 @@
 
 \header {
   lsrtags = "vocal-music, piano-music, template"
- texidoc = "
+
+  texidoc = "
 This template adds an automatic piano reduction to the standard SATB
 vocal score demonstrated in \"Vocal ensemble template\". This
 demonstrates one of the strengths of LilyPond – you can use a music
 definition more than once. If you make any changes to the vocal notes
 (say, tenorMusic), then the changes will also apply to the piano
 reduction.
-" }
-% begin verbatim
+
+"
+  doctitle = "Vocal ensemble template with automatic piano reduction"
+} % begin verbatim
 global = {
             \key c \major
             \time 4/4
index 633332bb0dca7866d65b052a04ab2d5b4b3854e2..01c274f718d16479a1e58811444607b75fa307ee 100644 (file)
@@ -4,12 +4,15 @@
 
 \header {
   lsrtags = "text, vocal-music, contexts-and-engravers, template"
- texidoc = "
+
+  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 @code{alignAboveContext} and @code{alignBelowContext}.
-" }
-% begin verbatim
+
+"
+  doctitle = "Vocal ensemble template with lyrics aligned below and above the staves"
+} % begin verbatim
 global = {
   \key c \major
   \time 4/4
index 35618505e9acabbca194e4a55115f73d015a2a26..7a2e96fb35c2493b12d8770d857f88854a11dada 100644 (file)
@@ -4,14 +4,17 @@
 
 \header {
   lsrtags = "vocal-music, template"
- texidoc = "
+
+  texidoc = "
 Here is a standard four-part SATB vocal score. With larger ensembles,
 it's often useful to include a section which is included in all parts.
 For example, the time signature and key signatures are almost always
 the same for all parts. Like in the \"Hymn\" template, the four voices
 are regrouped on only two staves.
-" }
-% begin verbatim
+
+"
+  doctitle = "Vocal ensemble template"
+} % begin verbatim
 global = {
             \key c \major
             \time 4/4
index ff4d5a6c04057569191c8282dfcbe02443d916a0..ff05030f7569e6050d0b15016b6e0daab22e5b0c 100644 (file)
@@ -2,16 +2,16 @@ 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
 vocal-ensemble-template-with-automatic-piano-reduction.ly
-ambitus-with-multiple-voices.ly
-how-to-put-ties-between-syllables-in-lyrics.ly
-vertically-aligning-ossias-and-lyrics.ly
 vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
+how-to-put-ties-between-syllables-in-lyrics.ly
+piano-template-with-melody-and-lyrics.ly
 single-staff-template-with-notes,-lyrics,-and-chords.ly
+ambitus-with-multiple-voices.ly
+demo-midiinstruments.ly
 formatting-lyrics-syllables.ly
-piano-template-with-melody-and-lyrics.ly
+vertically-aligning-ossias-and-lyrics.ly
 aligning-lyrics.ly
 vocal-ensemble-template.ly
 adjusting-lyrics-vertical-spacing.ly
-demo-midiinstruments.ly
+skips-in-lyric-mode.ly
index b171c518869a6e941e498bc840ef5e40ab6f6777..77246063964af92f715da55c1847ad05d70f1736 100644 (file)
@@ -7,8 +7,8 @@
   lsrtags = "repeats,staff-notation"
   texidoc = "By adding @code{Volta_engraver}, repeat brackets
 can be put over staves other than the topmost one in a score."
-}
-% begin verbatim
+} % begin verbatim
+
 vmus = \relative c'' {
   \repeat volta 2 c1 \alternative { d e } 
 }