From: Neil Puttock Date: Thu, 5 Jun 2008 00:08:03 +0000 (+0100) Subject: Minor snippet edits. X-Git-Tag: release/2.11.48-1~9^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d6348c8e3a6cf6c412c99a683bcc905598ff625b;p=lilypond.git Minor snippet edits. --- diff --git a/input/new/changing-form-of-multi--measure-rests.ly b/input/new/changing-form-of-multi--measure-rests.ly index f0567c7083..ef9027d949 100644 --- a/input/new/changing-form-of-multi--measure-rests.ly +++ b/input/new/changing-form-of-multi--measure-rests.ly @@ -1,5 +1,4 @@ \version "2.11.42" -\layout { ragged-right = ##t } \header { lsrtags = "rhythms,tweaks-and-overrides" texidoc = " diff --git a/input/new/changing-text-and-spanner-styles-for-text-dynamics.ly b/input/new/changing-text-and-spanner-styles-for-text-dynamics.ly index e7b91b3ee2..2e905d94fc 100644 --- a/input/new/changing-text-and-spanner-styles-for-text-dynamics.ly +++ b/input/new/changing-text-and-spanner-styles-for-text-dynamics.ly @@ -1,5 +1,4 @@ \version "2.11.47" -\layout { ragged-right = ##t } \header { lsrtags = "rhythms,tweaks-and-overrides" texidoc = " @@ -16,11 +15,11 @@ be changed by modifying the @code{'style} property of } \relative c'' { - \set crescendoText = \markup { \italic { cresc. poco } } - \set crescendoSpanner = #'text - \override DynamicTextSpanner #'style = #'dotted-line - a2\< a - a2 a - a2 a - a2 a\mf + \set crescendoText = \markup { \italic { cresc. poco } } + \set crescendoSpanner = #'text + \override DynamicTextSpanner #'style = #'dotted-line + a2\< a + a2 a + a2 a + a2 a\mf } diff --git a/input/new/changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly b/input/new/changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly index 6cef1f8770..8477c1aee8 100644 --- a/input/new/changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly +++ b/input/new/changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly @@ -2,12 +2,12 @@ \header { lsrtags = "rhythms,contexts-and-engravers" texidoc = "The @code{measureLength} property, together with -@code{measurePosition}, determines when a bar line is needed. However, +@code{measurePosition}, determines when a bar line is needed. However, when using @code{\\scaleDurations}, the scaling of durations makes it -difficult to change time signatures without making a mess of it. -Therefore, @code{measureLength} has to be set manually, using the -@code{ly:make-moment} callback. The second argument must be the same as -the second argument of @code{\\scaleDurations}." +difficult to change time signatures. In this case, @code{measureLength} +should be set manually, using the @code{ly:make-moment} callback. The +second argument must be the same as the second argument of +@code{\\scaleDurations}." doctitle = "Changing time signatures inside a polymetric section using @code{\\scaleDurations}" } diff --git a/input/new/clip-systems.ly b/input/new/clip-systems.ly index dcd51ce87e..6f330de463 100644 --- a/input/new/clip-systems.ly +++ b/input/new/clip-systems.ly @@ -1,5 +1,4 @@ \version "2.10.0" -\layout { ragged-right= ##t } \header { lsrtags = "paper-and-layout" % a new tag like "Mixing text and music" or % "Special output" might be more adequate -jm @@ -36,13 +35,13 @@ origScore = \score { \relative c' { \set Staff.instrumentName = #"bla" c1 - d + d1 \grace c16 e1 \key d \major - f \break + f1 \break \clef bass - g, - fis + g,1 + fis1 } } diff --git a/input/new/creating-simultaneous-rehearsal-marks.ly b/input/new/creating-simultaneous-rehearsal-marks.ly index ec5302cb82..cbf8aa6fcd 100644 --- a/input/new/creating-simultaneous-rehearsal-marks.ly +++ b/input/new/creating-simultaneous-rehearsal-marks.ly @@ -13,7 +13,7 @@ end of one system and the start of the following system. doctitle = "Creating simultaneous rehearsal marks" } -% Thanks to Risto Vääräniemi for this snippet +% LSR: Thanks to Risto Vääräniemi for this snippet { \key a \major @@ -21,7 +21,7 @@ end of one system and the start of the following system. \once \override Score.RehearsalMark #'outside-staff-priority = #5000 \once \override Score.RehearsalMark #'self-alignment-X = #LEFT \once \override Score.RehearsalMark #'break-align-symbols = #'(key-signature) - \mark \markup { \bold "Senza denti" } + \mark \markup { \bold { Senza denti } } % the hidden measure and bar line \once \override Score.TimeSignature #'stencil = ##f @@ -31,7 +31,7 @@ end of one system and the start of the following system. \time 4/4 \once \override Score.RehearsalMark #'self-alignment-X = #LEFT \once \override Score.RehearsalMark #'break-align-symbols = #'(bar-line) - \mark \markup { \box \bold "Intro" } + \mark \markup { \box \bold Intro } d'1 \mark \default d'1 diff --git a/input/new/display-bracket-with-only-one-staff-in-a-system.ly b/input/new/display-bracket-with-only-one-staff-in-a-system.ly index 690f37114e..01b0c53569 100644 --- a/input/new/display-bracket-with-only-one-staff-in-a-system.ly +++ b/input/new/display-bracket-with-only-one-staff-in-a-system.ly @@ -24,7 +24,7 @@ property has to be set, as shown on the second system in the example. c'1 } >> - \layout {} + \layout { } } \score { \new PianoStaff << @@ -34,6 +34,6 @@ property has to be set, as shown on the second system in the example. c'1 } >> - \layout {} + \layout { } } } diff --git a/input/new/line-arrows.ly b/input/new/line-arrows.ly index 9c50cec1ea..72c347073d 100644 --- a/input/new/line-arrows.ly +++ b/input/new/line-arrows.ly @@ -2,7 +2,7 @@ \header { lsrtags = "expressive-marks" texidoc = "Arrows can be applied to text-spanners and line-spanners -(such as the Glissando)" +(such as the Glissando)." doctitle = "Line arrows" } diff --git a/input/new/makam.ly b/input/new/makam.ly index 96447ff589..4e4d9c3a86 100644 --- a/input/new/makam.ly +++ b/input/new/makam.ly @@ -3,9 +3,9 @@ lsrtags = "pitches" texidoc = "Makam is a type of melody from Turkey using 1/9th-tone microtonal alterations. Consult the initialization file -@code{makam-init.ly} (in @code{/usr/share/lilypond/current/ly}) -for details of pitch names and alterations. -" +@code{makam-init.ly) (see the `Learning Manual @version{}, +4.6.3 Other sources of information' for the location of this file) +for details of pitch names and alterations." doctitle = "Makam" } diff --git a/input/new/move-specific-text.ly b/input/new/move-specific-text.ly index 0335be73f3..c25c6a515d 100644 --- a/input/new/move-specific-text.ly +++ b/input/new/move-specific-text.ly @@ -20,5 +20,5 @@ Objects of the same type, like text, can be moved around by using some Scheme co 'extra-offset '(-3.5 . -4.5)) a^2^"m.d." } - \layout { ragged-right = ##t} + \layout { } } diff --git a/input/new/outputting-the-version-number.ly b/input/new/outputting-the-version-number.ly index 67c63d2513..87a89cb4a0 100644 --- a/input/new/outputting-the-version-number.ly +++ b/input/new/outputting-the-version-number.ly @@ -11,7 +11,7 @@ a score, or in a document generated with @code{lilypond-book}. } \score { - \context Lyrics { + \new Lyrics { \override Score.RehearsalMark #'self-alignment-X = #LEFT \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version))) diff --git a/input/new/piano-template-with-centered-dynamics.ly b/input/new/piano-template-with-centered-dynamics.ly index 063c0b33ca..ca93a44e05 100644 --- a/input/new/piano-template-with-centered-dynamics.ly +++ b/input/new/piano-template-with-centered-dynamics.ly @@ -80,5 +80,5 @@ pedal = { \new Staff = "upper" << \upper \dynamics \pedal >> \new Staff = "lower" << \lower \dynamics \pedal >> >> - \midi {} + \midi { } } diff --git a/input/new/quoting-another-voice-with-transposition.ly b/input/new/quoting-another-voice-with-transposition.ly index 2f67b56eb5..dc7a9cf7d7 100644 --- a/input/new/quoting-another-voice-with-transposition.ly +++ b/input/new/quoting-another-voice-with-transposition.ly @@ -12,7 +12,7 @@ transposed using @code{\\transpose}. In this case, all the pitches \addQuote clarinet { \transposition bes - \repeat unfold 8 { d'16 d'16 d'8 } + \repeat unfold 8 { d'16 d' d'8 } } \addQuote sax { diff --git a/input/new/quoting-another-voice.ly b/input/new/quoting-another-voice.ly index cfa4726f42..e6fff64c13 100644 --- a/input/new/quoting-another-voice.ly +++ b/input/new/quoting-another-voice.ly @@ -19,15 +19,15 @@ original = \relative c'' { << \new Staff { - \set Staff.instrumentName = "quoteMe" + \set Staff.instrumentName = #"quoteMe" \quoteMe } \new Staff { - \set Staff.instrumentName = "orig" + \set Staff.instrumentName = #"orig" \original } \new Staff \relative c'' << - \set Staff.instrumentName = "orig+quote" + \set Staff.instrumentName = #"orig+quote" \set Staff.quotedEventTypes = #'(note-event articulation-event) \original \new Voice { diff --git a/input/new/table-of-contents.ly b/input/new/table-of-contents.ly index 559ea79052..2be389d4e0 100644 --- a/input/new/table-of-contents.ly +++ b/input/new/table-of-contents.ly @@ -2,8 +2,8 @@ \header { lsrtags = "paper-and-layout" texidoc = "A table of contents is included using -@code{\\markuplines \\table-of-contents}. The TOC items are added with -the @code{\\tocItem} command." +@w{@code{\\markuplines \\table-of-contents}}. The TOC items are +added with the @code{\\tocItem} command." doctitle = "Table of contents" } diff --git a/input/new/transposing-pitches-with-minimum-accidentals-smart-transpose.ly b/input/new/transposing-pitches-with-minimum-accidentals-smart-transpose.ly index dd5c7b5f43..40bf9fb664 100644 --- a/input/new/transposing-pitches-with-minimum-accidentals-smart-transpose.ly +++ b/input/new/transposing-pitches-with-minimum-accidentals-smart-transpose.ly @@ -70,7 +70,7 @@ naturalizeMusic = (ly:music?) (naturalize m)) -music = \relative c' { c4 d e g } +music = \relative c' { c4 d e g } \score { \new Staff { @@ -79,5 +79,5 @@ music = \relative c' { c4 d e g } \transpose c deses \music \naturalizeMusic \transpose c deses \music } - \layout {} + \layout { } } diff --git a/input/new/using-the--tweak-command-to-tweak-individual-grobs.ly b/input/new/using-the--tweak-command-to-tweak-individual-grobs.ly index 5b5d3650d2..75c8c59030 100644 --- a/input/new/using-the--tweak-command-to-tweak-individual-grobs.ly +++ b/input/new/using-the--tweak-command-to-tweak-individual-grobs.ly @@ -1,12 +1,11 @@ \version "2.11.23" -\layout { ragged-right= ##t } \header { lsrtags = "tweaks-and-overrides" texidoc = " With the @code{\\tweak} command, every grob can be tuned directly. Here are some examples of available tweaks. " - doctitle = "Using the @code{\tweak} command to tweak individual grobs" + doctitle = "Using the @code{\\tweak} command to tweak individual grobs" } \relative c' { diff --git a/input/new/volta-below-chords.ly b/input/new/volta-below-chords.ly index 63844f39da..8c4ad9d2a8 100644 --- a/input/new/volta-below-chords.ly +++ b/input/new/volta-below-chords.ly @@ -1,5 +1,4 @@ -\version "2.11.36" -\layout { ragged-right= ##t } +\version "2.11.47" \header { lsrtags = "repeats,staff-notation,chords" texidoc = "By adding the @code{Volta_engraver} to the relevant @@ -7,23 +6,21 @@ staff, volte can be put under chords." doctitle = "Volta under chords" } -% chords above volta \score { << \chords { c1 - c - } - \new Staff \with { \consists Volta_engraver } { - \repeat volta 2 { c'1 } - \alternative { c' } - } + c1 + } + \new Staff \with { \consists "Volta_engraver" } { + \repeat volta 2 { c'1 } + \alternative { c' } + } >> \layout { \context { \Score - \remove Volta_engraver + \remove "Volta_engraver" } } } - diff --git a/input/new/volta-multi-staff.ly b/input/new/volta-multi-staff.ly index 9f35204490..276a49f9a7 100644 --- a/input/new/volta-multi-staff.ly +++ b/input/new/volta-multi-staff.ly @@ -8,12 +8,13 @@ one in a score." } voltaMusic = \relative c'' { - \repeat volta 2 + \repeat volta 2 { c1 - \alternative { + } + \alternative { d1 e - } + } } <<