From 64476e23a2baea26be731b11a5c4a62cb0ff7be0 Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Wed, 5 Nov 2008 20:29:27 +0000 Subject: [PATCH] LSR: Update. --- input/lsr/accordion-discant-symbols.ly | 5 ++ ...a-figured-bass-above-or-below-the-notes.ly | 1 + input/lsr/adding-ambitus-per-voice.ly | 1 + .../adding-an-extra-staff-at-a-line-break.ly | 1 + input/lsr/adding-an-extra-staff.ly | 1 + .../adding-bar-lines-to-chordnames-context.ly | 1 + ...hen-using-tuplet-and-non-tuplet-rythms..ly | 1 + input/lsr/adding-drum-parts.ly | 1 + input/lsr/adding-fingerings-to-a-score.ly | 1 + input/lsr/adding-fingerings-to-tablatures.ly | 1 + ...ound-an-expressive-mark-or-chordal-note.ly | 1 + .../lsr/adding-the-current-date-to-a-score.ly | 1 + ...ing-volta-brackets-to-additional-staves.ly | 1 + .../additional-voices-to-avoid-collisions.ly | 1 + .../lsr/adjusting-lyrics-vertical-spacing.ly | 1 + .../adjusting-the-shape-of-falls-and-doits.ly | 1 + ...aligning-and-centering-instrument-names.ly | 1 + ...ing-marks-with-various-notation-objects.ly | 1 + ...ngerings-to-be-printed-inside-the-staff.ly | 1 + input/lsr/ambitus-with-multiple-voices.ly | 1 + input/lsr/ambitus.ly | 1 + .../lsr/analysis-brackets-above-the-staff.ly | 1 + input/lsr/ancient-fonts.ly | 1 + ...modern-transcription-of-gregorian-music.ly | 1 + ...-modern-transcription-of-mensural-music.ly | 1 + input/lsr/ancient-time-signatures.ly | 1 + ...yles-depending-on-the-step-of-the-scale.ly | 14 +++-- input/lsr/arabic-improvisation.ly | 1 + input/lsr/automatic-beam-subdivisions.ly | 1 + ...wo-per-two-in-4-4-or-2-2-time-signature.ly | 1 + input/lsr/beam-grouping-in-7-8-time.ly | 11 ++++ input/lsr/beams-across-line-breaks.ly | 9 ++++ ...staff-lines-using-the--whiteout-command.ly | 1 + input/lsr/breathing-signs.ly | 1 + input/lsr/broken-crescendo-hairpin.ly | 1 + input/lsr/caesura-railtracks-with-fermata.ly | 1 + .../lsr/center-text-below-hairpin-dynamics.ly | 1 + input/lsr/changing--flageolet-mark-size.ly | 1 + ...changing-a-single-notes-size-in-a-chord.ly | 1 + input/lsr/changing-beam-knee-gap.ly | 14 +++++ input/lsr/changing-chord-separator.ly | 1 + .../changing-form-of-multi--measure-rests.ly | 1 + ...ng-midi-output-to-one-channel-per-voice.ly | 1 + input/lsr/changing-partcombine-texts.ly | 1 + ...hanging-properties-for-individual-grobs.ly | 1 + ...xt-and-spanner-styles-for-text-dynamics.ly | 1 + ...f-a-slur-from-solid-to-dotted-or-dashed.ly | 1 + input/lsr/changing-the-breath-mark-symbol.ly | 1 + ...names-to-german-or-semi-german-notation.ly | 1 + .../changing-the-default-text-font-family.ly | 1 + ...changing-the-number-of-lines-in-a-staff.ly | 1 + ...e-positions-of-figured-bass-alterations.ly | 1 + input/lsr/changing-the-staff-size.ly | 1 + ...ging-the-tempo-without-a-metronome-mark.ly | 1 + ...signature-without-affecting-the-beaming.ly | 32 +++++++++++ input/lsr/changing-the-tuplet-number.ly | 1 + ...polymetric-section-using-scaledurations.ly | 1 + input/lsr/chant-or-psalms-notation.ly | 1 + input/lsr/chord-name-exceptions.ly | 1 + input/lsr/clip-systems.ly | 1 + input/lsr/clusters.ly | 1 + .../combining-dynamics-with-markup-texts.ly | 1 + .../combining-two-parts-on-the-same-staff.ly | 1 + input/lsr/compound-time-signatures.ly | 1 + ...onducting-signs,-measure-grouping-signs.ly | 17 ++++++ input/lsr/contemporary-glissando.ly | 1 + ...lling-the-placement-of-chord-fingerings.ly | 1 + ...olling-the-vertical-ordering-of-scripts.ly | 1 + .../controlling-tuplet-bracket-visibility.ly | 1 + ...-a-sequence-of-notes-on-various-pitches.ly | 1 + ...eggios-across-notes-in-different-voices.ly | 1 + input/lsr/creating-blank-staves.ly | 1 + ...-cross-staff-arpeggios-in-a-piano-staff.ly | 1 + ...cross-staff-arpeggios-in-other-contexts.ly | 1 + ...creating-metronome-marks-in-markup-mode.ly | 1 + .../creating-real-parenthesized-dynamics.ly | 1 + input/lsr/creating-slurs-across-voices.ly | 1 + input/lsr/creating-text-spanners.ly | 1 + input/lsr/custodes.ly | 1 + .../customizing-fretboard-fret-diagrams.ly | 1 + input/lsr/customizing-markup-fret-diagrams.ly | 1 + ...f-stems-on-the-center-line-of-the-staff.ly | 1 + input/lsr/demo-midiinstruments.ly | 1 + input/lsr/demonstrating-all-headers.ly | 1 + ...bracket-with-only-one-staff-in-a-system.ly | 1 + ...entals-for-each-note-including-naturals.ly | 1 + input/lsr/dotted-harmonics.ly | 1 + input/lsr/double-glissando.ly | 1 + input/lsr/drawing-boxes-around-grobs.ly | 1 + .../drawing-circles-around-various-objects.ly | 1 + ...ng-native-postscript-in-a--markup-block.ly | 1 + input/lsr/engravers-one-by-one.ly | 1 + input/lsr/engraving-ties-manually.ly | 1 + ...l-tuplets-using-only-one--times-command.ly | 1 + input/lsr/faking-a-hammer-in-tablatures.ly | 1 + input/lsr/fine-tuning-pedal-brackets.ly | 1 + ...-indications,-and-right-hand-fingerings.ly | 1 + input/lsr/flute-slap-notation.ly | 1 + .../lsr/forcing-horizontal-shift-of-notes.ly | 1 + ...-to-start-from-a-given-letter-or-number.ly | 1 + input/lsr/formatting-lyrics-syllables.ly | 1 + .../fret-diagrams-explained-and-developed.ly | 1 + input/lsr/generating-random-notes.ly | 1 + .../grid-lines--changing-their-appearance.ly | 1 + ...izing-rhythms-and-notes-synchronization.ly | 1 + input/lsr/grouping-beats.ly | 8 +++ input/lsr/guitar-strum-rhythms.ly | 1 + ...y-customized-polymetric-time-signatures.ly | 1 + ...ing-the-extender-line-for-text-dynamics.ly | 1 + ...ynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly | 1 + .../how-to-change-fret-diagram-position.ly | 1 + ...to-put-ties-between-syllables-in-lyrics.ly | 1 + input/lsr/incipit.ly | 1 + ...ross-staff-chords-with-arpeggio-bracket.ly | 1 + input/lsr/inserting-a-caesura.ly | 1 + ...ore-fragments-above-a-staff,-as-markups.ly | 1 + input/lsr/isolated-percent-repeats.ly | 1 + input/lsr/jazz-combo-template.ly | 1 + input/lsr/laissez-vibrer-ties.ly | 1 + input/lsr/letter-tablature-formatting.ly | 1 + input/lsr/line-arrows.ly | 1 + input/lsr/lyrics-alignment.ly | 1 + input/lsr/makam-example.ly | 1 + ...invisible-with-the-transparent-property.ly | 1 + ...ome-staff-lines-thicker-than-the-others.ly | 1 + ...ed-bass-extenders-for-only-some-numbers.ly | 1 + .../manually-controlling-beam-positions.ly | 1 + ...f-spoken-parts-with-a-cross-on-the-stem.ly | 1 + input/lsr/markup-lines.ly | 1 + ...che-layout-bar-lines-between-the-staves.ly | 1 + ...ulti-measure-rests-in-a-polyphonic-part.ly | 1 + input/lsr/modern-tab-text-clef.ly | 1 + ...ues-for-articulation-shorthand-notation.ly | 1 + input/lsr/modifying-tuplet-bracket-length.ly | 1 + input/lsr/multi--measure-rest-markup.ly | 1 + input/lsr/nesting-staves.ly | 1 + input/lsr/non-traditional-key-signatures.ly | 6 ++- input/lsr/ottava-text.ly | 1 + input/lsr/outputting-the-version-number.ly | 1 + input/lsr/page-label.ly | 1 + input/lsr/percent-repeat-counter.ly | 1 + input/lsr/percussion-beaters.ly | 1 + ...tting-line-breaks-within-beamed-tuplets.ly | 1 + input/lsr/piano-template-simple.ly | 1 + .../piano-template-with-centered-dynamics.ly | 1 + .../piano-template-with-centered-lyrics.ly | 1 + .../piano-template-with-melody-and-lyrics.ly | 1 + .../lsr/placement-of-right-hand-fingerings.ly | 1 + input/lsr/polyphony-in-tablature.ly | 1 + input/lsr/positioning-multi--measure-rests.ly | 1 + ...itioning-segno-and-coda-with-line-break.ly | 1 + ...naturals-from-being-automatically-added.ly | 1 + ...-printed-when-the-key-signature-changes.ly | 1 + ...repeat-sign-at-the-beginning-of-a-piece.ly | 1 + ...nting-hairpins-using-al-niente-notation.ly | 1 + ...g-marks-at-the-end-of-a-line-or-a-score.ly | 1 + input/lsr/printing-marks-on-every-staff.ly | 1 + ...ome-and-rehearsal-marks-below-the-staff.ly | 1 + input/lsr/proportional-strict-notespacing.ly | 1 + ...uoting-another-voice-with-transposition.ly | 1 + input/lsr/quoting-another-voice.ly | 1 + input/lsr/removing-the-first-empty-line.ly | 1 + input/lsr/rest-styles.ly | 15 +++--- input/lsr/reverting-default-beam-endings.ly | 10 ++++ input/lsr/rhythmic-slashes.ly | 1 + input/lsr/rhythms.snippet-list | 6 ++- .../setting-hairpin-behavior-at-bar-lines.ly | 1 + .../setting-the-minimum-length-of-hairpins.ly | 1 + input/lsr/shortening-volta-brackets.ly | 1 + input/lsr/showing-chords-at-changes.ly | 1 + input/lsr/simple-lead-sheet.ly | 1 + ...template-with-notes,-lyrics,-and-chords.ly | 1 + ...te-with-notes,-lyrics,-chords-and-frets.ly | 1 + ...le-staff-template-with-notes-and-chords.ly | 1 + ...le-staff-template-with-notes-and-lyrics.ly | 1 + .../single-staff-template-with-only-notes.ly | 1 + input/lsr/skips-in-lyric-mode-2.ly | 1 + input/lsr/skips-in-lyric-mode.ly | 1 + .../snap-pizzicato-markup-bartok-pizzicato.ly | 32 +++++------ .../specifying-context-with-beatgrouping.ly | 1 + .../stem-and-beam-behavior-in-tablature.ly | 1 + input/lsr/stemlets.ly | 1 + input/lsr/string-quartet-template-simple.ly | 1 + ...ng-quartet-template-with-separate-parts.ly | 1 + input/lsr/sub-dividing-beams.ly | 19 +++++++ ...sing-warnings-for-clashing-note-columns.ly | 1 + input/lsr/table-of-contents.ly | 1 + input/lsr/three-sided-box.ly | 1 + input/lsr/tick-bar-lines.ly | 1 + input/lsr/time-signature-in-parentheses.ly | 1 + ...scription-of-ancient-music-with-incipit.ly | 1 + ...ith-minimum-accidentals-smart-transpose.ly | 1 + input/lsr/tweaking-clef-properties.ly | 37 +++++++++++++ ...e-bracket-at-the-start-of-a-staff-group.ly | 1 + .../lsr/using-beatlength-and-beatgrouping.ly | 54 +++++++++++++++++++ .../using-double-slurs-for-legato-chords.ly | 1 + ...pt-to-generate-special-note-head-shapes.ly | 1 + ...tweak-command-to-tweak-individual-grobs.ly | 1 + input/lsr/using-ties-with-arpeggios.ly | 1 + input/lsr/utf-8.ly | 1 + ...ically-aligned-dynamics-and-textscripts.ly | 1 + ...aligning-dynamics-across-multiple-notes.ly | 1 + .../vertically-aligning-ossias-and-lyrics.ly | 1 + ...template-with-automatic-piano-reduction.ly | 1 + ...rics-aligned-below-and-above-the-staves.ly | 1 + input/lsr/vocal-ensemble-template.ly | 1 + input/lsr/volta-below-chords.ly | 1 + input/lsr/volta-multi-staff.ly | 1 + .../volta-text-markup-using-repeatcommands.ly | 1 + .../new/using-beatlength-and-beatgrouping.ly | 3 +- .../texidocs/tweaking-clef-properties.texidoc | 34 ++++++++++++ 211 files changed, 483 insertions(+), 36 deletions(-) create mode 100644 input/lsr/changing-the-time-signature-without-affecting-the-beaming.ly create mode 100644 input/lsr/using-beatlength-and-beatgrouping.ly diff --git a/input/lsr/accordion-discant-symbols.ly b/input/lsr/accordion-discant-symbols.ly index 6e2617f745..7b836a2925 100644 --- a/input/lsr/accordion-discant-symbols.ly +++ b/input/lsr/accordion-discant-symbols.ly @@ -30,6 +30,7 @@ vertical placement of the symbols can be tweaked by changing the " doctitle = "Accordion-discant symbols" } % begin verbatim + discant = \markup { \musicglyph #"accordion.accDiscant" } @@ -37,6 +38,8 @@ dot = \markup { \musicglyph #"accordion.accDot" } +\layout { ragged-right = ##t } + % 16 voets register accBasson = ^\markup { \combine @@ -175,11 +178,13 @@ accViolin = ^\markup { c4 d\accVCello e f c4 d\accHarmon e f c4 d\accTrombon e f + \break c4 d\accOrgan e f c4 d\accMaster e f c4 d\accAccord e f c4 d\accMusette e f c4 d\accCeleste e f + \break c4 d\accOboe e f c4 d\accClarin e f c4 d\accPiccolo e f diff --git a/input/lsr/adding-a-figured-bass-above-or-below-the-notes.ly b/input/lsr/adding-a-figured-bass-above-or-below-the-notes.ly index 263c32da8b..2e2a8a22cf 100644 --- a/input/lsr/adding-a-figured-bass-above-or-below-the-notes.ly +++ b/input/lsr/adding-a-figured-bass-above-or-below-the-notes.ly @@ -35,6 +35,7 @@ to the whole score. " 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 diff --git a/input/lsr/adding-ambitus-per-voice.ly b/input/lsr/adding-ambitus-per-voice.ly index 7c7870aa11..10e277199e 100644 --- a/input/lsr/adding-ambitus-per-voice.ly +++ b/input/lsr/adding-ambitus-per-voice.ly @@ -26,6 +26,7 @@ manually to prevent collisions. " doctitle = "Adding ambitus per voice" } % begin verbatim + \new Staff << \new Voice \with { \consists "Ambitus_engraver" diff --git a/input/lsr/adding-an-extra-staff-at-a-line-break.ly b/input/lsr/adding-an-extra-staff-at-a-line-break.ly index 2c73452a7e..cf7fe1cdc7 100644 --- a/input/lsr/adding-an-extra-staff-at-a-line-break.ly +++ b/input/lsr/adding-an-extra-staff-at-a-line-break.ly @@ -32,6 +32,7 @@ is also required (see the example). " doctitle = "Adding an extra staff at a line break" } % begin verbatim + \score { \new StaffGroup \relative c'' { \new Staff diff --git a/input/lsr/adding-an-extra-staff.ly b/input/lsr/adding-an-extra-staff.ly index 11dd3e8cc8..12aabcf163 100644 --- a/input/lsr/adding-an-extra-staff.ly +++ b/input/lsr/adding-an-extra-staff.ly @@ -19,6 +19,7 @@ piece. " doctitle = "Adding an extra staff" } % begin verbatim + \score { << \new Staff \relative c'' { c1 c c c c } diff --git a/input/lsr/adding-bar-lines-to-chordnames-context.ly b/input/lsr/adding-bar-lines-to-chordnames-context.ly index ed2d0614e4..838f6beca4 100644 --- a/input/lsr/adding-bar-lines-to-chordnames-context.ly +++ b/input/lsr/adding-bar-lines-to-chordnames-context.ly @@ -20,6 +20,7 @@ To add bar line indications in the @code{ChordNames} context, add the " doctitle = "Adding bar lines to ChordNames context" } % begin verbatim + \new ChordNames \with { \override BarLine #'bar-size = #4 \consists "Bar_engraver" diff --git a/input/lsr/adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly b/input/lsr/adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly index 8b071c58e0..177c783855 100644 --- a/input/lsr/adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly +++ b/input/lsr/adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly @@ -35,6 +35,7 @@ sections (enclosed within curly braces). " 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') } diff --git a/input/lsr/adding-drum-parts.ly b/input/lsr/adding-drum-parts.ly index d0d38af835..84d2d34d14 100644 --- a/input/lsr/adding-drum-parts.ly +++ b/input/lsr/adding-drum-parts.ly @@ -28,6 +28,7 @@ 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 } diff --git a/input/lsr/adding-fingerings-to-a-score.ly b/input/lsr/adding-fingerings-to-a-score.ly index 60f163bec1..f0c627e3e1 100644 --- a/input/lsr/adding-fingerings-to-a-score.ly +++ b/input/lsr/adding-fingerings-to-a-score.ly @@ -11,6 +11,7 @@ Fingering instructions can be entered using a simple syntax. " doctitle = "Adding fingerings to a score" } % begin verbatim + \relative c'' { c4-1 d-2 f-4 e-3 } diff --git a/input/lsr/adding-fingerings-to-tablatures.ly b/input/lsr/adding-fingerings-to-tablatures.ly index 73de056b19..885e9f0930 100644 --- a/input/lsr/adding-fingerings-to-tablatures.ly +++ b/input/lsr/adding-fingerings-to-tablatures.ly @@ -12,6 +12,7 @@ and @code{\\finger}. " doctitle = "Adding fingerings to tablatures" } % begin verbatim + one = \markup { \finger 1 } two = \markup { \finger 2 } threeTwo = \markup { diff --git a/input/lsr/adding-parentheses-around-an-expressive-mark-or-chordal-note.ly b/input/lsr/adding-parentheses-around-an-expressive-mark-or-chordal-note.ly index 24b5fbe901..c8a370e57d 100644 --- a/input/lsr/adding-parentheses-around-an-expressive-mark-or-chordal-note.ly +++ b/input/lsr/adding-parentheses-around-an-expressive-mark-or-chordal-note.ly @@ -21,6 +21,7 @@ objects in parentheses. The associated grob is " doctitle = "Adding parentheses around an expressive mark or chordal note" } % begin verbatim + \relative c' { c2-\parenthesize -> \override ParenthesesItem #'padding = #0.1 diff --git a/input/lsr/adding-the-current-date-to-a-score.ly b/input/lsr/adding-the-current-date-to-a-score.ly index 46f0597986..1afd80eb54 100644 --- a/input/lsr/adding-the-current-date-to-a-score.ly +++ b/input/lsr/adding-the-current-date-to-a-score.ly @@ -19,6 +19,7 @@ score. " doctitle = "Adding the current date to a score" } % begin verbatim + % first, define a variable to hold the formatted date: date = #(strftime "%d-%m-%Y" (localtime (current-time))) diff --git a/input/lsr/adding-volta-brackets-to-additional-staves.ly b/input/lsr/adding-volta-brackets-to-additional-staves.ly index c0c474a4a6..816c195e7a 100644 --- a/input/lsr/adding-volta-brackets-to-additional-staves.ly +++ b/input/lsr/adding-volta-brackets-to-additional-staves.ly @@ -26,6 +26,7 @@ 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' } } diff --git a/input/lsr/additional-voices-to-avoid-collisions.ly b/input/lsr/additional-voices-to-avoid-collisions.ly index b1535713a5..25eabeb6f2 100644 --- a/input/lsr/additional-voices-to-avoid-collisions.ly +++ b/input/lsr/additional-voices-to-avoid-collisions.ly @@ -23,6 +23,7 @@ a variable using the Scheme function @code{context-spec-music}. " doctitle = "Additional voices to avoid collisions" } % begin verbatim + voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice) \relative c'' { \time 3/4 \key d \minor \partial 2 diff --git a/input/lsr/adjusting-lyrics-vertical-spacing.ly b/input/lsr/adjusting-lyrics-vertical-spacing.ly index 01e15c8452..57c93e78fb 100644 --- a/input/lsr/adjusting-lyrics-vertical-spacing.ly +++ b/input/lsr/adjusting-lyrics-vertical-spacing.ly @@ -18,6 +18,7 @@ This snippet shows how to bring the lyrics line closer to the staff. " doctitle = "Adjusting lyrics vertical spacing" } % begin verbatim + % Default layout: << \new Staff \new Voice = melody \relative c' { diff --git a/input/lsr/adjusting-the-shape-of-falls-and-doits.ly b/input/lsr/adjusting-the-shape-of-falls-and-doits.ly index fc8cdbd2a1..fd0d2be34f 100644 --- a/input/lsr/adjusting-the-shape-of-falls-and-doits.ly +++ b/input/lsr/adjusting-the-shape-of-falls-and-doits.ly @@ -20,6 +20,7 @@ adjust the shape of falls and doits. " doctitle = "Adjusting the shape of falls and doits" } % begin verbatim + \relative c'' { \override Score.SpacingSpanner #'shortest-duration-space = #4.0 c2-\bendAfter #+5 diff --git a/input/lsr/aligning-and-centering-instrument-names.ly b/input/lsr/aligning-and-centering-instrument-names.ly index 021acafacc..5860d8b62e 100644 --- a/input/lsr/aligning-and-centering-instrument-names.ly +++ b/input/lsr/aligning-and-centering-instrument-names.ly @@ -36,6 +36,7 @@ first and the following systems, respectively." doctitle = "Aligning and centering instrument names" } % begin verbatim + \paper { left-margin = 3\cm } diff --git a/input/lsr/aligning-marks-with-various-notation-objects.ly b/input/lsr/aligning-marks-with-various-notation-objects.ly index 69db969870..ac7575270d 100644 --- a/input/lsr/aligning-marks-with-various-notation-objects.ly +++ b/input/lsr/aligning-marks-with-various-notation-objects.ly @@ -32,6 +32,7 @@ should be done for all the staves)." doctitle = "Aligning marks with various notation objects" } % begin verbatim + \relative c' { e1 diff --git a/input/lsr/allowing-fingerings-to-be-printed-inside-the-staff.ly b/input/lsr/allowing-fingerings-to-be-printed-inside-the-staff.ly index 9322bc9b04..50b0bb98d9 100644 --- a/input/lsr/allowing-fingerings-to-be-printed-inside-the-staff.ly +++ b/input/lsr/allowing-fingerings-to-be-printed-inside-the-staff.ly @@ -20,6 +20,7 @@ staff. However, this behavior can be canceled. " doctitle = "Allowing fingerings to be printed inside the staff" } % begin verbatim + \relative c' { 2 \once \override Fingering #'staff-padding = #'() diff --git a/input/lsr/ambitus-with-multiple-voices.ly b/input/lsr/ambitus-with-multiple-voices.ly index ffebc56de8..fc9ec9b03a 100644 --- a/input/lsr/ambitus-with-multiple-voices.ly +++ b/input/lsr/ambitus-with-multiple-voices.ly @@ -28,6 +28,7 @@ voices. " doctitle = "Ambitus with multiple voices" } % begin verbatim + \new Staff \with { \consists "Ambitus_engraver" } diff --git a/input/lsr/ambitus.ly b/input/lsr/ambitus.ly index b909fd46fe..0ff66ec3ad 100644 --- a/input/lsr/ambitus.ly +++ b/input/lsr/ambitus.ly @@ -15,6 +15,7 @@ Accidentals only show up if they are not part of the key signature. " doctitle = "Ambitus" } % begin verbatim + \layout { ragged-right = ##t \context { diff --git a/input/lsr/analysis-brackets-above-the-staff.ly b/input/lsr/analysis-brackets-above-the-staff.ly index d3f9040695..fc0947b14e 100644 --- a/input/lsr/analysis-brackets-above-the-staff.ly +++ b/input/lsr/analysis-brackets-above-the-staff.ly @@ -21,6 +21,7 @@ staff instead. " doctitle = "Analysis brackets above the staff" } % begin verbatim + \layout { \context { \Voice diff --git a/input/lsr/ancient-fonts.ly b/input/lsr/ancient-fonts.ly index e925c35490..f94d4b9243 100644 --- a/input/lsr/ancient-fonts.ly +++ b/input/lsr/ancient-fonts.ly @@ -22,6 +22,7 @@ LilyPond's support for ancient notation. " doctitle = "Ancient fonts" } % begin verbatim + upperStaff = \new VaticanaStaff = "upperStaff" << \context VaticanaVoice << \transpose c c { diff --git a/input/lsr/ancient-notation-template----modern-transcription-of-gregorian-music.ly b/input/lsr/ancient-notation-template----modern-transcription-of-gregorian-music.ly index 4697da1729..fc79599749 100644 --- a/input/lsr/ancient-notation-template----modern-transcription-of-gregorian-music.ly +++ b/input/lsr/ancient-notation-template----modern-transcription-of-gregorian-music.ly @@ -31,6 +31,7 @@ length. " doctitle = "Ancient notation template -- modern transcription of gregorian music" } % begin verbatim + \include "gregorian.ly" chant = \relative c' { diff --git a/input/lsr/ancient-notation-template----modern-transcription-of-mensural-music.ly b/input/lsr/ancient-notation-template----modern-transcription-of-mensural-music.ly index 320e35bf19..0033965e2b 100644 --- a/input/lsr/ancient-notation-template----modern-transcription-of-mensural-music.ly +++ b/input/lsr/ancient-notation-template----modern-transcription-of-mensural-music.ly @@ -42,6 +42,7 @@ on the staves. " doctitle = "Ancient notation template -- modern transcription of mensural music" } % begin verbatim + global = { \set Score.skipBars = ##t diff --git a/input/lsr/ancient-time-signatures.ly b/input/lsr/ancient-time-signatures.ly index d618933358..090f7023c0 100644 --- a/input/lsr/ancient-time-signatures.ly +++ b/input/lsr/ancient-time-signatures.ly @@ -19,6 +19,7 @@ Time signatures may also be engraved in an old style. " doctitle = "Ancient time signatures" } % begin verbatim + { \override Staff.TimeSignature #'style = #'neomensural s1 diff --git a/input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly b/input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly index f082e83e48..9529df41dc 100644 --- a/input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly +++ b/input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly @@ -69,6 +69,9 @@ correspondence between harmonic functions and note head styles. " doctitle = "Applying note head styles depending on the step of the scale" } % begin verbatim + +\layout { ragged-right = ##t } + fragment = { \key c \major c2 d @@ -81,14 +84,17 @@ fragment = { \new Staff { \transpose c d \relative c' { - \set shapeNoteStyles = #'#(do re mi fa #f la ti) + \set shapeNoteStyles = #'#(do re mi fa + #f la ti) \fragment } - + + \break + \relative c' { - \set shapeNoteStyles = #'#(cross triangle fa #f mensural xcircle diamond) + \set shapeNoteStyles = #'#(cross triangle fa #f + mensural xcircle diamond) \fragment } } } - diff --git a/input/lsr/arabic-improvisation.ly b/input/lsr/arabic-improvisation.ly index dfa8eb484e..5cf13b86c1 100644 --- a/input/lsr/arabic-improvisation.ly +++ b/input/lsr/arabic-improvisation.ly @@ -24,6 +24,7 @@ could be the start of a @emph{hijaz} improvisation:" doctitle = "Arabic improvisation" } % begin verbatim + \include "arabic.ly" \relative sol' { diff --git a/input/lsr/automatic-beam-subdivisions.ly b/input/lsr/automatic-beam-subdivisions.ly index 43d34b39ad..3a566710d8 100644 --- a/input/lsr/automatic-beam-subdivisions.ly +++ b/input/lsr/automatic-beam-subdivisions.ly @@ -21,6 +21,7 @@ specified in @code{beatLength}). " doctitle = "Automatic beam subdivisions" } % begin verbatim + \score { \new Staff \relative c'' { << { diff --git a/input/lsr/automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly b/input/lsr/automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly index 3067c76bfc..96f477ba7f 100644 --- a/input/lsr/automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly +++ b/input/lsr/automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly @@ -25,6 +25,7 @@ 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 | | | | diff --git a/input/lsr/beam-grouping-in-7-8-time.ly b/input/lsr/beam-grouping-in-7-8-time.ly index 34a6a0d7ae..98fa4b6858 100644 --- a/input/lsr/beam-grouping-in-7-8-time.ly +++ b/input/lsr/beam-grouping-in-7-8-time.ly @@ -5,6 +5,16 @@ \header { lsrtags = "rhythms" + texidoces = " +No está especificada ninguna agrupación predeterminada automática +de las barras para el compás de 7/8, de forma que si se requieren +barras automáticas se debe especificar la forma de agrupamiento. +Por ejemplo, para agrupar todas las barras en la forma 2-3-2 en el +compás de 7/8, especificamos los finales de barra en 2/8 y 5/8: + +" + doctitlees = "Agrupamiento de las barras en el compás de 7/8" + texidoc = " There are no default automatic beam groupings specified for 7/8 time, so if automatic beams are required the grouping must be specified. For @@ -14,6 +24,7 @@ example, to group all beams 2-3-2 in 7/8 time, specify beam endings at " doctitle = "Beam grouping in 7/8 time" } % begin verbatim + \relative c'' { \time 7/8 % rhythm 2-3-2 diff --git a/input/lsr/beams-across-line-breaks.ly b/input/lsr/beams-across-line-breaks.ly index f7ee658c67..da954b11f2 100644 --- a/input/lsr/beams-across-line-breaks.ly +++ b/input/lsr/beams-across-line-breaks.ly @@ -5,6 +5,14 @@ \header { lsrtags = "rhythms" + texidoces = " +Normalmente están prohibidos los saltos de línea si las barras +atraviesan las líneas divisorias. Se puede cambiar este +comportamiento como se muestra aquí: + +" + doctitle = "Barras que atraviesan saltos de línea" + texidoc = " Line breaks are normally forbidden when beams cross bar lines. This behavior can be changed as shown: @@ -12,6 +20,7 @@ behavior can be changed as shown: " doctitle = "Beams across line breaks" } % begin verbatim + \relative c'' { \override Beam #'breakable = ##t c8 c[ c] c[ c] c[ c] c[ \break diff --git a/input/lsr/blanking-staff-lines-using-the--whiteout-command.ly b/input/lsr/blanking-staff-lines-using-the--whiteout-command.ly index 6feaf95226..7695a35d2f 100644 --- a/input/lsr/blanking-staff-lines-using-the--whiteout-command.ly +++ b/input/lsr/blanking-staff-lines-using-the--whiteout-command.ly @@ -23,6 +23,7 @@ white box will not overlap any other grob. " doctitle = "Blanking staff lines using the \\whiteout command" } % begin verbatim + \layout { ragged-right = ##f } \relative c' { \override TextScript #'extra-offset = #'(2 . 4) diff --git a/input/lsr/breathing-signs.ly b/input/lsr/breathing-signs.ly index d5cb236e63..0423e77cea 100644 --- a/input/lsr/breathing-signs.ly +++ b/input/lsr/breathing-signs.ly @@ -12,6 +12,7 @@ ticks, vees and \"railroad tracks\" (caesura). " doctitle = "Breathing signs" } % begin verbatim + \new Staff \relative c'' { \key es \major \time 3/4 diff --git a/input/lsr/broken-crescendo-hairpin.ly b/input/lsr/broken-crescendo-hairpin.ly index cb5bd967be..8189e8f9e8 100644 --- a/input/lsr/broken-crescendo-hairpin.ly +++ b/input/lsr/broken-crescendo-hairpin.ly @@ -45,6 +45,7 @@ draw the rectangle over the hairpin. doctitle = "Broken crescendo hairpin" } % begin verbatim + \relative c' { << { \dynamicUp diff --git a/input/lsr/caesura-railtracks-with-fermata.ly b/input/lsr/caesura-railtracks-with-fermata.ly index 63355618a0..ae018eb983 100644 --- a/input/lsr/caesura-railtracks-with-fermata.ly +++ b/input/lsr/caesura-railtracks-with-fermata.ly @@ -22,6 +22,7 @@ optically pleasing combination of railtracks and fermata. " doctitle = "Caesura (\"railtracks\") with fermata" } % begin verbatim + \relative c'' { c2. % construct the symbol diff --git a/input/lsr/center-text-below-hairpin-dynamics.ly b/input/lsr/center-text-below-hairpin-dynamics.ly index 847acd0a75..454b72eaff 100644 --- a/input/lsr/center-text-below-hairpin-dynamics.ly +++ b/input/lsr/center-text-below-hairpin-dynamics.ly @@ -23,6 +23,7 @@ printed, using some Scheme code. " doctitle = "Center text below hairpin dynamics" } % begin verbatim + hairpinWithCenteredText = #(define-music-function (parser location text) (markup?) #{ \override Voice.Hairpin #'stencil = #(lambda (grob) diff --git a/input/lsr/changing--flageolet-mark-size.ly b/input/lsr/changing--flageolet-mark-size.ly index 55a8ce8c39..580dc97ec7 100644 --- a/input/lsr/changing--flageolet-mark-size.ly +++ b/input/lsr/changing--flageolet-mark-size.ly @@ -19,6 +19,7 @@ function. " doctitle = "Changing \\flageolet mark size" } % begin verbatim + smallFlageolet = #(let ((m (make-music 'ArticulationEvent 'articulation-type "flageolet"))) (set! (ly:music-property m 'tweaks) diff --git a/input/lsr/changing-a-single-notes-size-in-a-chord.ly b/input/lsr/changing-a-single-notes-size-in-a-chord.ly index 2329c6c518..bb04d39c73 100644 --- a/input/lsr/changing-a-single-notes-size-in-a-chord.ly +++ b/input/lsr/changing-a-single-notes-size-in-a-chord.ly @@ -34,6 +34,7 @@ notehead). " 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 } diff --git a/input/lsr/changing-beam-knee-gap.ly b/input/lsr/changing-beam-knee-gap.ly index 9fd7f0a2a0..ca72dc8995 100644 --- a/input/lsr/changing-beam-knee-gap.ly +++ b/input/lsr/changing-beam-knee-gap.ly @@ -5,6 +5,19 @@ \header { lsrtags = "rhythms" + texidoces = " +Se insertan automáticamente barras en ángulo cuando se detecta un +intervalo muy grande entre las notas. Se puede hacer un ajuste +fino de este comportamiento a través de la propiedad +@code{auto-knee-gap}. Se traza una barra doblada si el salto es +mayor que el valor de @code{auto-knee-gap} más el ancho del objeto +barra (que depende de la duración de las notas y de la inclinación +de la barra). De forma predeterminada @code{auto-knee-gap} está +establecido a 5.5 espacios de pentagrama. + +" + doctitlees = "Cambiar el salto de las barras en ángulo" + texidoc = " Kneed beams are inserted automatically when a large gap is detected between the note heads. This behavior can be tuned through the @@ -17,6 +30,7 @@ spaces. " doctitle = "Changing beam knee gap" } % begin verbatim + { f8 f''8 f8 f''8 \override Beam #'auto-knee-gap = #6 diff --git a/input/lsr/changing-chord-separator.ly b/input/lsr/changing-chord-separator.ly index 32a3451ea4..46fefc20c7 100644 --- a/input/lsr/changing-chord-separator.ly +++ b/input/lsr/changing-chord-separator.ly @@ -19,6 +19,7 @@ markup. " doctitle = "Changing chord separator" } % begin verbatim + \chords { c:7sus4 \set chordNameSeparator diff --git a/input/lsr/changing-form-of-multi--measure-rests.ly b/input/lsr/changing-form-of-multi--measure-rests.ly index a2f3d3eb80..e2f66c384c 100644 --- a/input/lsr/changing-form-of-multi--measure-rests.ly +++ b/input/lsr/changing-form-of-multi--measure-rests.ly @@ -22,6 +22,7 @@ This default number of ten may be changed by overriding the doctitle = "Changing form of multi-measure rests" } % begin verbatim + \relative c'' { \compressFullBarRests R1*2 | R1*5 | R1*9 diff --git a/input/lsr/changing-midi-output-to-one-channel-per-voice.ly b/input/lsr/changing-midi-output-to-one-channel-per-voice.ly index 7b7fd31a0b..2a995ef67b 100644 --- a/input/lsr/changing-midi-output-to-one-channel-per-voice.ly +++ b/input/lsr/changing-midi-output-to-one-channel-per-voice.ly @@ -37,6 +37,7 @@ two MIDI channels are created, each with a different " doctitle = "Changing MIDI output to one channel per voice" } % begin verbatim + \score { \new Staff << \new Voice \relative c''' { diff --git a/input/lsr/changing-partcombine-texts.ly b/input/lsr/changing-partcombine-texts.ly index 6f404243eb..4282b01c02 100644 --- a/input/lsr/changing-partcombine-texts.ly +++ b/input/lsr/changing-partcombine-texts.ly @@ -20,6 +20,7 @@ the solo and unison sections may be changed: " doctitle = "Changing partcombine texts" } % begin verbatim + \new Staff << \set Staff.soloText = #"girl" \set Staff.soloIIText = #"boy" diff --git a/input/lsr/changing-properties-for-individual-grobs.ly b/input/lsr/changing-properties-for-individual-grobs.ly index 9c4bd34926..5d64151b02 100644 --- a/input/lsr/changing-properties-for-individual-grobs.ly +++ b/input/lsr/changing-properties-for-individual-grobs.ly @@ -13,6 +13,7 @@ arguments. " doctitle = "Changing properties for individual grobs" } % begin verbatim + \layout { ragged-right = ##t } diff --git a/input/lsr/changing-text-and-spanner-styles-for-text-dynamics.ly b/input/lsr/changing-text-and-spanner-styles-for-text-dynamics.ly index 773ba5865c..f8fe762258 100644 --- a/input/lsr/changing-text-and-spanner-styles-for-text-dynamics.ly +++ b/input/lsr/changing-text-and-spanner-styles-for-text-dynamics.ly @@ -29,6 +29,7 @@ and @code{'dotted-line}: doctitle = "Changing text and spanner styles for text dynamics" } % begin verbatim + \relative c'' { \set crescendoText = \markup { \italic { cresc. poco } } \set crescendoSpanner = #'text diff --git a/input/lsr/changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly b/input/lsr/changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly index 07da3b0722..984de0eaf4 100644 --- a/input/lsr/changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly +++ b/input/lsr/changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed.ly @@ -18,6 +18,7 @@ The appearance of slurs may be changed from solid to dotted or dashed. " doctitle = "Changing the appearance of a slur from solid to dotted or dashed" } % begin verbatim + \relative c' { c4( d e c) \slurDotted diff --git a/input/lsr/changing-the-breath-mark-symbol.ly b/input/lsr/changing-the-breath-mark-symbol.ly index 04b777ccbb..efb54b8966 100644 --- a/input/lsr/changing-the-breath-mark-symbol.ly +++ b/input/lsr/changing-the-breath-mark-symbol.ly @@ -21,6 +21,7 @@ text. " doctitle = "Changing the breath mark symbol" } % begin verbatim + \relative c'' { c2 \override BreathingSign #'text = \markup { \musicglyph #"scripts.rvarcomma" } diff --git a/input/lsr/changing-the-chord-names-to-german-or-semi-german-notation.ly b/input/lsr/changing-the-chord-names-to-german-or-semi-german-notation.ly index 33da1cc779..859304d8fc 100644 --- a/input/lsr/changing-the-chord-names-to-german-or-semi-german-notation.ly +++ b/input/lsr/changing-the-chord-names-to-german-or-semi-german-notation.ly @@ -25,6 +25,7 @@ The english naming of chords (default) can be changed to german " 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 diff --git a/input/lsr/changing-the-default-text-font-family.ly b/input/lsr/changing-the-default-text-font-family.ly index e2df581922..08466951db 100644 --- a/input/lsr/changing-the-default-text-font-family.ly +++ b/input/lsr/changing-the-default-text-font-family.ly @@ -12,6 +12,7 @@ The default font families for text can be overridden with " doctitle = "Changing the default text font family" } % begin verbatim + \paper { % change for other default global staff size. myStaffSize = #20 diff --git a/input/lsr/changing-the-number-of-lines-in-a-staff.ly b/input/lsr/changing-the-number-of-lines-in-a-staff.ly index 766c5027a4..a2a04196b1 100644 --- a/input/lsr/changing-the-number-of-lines-in-a-staff.ly +++ b/input/lsr/changing-the-number-of-lines-in-a-staff.ly @@ -15,6 +15,7 @@ The number of lines in a staff may changed by overriding the " doctitle = "Changing the number of lines in a staff" } % begin verbatim + upper = \relative c'' { c4 d e f } diff --git a/input/lsr/changing-the-positions-of-figured-bass-alterations.ly b/input/lsr/changing-the-positions-of-figured-bass-alterations.ly index 0bee9f979a..07cc60bb5d 100644 --- a/input/lsr/changing-the-positions-of-figured-bass-alterations.ly +++ b/input/lsr/changing-the-positions-of-figured-bass-alterations.ly @@ -22,6 +22,7 @@ depending on the @code{figuredBassAlterationDirection} and " doctitle = "Changing the positions of figured bass alterations" } % begin verbatim + \figures { <6\+> <5+> <6 4-> r \set figuredBassAlterationDirection = #RIGHT diff --git a/input/lsr/changing-the-staff-size.ly b/input/lsr/changing-the-staff-size.ly index f838595798..c1e7d475bc 100644 --- a/input/lsr/changing-the-staff-size.ly +++ b/input/lsr/changing-the-staff-size.ly @@ -14,6 +14,7 @@ changed by scaling the properties @code{'staff-space} and " doctitle = "Changing the staff size" } % begin verbatim + << \new Staff { \relative c'' { diff --git a/input/lsr/changing-the-tempo-without-a-metronome-mark.ly b/input/lsr/changing-the-tempo-without-a-metronome-mark.ly index db7f7bd4c4..ff09a60b9f 100644 --- a/input/lsr/changing-the-tempo-without-a-metronome-mark.ly +++ b/input/lsr/changing-the-tempo-without-a-metronome-mark.ly @@ -18,6 +18,7 @@ anything, make the metronome mark invisible:" doctitle = "Changing the tempo without a metronome mark" } % begin verbatim + \score { \new Staff \relative c' { \tempo 4 = 160 diff --git a/input/lsr/changing-the-time-signature-without-affecting-the-beaming.ly b/input/lsr/changing-the-time-signature-without-affecting-the-beaming.ly new file mode 100644 index 0000000000..48931a5d55 --- /dev/null +++ b/input/lsr/changing-the-time-signature-without-affecting-the-beaming.ly @@ -0,0 +1,32 @@ +%% 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.62" + +\header { + lsrtags = "rhythms" + + texidoc = " +The @code{\\time} command sets the properties +@code{timeSignatureFraction}, @code{beatLength}, @code{beatGrouping} +and @code{measureLength} in the @code{Timing} context, which is +normally aliased to @code{Score}. Changing the value of +@code{timeSignatureFraction} causes the new time signature symbol to be +printed without changing any of the other properties: + +" + doctitle = "Changing the time signature without affecting the beaming" +} % begin verbatim + +\relative c'' { + \time 3/4 + a16 a a a a a a a a a a a + + % Change time signature symbol but keep 3/4 beaming + % due to unchanged underlying time signature + \set Score.timeSignatureFraction = #'(12 . 16) + a16 a a a a a a a a a a a + + \time 12/16 + % Lose 3/4 beaming now \time has been changed + a16 a a a a a a a a a a a +} diff --git a/input/lsr/changing-the-tuplet-number.ly b/input/lsr/changing-the-tuplet-number.ly index 436f11b61d..6638f500a6 100644 --- a/input/lsr/changing-the-tuplet-number.ly +++ b/input/lsr/changing-the-tuplet-number.ly @@ -34,6 +34,7 @@ be printed, or the tuplet number may be suppressed altogether. " 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 diff --git a/input/lsr/changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly b/input/lsr/changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly index 8e7429a0a4..a305baaef5 100644 --- a/input/lsr/changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly +++ b/input/lsr/changing-time-signatures-inside-a-polymetric-section-using-scaledurations.ly @@ -27,6 +27,7 @@ second argument must be the same as the second argument of doctitle = "Changing time signatures inside a polymetric section using @code{\\scaleDurations}" } % begin verbatim + \layout { \context { \Score diff --git a/input/lsr/chant-or-psalms-notation.ly b/input/lsr/chant-or-psalms-notation.ly index 23eb9bdd11..85bb00971a 100644 --- a/input/lsr/chant-or-psalms-notation.ly +++ b/input/lsr/chant-or-psalms-notation.ly @@ -19,6 +19,7 @@ aren't always the same length. " doctitle = "Chant or psalms notation" } % begin verbatim + stemOn = { \override Staff.Stem #'transparent = ##f } stemOff = { \override Staff.Stem #'transparent = ##t } diff --git a/input/lsr/chord-name-exceptions.ly b/input/lsr/chord-name-exceptions.ly index 993c4a258f..dc66fb768b 100644 --- a/input/lsr/chord-name-exceptions.ly +++ b/input/lsr/chord-name-exceptions.ly @@ -20,6 +20,7 @@ special notations for specific chords. " doctitle = "Chord name exceptions" } % begin verbatim + % modify maj9 and 6(add9) % Exception music is chords with markups chExceptionMusic = { diff --git a/input/lsr/clip-systems.ly b/input/lsr/clip-systems.ly index b1a5f3c4f3..c0a956c638 100644 --- a/input/lsr/clip-systems.ly +++ b/input/lsr/clip-systems.ly @@ -30,6 +30,7 @@ are generated. doctitle = "Clip systems" } % begin verbatim + #(ly:set-option 'clip-systems) #(set! output-count 1) diff --git a/input/lsr/clusters.ly b/input/lsr/clusters.ly index 8a2f4be157..c567df1709 100644 --- a/input/lsr/clusters.ly +++ b/input/lsr/clusters.ly @@ -19,6 +19,7 @@ played. " doctitle = "Clusters" } % begin verbatim + \layout { ragged-right = ##t } diff --git a/input/lsr/combining-dynamics-with-markup-texts.ly b/input/lsr/combining-dynamics-with-markup-texts.ly index 348da56f30..99e8d5205e 100644 --- a/input/lsr/combining-dynamics-with-markup-texts.ly +++ b/input/lsr/combining-dynamics-with-markup-texts.ly @@ -20,6 +20,7 @@ Some dynamics may involve text indications (such as \"più forte\" or " doctitle = "Combining dynamics with markup texts" } % begin verbatim + piuF = \markup { \italic più \dynamic f } \layout { ragged-right = ##f } \relative c'' { diff --git a/input/lsr/combining-two-parts-on-the-same-staff.ly b/input/lsr/combining-two-parts-on-the-same-staff.ly index 46725a7eb2..3cbfdab964 100644 --- a/input/lsr/combining-two-parts-on-the-same-staff.ly +++ b/input/lsr/combining-two-parts-on-the-same-staff.ly @@ -47,6 +47,7 @@ staff: standard polyphony, @code{\\partcombine} without texts, and " doctitle = "Combining two parts on the same staff" } % begin verbatim + musicUp = \relative c'' { \time 4/4 a4 c4.( g8) a4 | diff --git a/input/lsr/compound-time-signatures.ly b/input/lsr/compound-time-signatures.ly index 5a86c8c77b..e9ab5202cb 100644 --- a/input/lsr/compound-time-signatures.ly +++ b/input/lsr/compound-time-signatures.ly @@ -29,6 +29,7 @@ database.) " 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)))) diff --git a/input/lsr/conducting-signs,-measure-grouping-signs.ly b/input/lsr/conducting-signs,-measure-grouping-signs.ly index e2d43217b4..ec18dd202f 100644 --- a/input/lsr/conducting-signs,-measure-grouping-signs.ly +++ b/input/lsr/conducting-signs,-measure-grouping-signs.ly @@ -5,6 +5,22 @@ \header { lsrtags = "rhythms" + texidoces = " +Las opciones para agrupar los pulsos de un compás están a nuestra +disposición a través de la función de Scheme +@code{set-time-signature}, que acepta tres argumentos: el número +de pulsos, la longitud del pulso, y la agrupación interna de los +pulsos dentro del compás. Si se incluye el grabador +@code{Measure_grouping_engraver}, la función crea también símbolos +de agrupación @code{MeasureGrouping}. Dichos símbolos facilitan +la lectura de la música moderna de cierta complejidad rítmica. En +el ejemplo, el compás de 9/8 se subdivide en 2, 2, 2 y 3. Esto se +pasa a la función @code{set-time-signature} como tercer argumento: +@code{'(2 2 2 3)}: + +" +doctitlees = "Símbolos de dirección, símbolos de agrupación de compás" + texidoc = " Options to group beats within a bar are available through the Scheme function @code{set-time-signature}, which takes three arguments: the @@ -18,6 +34,7 @@ ease reading rhythmically complex modern music. In the example, the " doctitle = "Conducting signs, measure grouping signs" } % begin verbatim + \score { \relative c'' { #(set-time-signature 9 8 '(2 2 2 3)) diff --git a/input/lsr/contemporary-glissando.ly b/input/lsr/contemporary-glissando.ly index a697f6df60..f326a0b7bf 100644 --- a/input/lsr/contemporary-glissando.ly +++ b/input/lsr/contemporary-glissando.ly @@ -19,6 +19,7 @@ hidden note and cadenza timing. " doctitle = "Contemporary glissando" } % begin verbatim + \relative c'' { \time 3/4 \override Glissando #'style = #'zigzag diff --git a/input/lsr/controlling-the-placement-of-chord-fingerings.ly b/input/lsr/controlling-the-placement-of-chord-fingerings.ly index cd7d1c5794..1aab2aff57 100644 --- a/input/lsr/controlling-the-placement-of-chord-fingerings.ly +++ b/input/lsr/controlling-the-placement-of-chord-fingerings.ly @@ -17,6 +17,7 @@ The placement of fingering numbers can be controlled precisely. " doctitle = "Controlling the placement of chord fingerings" } % begin verbatim + \relative c' { \set fingeringOrientations = #'(left) 4 diff --git a/input/lsr/controlling-the-vertical-ordering-of-scripts.ly b/input/lsr/controlling-the-vertical-ordering-of-scripts.ly index f75778178d..a33f84bb29 100644 --- a/input/lsr/controlling-the-vertical-ordering-of-scripts.ly +++ b/input/lsr/controlling-the-vertical-ordering-of-scripts.ly @@ -33,6 +33,7 @@ comes first. " doctitle = "Controlling the vertical ordering of scripts" } % begin verbatim + \relative c''' { \once \override TextScript #'script-priority = #-100 a2^\prall^\markup { \sharp } diff --git a/input/lsr/controlling-tuplet-bracket-visibility.ly b/input/lsr/controlling-tuplet-bracket-visibility.ly index d56cfb1f68..26be00223d 100644 --- a/input/lsr/controlling-tuplet-bracket-visibility.ly +++ b/input/lsr/controlling-tuplet-bracket-visibility.ly @@ -16,6 +16,7 @@ bracket), @code{#f} (never print a bracket) or @code{#'if-no-beam} " doctitle = "Controlling tuplet bracket visibility" } % begin verbatim + music = \relative c'' { \times 2/3 { c16[ d e } f8] \times 2/3 { c8 d e } diff --git a/input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly b/input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly index 87133bd0dc..ab50080c20 100644 --- a/input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly +++ b/input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly @@ -29,6 +29,7 @@ throughout Mars, from Gustav Holst's The Planets. " doctitle = "Creating a sequence of notes on various pitches" } % begin verbatim + #(define (make-note-req p d) (make-music 'NoteEvent 'duration d diff --git a/input/lsr/creating-arpeggios-across-notes-in-different-voices.ly b/input/lsr/creating-arpeggios-across-notes-in-different-voices.ly index cce5bd5247..3cde987930 100644 --- a/input/lsr/creating-arpeggios-across-notes-in-different-voices.ly +++ b/input/lsr/creating-arpeggios-across-notes-in-different-voices.ly @@ -22,6 +22,7 @@ context: " doctitle = "Creating arpeggios across notes in different voices" } % begin verbatim + \new Staff \with { \consists "Span_arpeggio_engraver" } diff --git a/input/lsr/creating-blank-staves.ly b/input/lsr/creating-blank-staves.ly index 7264e1e4be..3a70311228 100644 --- a/input/lsr/creating-blank-staves.ly +++ b/input/lsr/creating-blank-staves.ly @@ -25,6 +25,7 @@ To create blank staves, generate empty measures then remove the " doctitle = "Creating blank staves" } % begin verbatim + #(set-global-staff-size 20) \score { diff --git a/input/lsr/creating-cross-staff-arpeggios-in-a-piano-staff.ly b/input/lsr/creating-cross-staff-arpeggios-in-a-piano-staff.ly index e69e8429dd..5690d8a066 100644 --- a/input/lsr/creating-cross-staff-arpeggios-in-a-piano-staff.ly +++ b/input/lsr/creating-cross-staff-arpeggios-in-a-piano-staff.ly @@ -21,6 +21,7 @@ the staves by setting the property @code{PianoStaff.connectArpeggios}. " doctitle = "Creating cross-staff arpeggios in a piano staff" } % begin verbatim + \new PianoStaff \relative c'' << \set PianoStaff.connectArpeggios = ##t \new Staff { diff --git a/input/lsr/creating-cross-staff-arpeggios-in-other-contexts.ly b/input/lsr/creating-cross-staff-arpeggios-in-other-contexts.ly index f5e2eeded9..4ad262fe54 100644 --- a/input/lsr/creating-cross-staff-arpeggios-in-other-contexts.ly +++ b/input/lsr/creating-cross-staff-arpeggios-in-other-contexts.ly @@ -21,6 +21,7 @@ the @code{Score} context. " doctitle = "Creating cross-staff arpeggios in other contexts" } % begin verbatim + \score { \new StaffGroup { \set Score.connectArpeggios = ##t diff --git a/input/lsr/creating-metronome-marks-in-markup-mode.ly b/input/lsr/creating-metronome-marks-in-markup-mode.ly index 348884dd60..aa2e4b8791 100644 --- a/input/lsr/creating-metronome-marks-in-markup-mode.ly +++ b/input/lsr/creating-metronome-marks-in-markup-mode.ly @@ -18,6 +18,7 @@ but they will not change the tempo in MIDI output." doctitle = "Creating metronome marks in markup mode" } % begin verbatim + \relative c' { \tempo \markup { \concat { diff --git a/input/lsr/creating-real-parenthesized-dynamics.ly b/input/lsr/creating-real-parenthesized-dynamics.ly index 050d933784..52729347d1 100644 --- a/input/lsr/creating-real-parenthesized-dynamics.ly +++ b/input/lsr/creating-real-parenthesized-dynamics.ly @@ -39,6 +39,7 @@ commands such as @code{\\dynamicUp} or @code{\\dynamicDown}. " doctitle = "Creating \"real\" parenthesized dynamics" } % begin verbatim + \paper { ragged-right = ##t } parenF = #(make-dynamic-script (markup #:line (#:normal-text #:italic diff --git a/input/lsr/creating-slurs-across-voices.ly b/input/lsr/creating-slurs-across-voices.ly index 544c21baac..2674bd0c26 100644 --- a/input/lsr/creating-slurs-across-voices.ly +++ b/input/lsr/creating-slurs-across-voices.ly @@ -31,6 +31,7 @@ solo violin, BWV 1004. " doctitle = "Creating slurs across voices" } % begin verbatim + \relative c' { << { d16( a') s a s a[ s a] s a[ s a] diff --git a/input/lsr/creating-text-spanners.ly b/input/lsr/creating-text-spanners.ly index d028a22773..d77ceb77c4 100644 --- a/input/lsr/creating-text-spanners.ly +++ b/input/lsr/creating-text-spanners.ly @@ -22,6 +22,7 @@ indications or octavations. Override some properties of the doctitle = "Creating text spanners" } % begin verbatim + \paper { ragged-right = ##f } \relative c'' { diff --git a/input/lsr/custodes.ly b/input/lsr/custodes.ly index cbc1fae7b3..0d23d8a345 100644 --- a/input/lsr/custodes.ly +++ b/input/lsr/custodes.ly @@ -17,6 +17,7 @@ Custodes may be engraved in various styles. " doctitle = "Custodes" } % begin verbatim + \layout { ragged-right = ##t } \new Staff \with { \consists "Custos_engraver" } \relative c' { diff --git a/input/lsr/customizing-fretboard-fret-diagrams.ly b/input/lsr/customizing-fretboard-fret-diagrams.ly index b1d3a15eba..d814ac9a68 100644 --- a/input/lsr/customizing-fretboard-fret-diagrams.ly +++ b/input/lsr/customizing-fretboard-fret-diagrams.ly @@ -27,6 +27,7 @@ therefore can be omitted in property overrides. doctitle = "Customizing fretboard fret diagrams" } % begin verbatim + \include "predefined-guitar-fretboards.ly" \storePredefinedDiagram \chordmode { c' } #guitar-tuning diff --git a/input/lsr/customizing-markup-fret-diagrams.ly b/input/lsr/customizing-markup-fret-diagrams.ly index ff8bef52b9..5ae673861b 100644 --- a/input/lsr/customizing-markup-fret-diagrams.ly +++ b/input/lsr/customizing-markup-fret-diagrams.ly @@ -22,6 +22,7 @@ to the markup. doctitle = "Customizing markup fret diagrams" } % begin verbatim + << \chords { c1 c c d } diff --git a/input/lsr/default-direction-of-stems-on-the-center-line-of-the-staff.ly b/input/lsr/default-direction-of-stems-on-the-center-line-of-the-staff.ly index 59da1ee0d6..a9f25f25f3 100644 --- a/input/lsr/default-direction-of-stems-on-the-center-line-of-the-staff.ly +++ b/input/lsr/default-direction-of-stems-on-the-center-line-of-the-staff.ly @@ -20,6 +20,7 @@ by the @code{Stem} property @code{neutral-direction}. " doctitle = "Default direction of stems on the center line of the staff" } % begin verbatim + \relative c'' { a4 b c b \override Stem #'neutral-direction = #up diff --git a/input/lsr/demo-midiinstruments.ly b/input/lsr/demo-midiinstruments.ly index 8b59356a75..d677758c04 100644 --- a/input/lsr/demo-midiinstruments.ly +++ b/input/lsr/demo-midiinstruments.ly @@ -14,6 +14,7 @@ composition? Solution: A LilyPond demo file. " doctitle = "Demo MidiInstruments" } % begin verbatim + \header { title = "Demo of all midi sounds" arranger = "Myself " diff --git a/input/lsr/demonstrating-all-headers.ly b/input/lsr/demonstrating-all-headers.ly index a8e8861df0..2114345555 100644 --- a/input/lsr/demonstrating-all-headers.ly +++ b/input/lsr/demonstrating-all-headers.ly @@ -11,6 +11,7 @@ A demonstration of all headers. " doctitle = "Demonstrating all headers" } % begin verbatim + \header { copyright = "copyright" title = "title" diff --git a/input/lsr/display-bracket-with-only-one-staff-in-a-system.ly b/input/lsr/display-bracket-with-only-one-staff-in-a-system.ly index d6f6dc54d3..36d23dc3fd 100644 --- a/input/lsr/display-bracket-with-only-one-staff-in-a-system.ly +++ b/input/lsr/display-bracket-with-only-one-staff-in-a-system.ly @@ -32,6 +32,7 @@ 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 \left-column { \score { \new StaffGroup << diff --git a/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly b/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly index c9aa698cf8..593e11aebf 100644 --- a/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly +++ b/input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly @@ -44,6 +44,7 @@ This snippet shows how to achieve such notation rules. doctitle = "Dodecaphonic-style accidentals for each note including naturals" } % begin verbatim + \score { \new Staff { #(set-accidental-style 'dodecaphonic) diff --git a/input/lsr/dotted-harmonics.ly b/input/lsr/dotted-harmonics.ly index 16bf6459ea..d9fa31821d 100644 --- a/input/lsr/dotted-harmonics.ly +++ b/input/lsr/dotted-harmonics.ly @@ -10,6 +10,7 @@ dots. To override this behavior, set the context property doctitle = "Dotted harmonics" } % begin verbatim + \relative c''' { \time 3/4 \key f \major diff --git a/input/lsr/double-glissando.ly b/input/lsr/double-glissando.ly index 631b4e3fe5..c2d2e3cb0c 100644 --- a/input/lsr/double-glissando.ly +++ b/input/lsr/double-glissando.ly @@ -12,6 +12,7 @@ hidden voice. " doctitle = "Double glissando" } % begin verbatim + \relative c { \clef bass << diff --git a/input/lsr/drawing-boxes-around-grobs.ly b/input/lsr/drawing-boxes-around-grobs.ly index dbd1530e85..dae9a7c05b 100644 --- a/input/lsr/drawing-boxes-around-grobs.ly +++ b/input/lsr/drawing-boxes-around-grobs.ly @@ -10,6 +10,7 @@ arbitrary grob. doctitle = "Drawing boxes around grobs" } % begin verbatim + \relative c'' { \override TextScript #'stencil = #(make-stencil-boxer 0.1 0.3 ly:text-interface::print) diff --git a/input/lsr/drawing-circles-around-various-objects.ly b/input/lsr/drawing-circles-around-various-objects.ly index 0da979546d..bd7a3ef8db 100644 --- a/input/lsr/drawing-circles-around-various-objects.ly +++ b/input/lsr/drawing-circles-around-various-objects.ly @@ -12,6 +12,7 @@ marks and measure numbers. doctitle = "Drawing circles around various objects" } % begin verbatim + \relative c' { c1 \set Score.markFormatter = diff --git a/input/lsr/embedding-native-postscript-in-a--markup-block.ly b/input/lsr/embedding-native-postscript-in-a--markup-block.ly index a352eb5599..7b76dfd7bc 100644 --- a/input/lsr/embedding-native-postscript-in-a--markup-block.ly +++ b/input/lsr/embedding-native-postscript-in-a--markup-block.ly @@ -19,6 +19,7 @@ block. " doctitle = "Embedding native PostScript in a \\markup block" } % begin verbatim + % PostScript is a registered trademark of Adobe Systems Inc. \relative c'' { diff --git a/input/lsr/engravers-one-by-one.ly b/input/lsr/engravers-one-by-one.ly index 1d23b68b65..4495fd3f51 100644 --- a/input/lsr/engravers-one-by-one.ly +++ b/input/lsr/engravers-one-by-one.ly @@ -71,6 +71,7 @@ this snippet and run it from your own computer. " doctitle = "Engravers one-by-one" } % begin verbatim + %% sample music topVoice = \relative c' { \key d\major diff --git a/input/lsr/engraving-ties-manually.ly b/input/lsr/engraving-ties-manually.ly index 21ff797d87..badd680207 100644 --- a/input/lsr/engraving-ties-manually.ly +++ b/input/lsr/engraving-ties-manually.ly @@ -23,6 +23,7 @@ number indicates the direction (1 = up, -1 = down). " doctitle = "Engraving ties manually" } % begin verbatim + \relative c' { 2 ~ \override TieColumn #'tie-configuration = diff --git a/input/lsr/entering-several-tuplets-using-only-one--times-command.ly b/input/lsr/entering-several-tuplets-using-only-one--times-command.ly index 37a1468071..56dd6ee9f8 100644 --- a/input/lsr/entering-several-tuplets-using-only-one--times-command.ly +++ b/input/lsr/entering-several-tuplets-using-only-one--times-command.ly @@ -52,6 +52,7 @@ administration\". " doctitle = "Entering several tuplets using only one \\times command" } % begin verbatim + \relative c' { \time 2/4 \set tupletSpannerDuration = #(ly:make-moment 1 4) diff --git a/input/lsr/faking-a-hammer-in-tablatures.ly b/input/lsr/faking-a-hammer-in-tablatures.ly index 8db24f2c0c..72103d43e8 100644 --- a/input/lsr/faking-a-hammer-in-tablatures.ly +++ b/input/lsr/faking-a-hammer-in-tablatures.ly @@ -11,6 +11,7 @@ A hammer in tablature can be faked with slurs. " doctitle = "Faking a hammer in tablatures" } % begin verbatim + \score { \new TabStaff { \relative c'' { diff --git a/input/lsr/fine-tuning-pedal-brackets.ly b/input/lsr/fine-tuning-pedal-brackets.ly index 500b750b49..1d0ab7a48e 100644 --- a/input/lsr/fine-tuning-pedal-brackets.ly +++ b/input/lsr/fine-tuning-pedal-brackets.ly @@ -9,6 +9,7 @@ different ways." doctitle = "Fine-tuning pedal brackets" } % begin verbatim + \paper { ragged-right = ##f } \relative c'' { c2\sostenutoOn c diff --git a/input/lsr/fingerings,-string-indications,-and-right-hand-fingerings.ly b/input/lsr/fingerings,-string-indications,-and-right-hand-fingerings.ly index 059797ed33..91548a6530 100644 --- a/input/lsr/fingerings,-string-indications,-and-right-hand-fingerings.ly +++ b/input/lsr/fingerings,-string-indications,-and-right-hand-fingerings.ly @@ -20,6 +20,7 @@ right-hand fingering. " doctitle = "Fingerings, string indications, and right-hand fingerings" } % begin verbatim + #(define RH rightHandFinger) \relative c { diff --git a/input/lsr/flute-slap-notation.ly b/input/lsr/flute-slap-notation.ly index 5c8823f6d6..e9af0e4618 100644 --- a/input/lsr/flute-slap-notation.ly +++ b/input/lsr/flute-slap-notation.ly @@ -13,6 +13,7 @@ appropriate glyph. " doctitle = "Flute slap notation" } % begin verbatim + slap = #(define-music-function (parser location music) (ly:music?) #{\override NoteHead #'stencil = #ly:text-interface::print diff --git a/input/lsr/forcing-horizontal-shift-of-notes.ly b/input/lsr/forcing-horizontal-shift-of-notes.ly index 88682148b5..83c54bf79d 100644 --- a/input/lsr/forcing-horizontal-shift-of-notes.ly +++ b/input/lsr/forcing-horizontal-shift-of-notes.ly @@ -21,6 +21,7 @@ are staff spaces. " doctitle = "Forcing horizontal shift of notes" } % begin verbatim + \relative c' << { 2 diff --git a/input/lsr/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly b/input/lsr/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly index 2a3f659cdf..5a80ddc860 100644 --- a/input/lsr/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly +++ b/input/lsr/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly @@ -12,6 +12,7 @@ marks, but from the letter or number you want. " doctitle = "Forcing rehearsal marks to start from a given letter or number" } % begin verbatim + \relative c''{ c1 \mark \default c1 \mark \default diff --git a/input/lsr/formatting-lyrics-syllables.ly b/input/lsr/formatting-lyrics-syllables.ly index 140634dc31..ae6d5d83db 100644 --- a/input/lsr/formatting-lyrics-syllables.ly +++ b/input/lsr/formatting-lyrics-syllables.ly @@ -12,6 +12,7 @@ To format individual syllables in lyrics, use @code{\\markup @{ .... " 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!" diff --git a/input/lsr/fret-diagrams-explained-and-developed.ly b/input/lsr/fret-diagrams-explained-and-developed.ly index 6ed56b2b10..7e13941bc3 100644 --- a/input/lsr/fret-diagrams-explained-and-developed.ly +++ b/input/lsr/fret-diagrams-explained-and-developed.ly @@ -9,6 +9,7 @@ and tweaking fret diagrams." doctitle = "Fret diagrams explained and developed" } % begin verbatim + << \chords { a2 a diff --git a/input/lsr/generating-random-notes.ly b/input/lsr/generating-random-notes.ly index d0be5b09f5..3e83268160 100644 --- a/input/lsr/generating-random-notes.ly +++ b/input/lsr/generating-random-notes.ly @@ -25,6 +25,7 @@ get different random note patterns, just change this number. " doctitle = "Generating random notes" } % begin verbatim + \score { { #(let ((random-state (seed->random-state (current-time)))) (ly:export diff --git a/input/lsr/grid-lines--changing-their-appearance.ly b/input/lsr/grid-lines--changing-their-appearance.ly index f2a69fc872..2c204b2d44 100644 --- a/input/lsr/grid-lines--changing-their-appearance.ly +++ b/input/lsr/grid-lines--changing-their-appearance.ly @@ -19,6 +19,7 @@ properties. " doctitle = "Grid lines: changing their appearance" } % begin verbatim + \layout { \context { \Staff diff --git a/input/lsr/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly b/input/lsr/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly index c5c55dca27..1f547ff678 100644 --- a/input/lsr/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly +++ b/input/lsr/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly @@ -23,6 +23,7 @@ this snippet. " doctitle = "Grid lines: emphasizing rhythms and notes synchronization" } % begin verbatim + %% sets of grid \layout { \context { diff --git a/input/lsr/grouping-beats.ly b/input/lsr/grouping-beats.ly index 01e1ae43b1..e25afd8de3 100644 --- a/input/lsr/grouping-beats.ly +++ b/input/lsr/grouping-beats.ly @@ -5,12 +5,20 @@ \header { lsrtags = "rhythms" + texidoces = " +Los patrones de barrado se pueden alterar con la propiedad +@code{beatGrouping}: + +" + doctitlees = "Agrupar los pulsos" + texidoc = " Beaming patterns may be altered with the @code{beatGrouping} property: " doctitle = "Grouping beats" } % begin verbatim + \relative c'' { \time 5/16 \set beatGrouping = #'(2 3) diff --git a/input/lsr/guitar-strum-rhythms.ly b/input/lsr/guitar-strum-rhythms.ly index c7335894cd..a065b4c7e8 100644 --- a/input/lsr/guitar-strum-rhythms.ly +++ b/input/lsr/guitar-strum-rhythms.ly @@ -18,6 +18,7 @@ with melody notes, chord names, and fret diagrams. doctitle = "Guitar strum rhythms" } % begin verbatim + \include "predefined-guitar-fretboards.ly" << \new ChordNames { diff --git a/input/lsr/heavily-customized-polymetric-time-signatures.ly b/input/lsr/heavily-customized-polymetric-time-signatures.ly index b3024518b8..257bedac49 100644 --- a/input/lsr/heavily-customized-polymetric-time-signatures.ly +++ b/input/lsr/heavily-customized-polymetric-time-signatures.ly @@ -13,6 +13,7 @@ is the template of a real Balkan song!). " 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 diff --git a/input/lsr/hiding-the-extender-line-for-text-dynamics.ly b/input/lsr/hiding-the-extender-line-for-text-dynamics.ly index e90cff183f..a6db8a4cc0 100644 --- a/input/lsr/hiding-the-extender-line-for-text-dynamics.ly +++ b/input/lsr/hiding-the-extender-line-for-text-dynamics.ly @@ -21,6 +21,7 @@ following way: " doctitle = "Hiding the extender line for text dynamics" } % begin verbatim + \relative c'' { \override DynamicTextSpanner #'dash-period = #-1.0 \crescTextCresc diff --git a/input/lsr/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly b/input/lsr/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly index e88c3e9f3e..41fcd07684 100644 --- a/input/lsr/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly +++ b/input/lsr/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly @@ -47,6 +47,7 @@ not at the center of pp. " doctitle = "Horizontally aligning custom dynamics (e.g. \"sempre pp\", \"piu f\", \"subito p\")" } % begin verbatim + \header { title = "Horizontally aligning custom dynamics" } \layout { ragged-right = ##t } diff --git a/input/lsr/how-to-change-fret-diagram-position.ly b/input/lsr/how-to-change-fret-diagram-position.ly index a8f143ad9e..bd6a0e3ce8 100644 --- a/input/lsr/how-to-change-fret-diagram-position.ly +++ b/input/lsr/how-to-change-fret-diagram-position.ly @@ -24,6 +24,7 @@ itself. " doctitle = "How to change fret diagram position" } % begin verbatim + harmonies = \chordmode { a8:13 diff --git a/input/lsr/how-to-put-ties-between-syllables-in-lyrics.ly b/input/lsr/how-to-put-ties-between-syllables-in-lyrics.ly index c3d0d5a0e0..dc8a63c8f1 100644 --- a/input/lsr/how-to-put-ties-between-syllables-in-lyrics.ly +++ b/input/lsr/how-to-put-ties-between-syllables-in-lyrics.ly @@ -11,6 +11,7 @@ This can be achieved by separating those syllables by tildes. " doctitle = "How to put ties between syllables in lyrics" } % begin verbatim + \lyrics { wa~o~a } diff --git a/input/lsr/incipit.ly b/input/lsr/incipit.ly index aa6c5507e5..a7c04ad5c4 100644 --- a/input/lsr/incipit.ly +++ b/input/lsr/incipit.ly @@ -15,6 +15,7 @@ keeping separate the instrument name definition and the incipit definition." doctitle = "Incipit" } % begin verbatim + incipit = #(define-music-function (parser location incipit-music) (ly:music?) #{ diff --git a/input/lsr/indicating-cross-staff-chords-with-arpeggio-bracket.ly b/input/lsr/indicating-cross-staff-chords-with-arpeggio-bracket.ly index 8dd5e7eeea..f01da0bdfb 100644 --- a/input/lsr/indicating-cross-staff-chords-with-arpeggio-bracket.ly +++ b/input/lsr/indicating-cross-staff-chords-with-arpeggio-bracket.ly @@ -30,6 +30,7 @@ context. " doctitle = "Indicating cross-staff chords with arpeggio bracket" } % begin verbatim + \paper { ragged-right = ##t } \new PianoStaff << diff --git a/input/lsr/inserting-a-caesura.ly b/input/lsr/inserting-a-caesura.ly index 916f46a807..97105b9383 100644 --- a/input/lsr/inserting-a-caesura.ly +++ b/input/lsr/inserting-a-caesura.ly @@ -19,6 +19,7 @@ mark is also available. doctitle = "Inserting a caesura" } % begin verbatim + \relative c'' { \override BreathingSign #'text = \markup { \musicglyph #"scripts.caesura.straight" diff --git a/input/lsr/inserting-score-fragments-above-a-staff,-as-markups.ly b/input/lsr/inserting-score-fragments-above-a-staff,-as-markups.ly index 5cda94bae4..1e12ac8952 100644 --- a/input/lsr/inserting-score-fragments-above-a-staff,-as-markups.ly +++ b/input/lsr/inserting-score-fragments-above-a-staff,-as-markups.ly @@ -12,6 +12,7 @@ contains a @code{\\score} block instead of texts or marks. " doctitle = "Inserting score fragments above a staff, as markups" } % begin verbatim + tuning = \markup { \score { \new Staff \with { \remove "Time_signature_engraver" } diff --git a/input/lsr/isolated-percent-repeats.ly b/input/lsr/isolated-percent-repeats.ly index b8df0cff0b..342b036486 100644 --- a/input/lsr/isolated-percent-repeats.ly +++ b/input/lsr/isolated-percent-repeats.ly @@ -20,6 +20,7 @@ multi-measure rest with a different print function: " doctitle = "Isolated percent repeats" } % begin verbatim + \relative c'' { \override MultiMeasureRest #'stencil = #ly:multi-measure-rest::percent diff --git a/input/lsr/jazz-combo-template.ly b/input/lsr/jazz-combo-template.ly index 25cbccd77e..bc87cf86a2 100644 --- a/input/lsr/jazz-combo-template.ly +++ b/input/lsr/jazz-combo-template.ly @@ -34,6 +34,7 @@ music is within a @code{\\transpose} section. " doctitle = "Jazz combo template" } % begin verbatim + \header { title = "Song" subtitle = "(tune)" diff --git a/input/lsr/laissez-vibrer-ties.ly b/input/lsr/laissez-vibrer-ties.ly index 87eec49b8a..7de2d7b72f 100644 --- a/input/lsr/laissez-vibrer-ties.ly +++ b/input/lsr/laissez-vibrer-ties.ly @@ -12,6 +12,7 @@ using @code{'tie-configuration}. " doctitle = "Laissez vibrer ties" } % begin verbatim + \relative c' { 4\laissezVibrer r \laissezVibrer r 4\laissezVibrer r 4.\laissezVibrer r8 diff --git a/input/lsr/letter-tablature-formatting.ly b/input/lsr/letter-tablature-formatting.ly index 03ca74d8c6..14d37d089c 100644 --- a/input/lsr/letter-tablature-formatting.ly +++ b/input/lsr/letter-tablature-formatting.ly @@ -10,6 +10,7 @@ numbers." doctitle = "Letter tablature formatting" } % begin verbatim + #(define (letter-tablature-format str context event) (let* ((tuning (ly:context-property context 'stringTunings)) diff --git a/input/lsr/line-arrows.ly b/input/lsr/line-arrows.ly index 600ac70947..1d4a9d100b 100644 --- a/input/lsr/line-arrows.ly +++ b/input/lsr/line-arrows.ly @@ -15,6 +15,7 @@ texto y de línea (como el Glissando). doctitle = "Line arrows" } % begin verbatim + \relative c'' { \override TextSpanner #'bound-padding = #1.0 \override TextSpanner #'style = #'line diff --git a/input/lsr/lyrics-alignment.ly b/input/lsr/lyrics-alignment.ly index 547fb79221..3f082f0951 100644 --- a/input/lsr/lyrics-alignment.ly +++ b/input/lsr/lyrics-alignment.ly @@ -25,6 +25,7 @@ well. " doctitle = "Lyrics alignment" } % begin verbatim + \layout { ragged-right = ##f } \relative c'' { c1 diff --git a/input/lsr/makam-example.ly b/input/lsr/makam-example.ly index ae6c2ba4cc..deba9ce2ff 100644 --- a/input/lsr/makam-example.ly +++ b/input/lsr/makam-example.ly @@ -22,6 +22,7 @@ for details of pitch names and alterations." doctitle = "Makam example" } % begin verbatim + % Initialize makam settings \include "makam.ly" diff --git a/input/lsr/making-an-object-invisible-with-the-transparent-property.ly b/input/lsr/making-an-object-invisible-with-the-transparent-property.ly index aba26e3a0b..20e79010eb 100644 --- a/input/lsr/making-an-object-invisible-with-the-transparent-property.ly +++ b/input/lsr/making-an-object-invisible-with-the-transparent-property.ly @@ -18,6 +18,7 @@ flag from interfering with tie positioning, the stem is extended. doctitle = "Making an object invisible with the transparent property" } % begin verbatim + \relative c'' { \time 2/4 << { diff --git a/input/lsr/making-some-staff-lines-thicker-than-the-others.ly b/input/lsr/making-some-staff-lines-thicker-than-the-others.ly index 6fde025910..3174136a78 100644 --- a/input/lsr/making-some-staff-lines-thicker-than-the-others.ly +++ b/input/lsr/making-some-staff-lines-thicker-than-the-others.ly @@ -25,6 +25,7 @@ emphasized, using the @code{line-positions} property of the " 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' diff --git a/input/lsr/manually-break-figured-bass-extenders-for-only-some-numbers.ly b/input/lsr/manually-break-figured-bass-extenders-for-only-some-numbers.ly index b40acedde2..91960be485 100644 --- a/input/lsr/manually-break-figured-bass-extenders-for-only-some-numbers.ly +++ b/input/lsr/manually-break-figured-bass-extenders-for-only-some-numbers.ly @@ -15,6 +15,7 @@ extender attributed to that number right before the number. " doctitle = "Manually break figured bass extenders for only some numbers" } % begin verbatim + bassfigures = \figuremode { \set useBassFigureExtenders = ##t <6 4>4 <6 4\!> <6 4\!> <6 4\!> | <6\! 4\!> <6 4> <6 4\!> <6 4> diff --git a/input/lsr/manually-controlling-beam-positions.ly b/input/lsr/manually-controlling-beam-positions.ly index 6e1361e86e..39b1c2d7b7 100644 --- a/input/lsr/manually-controlling-beam-positions.ly +++ b/input/lsr/manually-controlling-beam-positions.ly @@ -15,6 +15,7 @@ Beam positions may be controlled manually, by overriding the " doctitle = "Manually controlling beam positions" } % begin verbatim + \relative c' { \time 2/4 % from upper staffline (position 4) to center (position 0) diff --git a/input/lsr/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly b/input/lsr/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly index 8002e477d6..282b1d7259 100644 --- a/input/lsr/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly +++ b/input/lsr/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly @@ -15,6 +15,7 @@ invisible stems of rests. doctitle = "Marking notes of spoken parts with a cross on the stem" } % begin verbatim + speakOn = { \override Stem #'stencil = #(lambda (grob) (ly:stencil-combine-at-edge diff --git a/input/lsr/markup-lines.ly b/input/lsr/markup-lines.ly index fce05a0e55..640e561126 100644 --- a/input/lsr/markup-lines.ly +++ b/input/lsr/markup-lines.ly @@ -9,6 +9,7 @@ doctitle = "Markup lines" } % begin verbatim + #(set-default-paper-size "a6") #(define-markup-list-command (paragraph layout props args) (markup-list?) diff --git a/input/lsr/mensurstriche-layout-bar-lines-between-the-staves.ly b/input/lsr/mensurstriche-layout-bar-lines-between-the-staves.ly index 8d528a8011..31e22ad302 100644 --- a/input/lsr/mensurstriche-layout-bar-lines-between-the-staves.ly +++ b/input/lsr/mensurstriche-layout-bar-lines-between-the-staves.ly @@ -25,6 +25,7 @@ the @code{transparent} property. " doctitle = "Mensurstriche layout (bar lines between the staves)" } % begin verbatim + global = { \override Staff.BarLine #'transparent = ##t s1 s diff --git a/input/lsr/merging-multi-measure-rests-in-a-polyphonic-part.ly b/input/lsr/merging-multi-measure-rests-in-a-polyphonic-part.ly index c3ee0fcf95..c182a2905b 100644 --- a/input/lsr/merging-multi-measure-rests-in-a-polyphonic-part.ly +++ b/input/lsr/merging-multi-measure-rests-in-a-polyphonic-part.ly @@ -13,6 +13,7 @@ can be printed on the same staff line, using the following setting. " doctitle = "Merging multi-measure rests in a polyphonic part" } % begin verbatim + normalPos= \revert MultiMeasureRest #'staff-position { diff --git a/input/lsr/modern-tab-text-clef.ly b/input/lsr/modern-tab-text-clef.ly index d9193bafb4..ec6910e2b8 100644 --- a/input/lsr/modern-tab-text-clef.ly +++ b/input/lsr/modern-tab-text-clef.ly @@ -12,6 +12,7 @@ Use a markup text to replace the (TAB) clef glyph with a modern font. doctitle = "Modern TAB text clef" } % begin verbatim + TAB = \markup { \raise #1.5 \sans diff --git a/input/lsr/modifying-default-values-for-articulation-shorthand-notation.ly b/input/lsr/modifying-default-values-for-articulation-shorthand-notation.ly index 79fa2c7878..7f9ea84352 100644 --- a/input/lsr/modifying-default-values-for-articulation-shorthand-notation.ly +++ b/input/lsr/modifying-default-values-for-articulation-shorthand-notation.ly @@ -32,6 +32,7 @@ the default + symbol, assign the value @code{trill} to the variable " doctitle = "Modifying default values for articulation shorthand notation" } % begin verbatim + \relative c'' { c1-+ } dashPlus = "trill" \relative c'' { c1-+ } diff --git a/input/lsr/modifying-tuplet-bracket-length.ly b/input/lsr/modifying-tuplet-bracket-length.ly index f62720a9b2..c86e2d7971 100644 --- a/input/lsr/modifying-tuplet-bracket-length.ly +++ b/input/lsr/modifying-tuplet-bracket-length.ly @@ -18,6 +18,7 @@ modify what material they cover. " doctitle = "Modifying tuplet bracket length" } % begin verbatim + \new RhythmicStaff { % Set tuplets to be extendable... \set tupletFullLength = ##t diff --git a/input/lsr/multi--measure-rest-markup.ly b/input/lsr/multi--measure-rest-markup.ly index 1a6b2d3261..750ef9f9db 100644 --- a/input/lsr/multi--measure-rest-markup.ly +++ b/input/lsr/multi--measure-rest-markup.ly @@ -35,6 +35,7 @@ centered." doctitle = "Multi-measure rest markup" } % begin verbatim + \relative c' { \compressFullBarRests \textLengthOn diff --git a/input/lsr/nesting-staves.ly b/input/lsr/nesting-staves.ly index eb665925d3..242d096738 100644 --- a/input/lsr/nesting-staves.ly +++ b/input/lsr/nesting-staves.ly @@ -37,6 +37,7 @@ staves. The possibilities are @code{SystemStartBar}, " doctitle = "Nesting staves" } % begin verbatim + \new StaffGroup \relative c'' << \set StaffGroup.systemStartDelimiterHierarchy diff --git a/input/lsr/non-traditional-key-signatures.ly b/input/lsr/non-traditional-key-signatures.ly index c176e316a8..bed107b2dc 100644 --- a/input/lsr/non-traditional-key-signatures.ly +++ b/input/lsr/non-traditional-key-signatures.ly @@ -77,9 +77,11 @@ whole-tone scale: " doctitle = "Non-traditional key signatures" } % begin verbatim + \relative c' { - \set Staff.keySignature = #`(((0 . 3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT)) + \set Staff.keySignature = #`(((0 . 3) . ,SHARP) + ((0 . 5) . ,FLAT) + ((0 . 6) . ,FLAT)) c4 d e fis aes4 bes c2 } - diff --git a/input/lsr/ottava-text.ly b/input/lsr/ottava-text.ly index 75a836c2e7..3021258433 100644 --- a/input/lsr/ottava-text.ly +++ b/input/lsr/ottava-text.ly @@ -37,6 +37,7 @@ and @code{middleCPosition}. To override the text of the bracket, set " doctitle = "Ottava text" } % begin verbatim + { \ottava #1 \set Staff.ottavation = #"8" diff --git a/input/lsr/outputting-the-version-number.ly b/input/lsr/outputting-the-version-number.ly index c6976e4367..0a8b1af650 100644 --- a/input/lsr/outputting-the-version-number.ly +++ b/input/lsr/outputting-the-version-number.ly @@ -12,6 +12,7 @@ a score, or in a document generated with @code{lilypond-book}. doctitle = "Outputting the version number" } % begin verbatim + \score { \new Lyrics { \override Score.RehearsalMark #'self-alignment-X = #LEFT diff --git a/input/lsr/page-label.ly b/input/lsr/page-label.ly index 205281c59e..341c036c21 100644 --- a/input/lsr/page-label.ly +++ b/input/lsr/page-label.ly @@ -8,6 +8,7 @@ and referred to in markups." doctitle = "Page label" } % begin verbatim + #(set-default-paper-size "a6") #(define-markup-command (toc-line layout props label text) diff --git a/input/lsr/percent-repeat-counter.ly b/input/lsr/percent-repeat-counter.ly index 70e80f055c..b74e792e39 100644 --- a/input/lsr/percent-repeat-counter.ly +++ b/input/lsr/percent-repeat-counter.ly @@ -20,6 +20,7 @@ convenient property is switched, as shown in this example: " doctitle = "Percent repeat counter" } % begin verbatim + \relative c'' { \set countPercentRepeats = ##t \repeat percent 4 { c1 } diff --git a/input/lsr/percussion-beaters.ly b/input/lsr/percussion-beaters.ly index 281e2f2210..133e2e79ff 100644 --- a/input/lsr/percussion-beaters.ly +++ b/input/lsr/percussion-beaters.ly @@ -14,6 +14,7 @@ demonstrated in this example. " doctitle = "Percussion beaters" } % begin verbatim + stick = \markup { \with-dimensions #'(0 . 5) #'(0 . 5) \postscript #" diff --git a/input/lsr/permitting-line-breaks-within-beamed-tuplets.ly b/input/lsr/permitting-line-breaks-within-beamed-tuplets.ly index 82bf018320..a7a71dbc91 100644 --- a/input/lsr/permitting-line-breaks-within-beamed-tuplets.ly +++ b/input/lsr/permitting-line-breaks-within-beamed-tuplets.ly @@ -31,6 +31,7 @@ tuplets have to be beamed manually. " doctitle = "Permitting line breaks within beamed tuplets" } % begin verbatim + \layout { \context { \Voice diff --git a/input/lsr/piano-template-simple.ly b/input/lsr/piano-template-simple.ly index 68ee14ec34..7a54cf916c 100644 --- a/input/lsr/piano-template-simple.ly +++ b/input/lsr/piano-template-simple.ly @@ -24,6 +24,7 @@ Here is a simple piano staff with some notes. " doctitle = "Piano template (simple)" } % begin verbatim + upper = \relative c'' { \clef treble \key c \major diff --git a/input/lsr/piano-template-with-centered-dynamics.ly b/input/lsr/piano-template-with-centered-dynamics.ly index a3aed5abd6..7356ba0ef3 100644 --- a/input/lsr/piano-template-with-centered-dynamics.ly +++ b/input/lsr/piano-template-with-centered-dynamics.ly @@ -28,6 +28,7 @@ right here, you don't have to do the tweaking yourself. doctitle = "Piano template with centered dynamics" } % begin verbatim + global = { \key c \major \time 4/4 diff --git a/input/lsr/piano-template-with-centered-lyrics.ly b/input/lsr/piano-template-with-centered-lyrics.ly index 3c2b86c3db..c81e4bb7e4 100644 --- a/input/lsr/piano-template-with-centered-lyrics.ly +++ b/input/lsr/piano-template-with-centered-lyrics.ly @@ -25,6 +25,7 @@ centered between the staves of a piano staff. " doctitle = "Piano template with centered lyrics" } % begin verbatim + upper = \relative c'' { \clef treble \key c \major diff --git a/input/lsr/piano-template-with-melody-and-lyrics.ly b/input/lsr/piano-template-with-melody-and-lyrics.ly index ce5f580425..6f605ecf43 100644 --- a/input/lsr/piano-template-with-melody-and-lyrics.ly +++ b/input/lsr/piano-template-with-melody-and-lyrics.ly @@ -24,6 +24,7 @@ with piano accompaniment underneath. " doctitle = "Piano template with melody and lyrics" } % begin verbatim + melody = \relative c'' { \clef treble \key c \major diff --git a/input/lsr/placement-of-right-hand-fingerings.ly b/input/lsr/placement-of-right-hand-fingerings.ly index 9435890433..8a21d80992 100644 --- a/input/lsr/placement-of-right-hand-fingerings.ly +++ b/input/lsr/placement-of-right-hand-fingerings.ly @@ -21,6 +21,7 @@ in the following example. " doctitle = "Placement of right-hand fingerings" } % begin verbatim + #(define RH rightHandFinger) \relative c { diff --git a/input/lsr/polyphony-in-tablature.ly b/input/lsr/polyphony-in-tablature.ly index 7cf6726fbe..44937d19b1 100644 --- a/input/lsr/polyphony-in-tablature.ly +++ b/input/lsr/polyphony-in-tablature.ly @@ -19,6 +19,7 @@ staff. " doctitle = "Polyphony in tablature" } % begin verbatim + upper = \relative c' { \time 12/8 \key e \minor diff --git a/input/lsr/positioning-multi--measure-rests.ly b/input/lsr/positioning-multi--measure-rests.ly index 9639726e41..67d4af11e2 100644 --- a/input/lsr/positioning-multi--measure-rests.ly +++ b/input/lsr/positioning-multi--measure-rests.ly @@ -25,6 +25,7 @@ of multi-measure rests can be controlled as follows: doctitle = "Positioning multi-measure rests" } % begin verbatim + \relative c'' { % Multi-measure rests by default are set under the second line R1 diff --git a/input/lsr/positioning-segno-and-coda-with-line-break.ly b/input/lsr/positioning-segno-and-coda-with-line-break.ly index a160f5a7d1..4009c73305 100644 --- a/input/lsr/positioning-segno-and-coda-with-line-break.ly +++ b/input/lsr/positioning-segno-and-coda-with-line-break.ly @@ -15,6 +15,7 @@ line. " doctitle = "Positioning segno and coda (with line break)" } % begin verbatim + { \clef treble \key g \major diff --git a/input/lsr/preventing-extra-naturals-from-being-automatically-added.ly b/input/lsr/preventing-extra-naturals-from-being-automatically-added.ly index ae927a9d29..e08b9dea8f 100644 --- a/input/lsr/preventing-extra-naturals-from-being-automatically-added.ly +++ b/input/lsr/preventing-extra-naturals-from-being-automatically-added.ly @@ -42,6 +42,7 @@ note needs to be canceled. To change this behavior, set the " doctitle = "Preventing extra naturals from being automatically added" } % begin verbatim + \relative c'' { aeses4 aes ais a \set Staff.extraNatural = ##f diff --git a/input/lsr/preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly b/input/lsr/preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly index 71a7e52146..0746c58087 100644 --- a/input/lsr/preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly +++ b/input/lsr/preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly @@ -32,6 +32,7 @@ property in the @code{Staff} context. " doctitle = "Preventing natural signs from being printed when the key signature changes" } % begin verbatim + \relative c' { \key d \major a4 b cis d diff --git a/input/lsr/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly b/input/lsr/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly index 405fbb7ba3..9bf59b9b3c 100644 --- a/input/lsr/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly +++ b/input/lsr/printing-a-repeat-sign-at-the-beginning-of-a-piece.ly @@ -19,6 +19,7 @@ overriding the relevant property: " doctitle = "Printing a repeat sign at the beginning of a piece" } % begin verbatim + \relative c'' { \once \override Score.BreakAlignment #'break-align-orders = #(make-vector 3 '(instrument-name diff --git a/input/lsr/printing-hairpins-using-al-niente-notation.ly b/input/lsr/printing-hairpins-using-al-niente-notation.ly index 702d8808bd..feaa06846f 100644 --- a/input/lsr/printing-hairpins-using-al-niente-notation.ly +++ b/input/lsr/printing-hairpins-using-al-niente-notation.ly @@ -21,6 +21,7 @@ setting the @code{circled-tip} property of the @code{Hairpin} object to " doctitle = "Printing hairpins using al niente notation" } % begin verbatim + \relative c'' { \override Hairpin #'circled-tip = ##t c2\< c\! diff --git a/input/lsr/printing-marks-at-the-end-of-a-line-or-a-score.ly b/input/lsr/printing-marks-at-the-end-of-a-line-or-a-score.ly index eb82652a6c..0e5e0caba7 100644 --- a/input/lsr/printing-marks-at-the-end-of-a-line-or-a-score.ly +++ b/input/lsr/printing-marks-at-the-end-of-a-line-or-a-score.ly @@ -30,6 +30,7 @@ final bar line, as demonstrated on the second line of this example. " 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 diff --git a/input/lsr/printing-marks-on-every-staff.ly b/input/lsr/printing-marks-on-every-staff.ly index ef3b6d354c..31b0a2a623 100644 --- a/input/lsr/printing-marks-on-every-staff.ly +++ b/input/lsr/printing-marks-on-every-staff.ly @@ -20,6 +20,7 @@ they may also be printed on every staff. " doctitle = "Printing marks on every staff" } % begin verbatim + { \new Score \with { \remove "Mark_engraver" diff --git a/input/lsr/printing-metronome-and-rehearsal-marks-below-the-staff.ly b/input/lsr/printing-metronome-and-rehearsal-marks-below-the-staff.ly index 340733cc7a..cee91a1161 100644 --- a/input/lsr/printing-metronome-and-rehearsal-marks-below-the-staff.ly +++ b/input/lsr/printing-metronome-and-rehearsal-marks-below-the-staff.ly @@ -24,6 +24,7 @@ of @code{MetronomeMark} or @code{RehearsalMark} appropriately. " doctitle = "Printing metronome and rehearsal marks below the staff" } % begin verbatim + \layout { ragged-right = ##f } { diff --git a/input/lsr/proportional-strict-notespacing.ly b/input/lsr/proportional-strict-notespacing.ly index a85468eb19..a55daee153 100644 --- a/input/lsr/proportional-strict-notespacing.ly +++ b/input/lsr/proportional-strict-notespacing.ly @@ -13,6 +13,7 @@ the note that occurs at the same time. This may cause collisions. " doctitle = "Proportional strict notespacing" } % begin verbatim + \paper { ragged-right = ##t } diff --git a/input/lsr/quoting-another-voice-with-transposition.ly b/input/lsr/quoting-another-voice-with-transposition.ly index af8f5be591..93dac3355a 100644 --- a/input/lsr/quoting-another-voice-with-transposition.ly +++ b/input/lsr/quoting-another-voice-with-transposition.ly @@ -23,6 +23,7 @@ transposed using @code{\\transpose}. In this case, all the pitches doctitle = "Quoting another voice with transposition" } % begin verbatim + \addQuote clarinet { \transposition bes \repeat unfold 8 { d'16 d' d'8 } diff --git a/input/lsr/quoting-another-voice.ly b/input/lsr/quoting-another-voice.ly index ce941d2c57..7118af919b 100644 --- a/input/lsr/quoting-another-voice.ly +++ b/input/lsr/quoting-another-voice.ly @@ -23,6 +23,7 @@ since @code{rest-event} is not in @code{quotedEventTypes}." doctitle = "Quoting another voice" } % begin verbatim + quoteMe = \relative c' { fis4 r16 a8.-> b4\ff c } diff --git a/input/lsr/removing-the-first-empty-line.ly b/input/lsr/removing-the-first-empty-line.ly index 8525e39762..9fa697aa33 100644 --- a/input/lsr/removing-the-first-empty-line.ly +++ b/input/lsr/removing-the-first-empty-line.ly @@ -36,6 +36,7 @@ written. " doctitle = "Removing the first empty line" } % begin verbatim + \layout { \context { \RemoveEmptyStaffContext diff --git a/input/lsr/rest-styles.ly b/input/lsr/rest-styles.ly index 1b2bc75637..f38fc04ca2 100644 --- a/input/lsr/rest-styles.ly +++ b/input/lsr/rest-styles.ly @@ -24,6 +24,7 @@ Rests may be used in various styles. " doctitle = "Rest styles" } % begin verbatim + \layout { indent = 0.0 \context { @@ -34,22 +35,22 @@ Rests may be used in various styles. \relative c { \set Score.timing = ##f - \override Staff.Rest #'style = #'mensural + \override Staff.Rest #'style = #'mensural r\maxima^\markup \typewriter { mensural } - r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 s128 s128 \bar "" - \override Staff.Rest #'style = #'neomensural + \override Staff.Rest #'style = #'neomensural r\maxima^\markup \typewriter { neomensural } - r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 s128 s128 \bar "" - \override Staff.Rest #'style = #'classical + \override Staff.Rest #'style = #'classical r\maxima^\markup \typewriter { classical } - r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 s128 \bar "" \override Staff.Rest #'style = #'default r\maxima^\markup \typewriter { default } - r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 s128 } diff --git a/input/lsr/reverting-default-beam-endings.ly b/input/lsr/reverting-default-beam-endings.ly index 0dae627c3d..e2f289e13b 100644 --- a/input/lsr/reverting-default-beam-endings.ly +++ b/input/lsr/reverting-default-beam-endings.ly @@ -5,6 +5,15 @@ \header { lsrtags = "rhythms" + texidoces = " +Para tipografiar las barras agrupadas en la forma @code{3-4-3-2} +en 12/8, en primer lugar tenemos que sobreescribir los finales de +barra predeterminados en 12/8, y después preparar los finales de +barra nuevos: + +" + doctitlees = "Alteración de los finales de barra predeterminados" + texidoc = " To typeset beams grouped @code{3-4-3-2} in 12/8 it is necessary first to override the default beam endings in 12/8, and then to set up the @@ -13,6 +22,7 @@ new beaming endings: " doctitle = "Reverting default beam endings" } % begin verbatim + \relative c'' { \time 12/8 diff --git a/input/lsr/rhythmic-slashes.ly b/input/lsr/rhythmic-slashes.ly index aceea041bd..e1b33e73c2 100644 --- a/input/lsr/rhythmic-slashes.ly +++ b/input/lsr/rhythmic-slashes.ly @@ -21,6 +21,7 @@ the appropriate duration). " doctitle = "Rhythmic slashes" } % begin verbatim + % Macro to print single slash rs = { \once \override Rest #'stencil = #ly:percent-repeat-item-interface::beat-slash diff --git a/input/lsr/rhythms.snippet-list b/input/lsr/rhythms.snippet-list index 7e3757db6d..40a2222f25 100644 --- a/input/lsr/rhythms.snippet-list +++ b/input/lsr/rhythms.snippet-list @@ -1,6 +1,7 @@ changing-beam-knee-gap.ly reverting-default-beam-endings.ly adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly +changing-the-time-signature-without-affecting-the-beaming.ly printing-music-with-different-time-signatures.ly beams-across-line-breaks.ly manually-controlling-beam-positions.ly @@ -22,7 +23,7 @@ modifying-tuplet-bracket-length.ly printing-metronome-and-rehearsal-marks-below-the-staff.ly making-an-object-invisible-with-the-transparent-property.ly permitting-line-breaks-within-beamed-tuplets.ly -flat-flags-and-beam-nibs.ly +merging-multi-measure-rests-in-a-polyphonic-part.ly automatic-beam-subdivisions.ly beam-grouping-in-7-8-time.ly changing-the-tuplet-number.ly @@ -33,8 +34,9 @@ changing-form-of-multi--measure-rests.ly guitar-strum-rhythms.ly rhythmic-slashes.ly automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly +using-beatlength-and-beatgrouping.ly three-sided-box.ly -merging-multi-measure-rests-in-a-polyphonic-part.ly +flat-flags-and-beam-nibs.ly specifying-context-with-beatgrouping.ly skips-in-lyric-mode.ly engraving-ties-manually.ly diff --git a/input/lsr/setting-hairpin-behavior-at-bar-lines.ly b/input/lsr/setting-hairpin-behavior-at-bar-lines.ly index 5e125b0819..c4201f79f6 100644 --- a/input/lsr/setting-hairpin-behavior-at-bar-lines.ly +++ b/input/lsr/setting-hairpin-behavior-at-bar-lines.ly @@ -19,6 +19,7 @@ can be controlled by overriding the @code{'to-barline} property. doctitle = "Setting hairpin behavior at bar lines" } % begin verbatim + \relative c'' { e4\< e2. e1\! diff --git a/input/lsr/setting-the-minimum-length-of-hairpins.ly b/input/lsr/setting-the-minimum-length-of-hairpins.ly index 49f852dd31..e9e7749e0a 100644 --- a/input/lsr/setting-the-minimum-length-of-hairpins.ly +++ b/input/lsr/setting-the-minimum-length-of-hairpins.ly @@ -20,6 +20,7 @@ If hairpins are too short, they can be lengthened by modifying the " doctitle = "Setting the minimum length of hairpins" } % begin verbatim + \relative c'' { c4\< c\! d\> e\! \override Hairpin #'minimum-length = #5 diff --git a/input/lsr/shortening-volta-brackets.ly b/input/lsr/shortening-volta-brackets.ly index a871420612..1b3dd2b6ba 100644 --- a/input/lsr/shortening-volta-brackets.ly +++ b/input/lsr/shortening-volta-brackets.ly @@ -24,6 +24,7 @@ lasts one measure, which is a duration of 3/4. " doctitle = "Shortening volta brackets" } % begin verbatim + \relative c'' { \time 3/4 c4 c c diff --git a/input/lsr/showing-chords-at-changes.ly b/input/lsr/showing-chords-at-changes.ly index 3c6af69e27..89102ddc72 100644 --- a/input/lsr/showing-chords-at-changes.ly +++ b/input/lsr/showing-chords-at-changes.ly @@ -19,6 +19,7 @@ chord changes. " doctitle = "Showing chords at changes" } % begin verbatim + harmonies = \chordmode { c1:m c:m \break c:m c:m d } diff --git a/input/lsr/simple-lead-sheet.ly b/input/lsr/simple-lead-sheet.ly index ac1814cf54..10d4d007e8 100644 --- a/input/lsr/simple-lead-sheet.ly +++ b/input/lsr/simple-lead-sheet.ly @@ -18,6 +18,7 @@ When put together, chord names, a melody, and lyrics form a lead sheet: " doctitle = "Simple lead sheet" } % begin verbatim + << \chords { c2 g:sus4 f e } \relative c'' { diff --git a/input/lsr/single-staff-template-with-notes,-lyrics,-and-chords.ly b/input/lsr/single-staff-template-with-notes,-lyrics,-and-chords.ly index 9a0a2c38e9..755cd50b41 100644 --- a/input/lsr/single-staff-template-with-notes,-lyrics,-and-chords.ly +++ b/input/lsr/single-staff-template-with-notes,-lyrics,-and-chords.ly @@ -24,6 +24,7 @@ chords. " doctitle = "Single staff template with notes, lyrics, and chords" } % begin verbatim + melody = \relative c' { \clef treble \key c \major diff --git a/input/lsr/single-staff-template-with-notes,-lyrics,-chords-and-frets.ly b/input/lsr/single-staff-template-with-notes,-lyrics,-chords-and-frets.ly index d800ec1d4c..da0bf54513 100644 --- a/input/lsr/single-staff-template-with-notes,-lyrics,-chords-and-frets.ly +++ b/input/lsr/single-staff-template-with-notes,-lyrics,-chords-and-frets.ly @@ -20,6 +20,7 @@ fret diagrams. " doctitle = "Single staff template with notes, lyrics, chords and frets" } % begin verbatim + % Define the fret diagrams to be used cFretDiagram = \markup { \fret-diagram #"6-x;5-3-3;4-2-2;3-o;2-1-1;1-o;" diff --git a/input/lsr/single-staff-template-with-notes-and-chords.ly b/input/lsr/single-staff-template-with-notes-and-chords.ly index 23f394ff95..811aefa133 100644 --- a/input/lsr/single-staff-template-with-notes-and-chords.ly +++ b/input/lsr/single-staff-template-with-notes-and-chords.ly @@ -25,6 +25,7 @@ Want to prepare a lead sheet with a melody and chords? Look no further! " doctitle = "Single staff template with notes and chords" } % begin verbatim + melody = \relative c' { \clef treble \key c \major diff --git a/input/lsr/single-staff-template-with-notes-and-lyrics.ly b/input/lsr/single-staff-template-with-notes-and-lyrics.ly index a175d22be3..9673037b7e 100644 --- a/input/lsr/single-staff-template-with-notes-and-lyrics.ly +++ b/input/lsr/single-staff-template-with-notes-and-lyrics.ly @@ -34,6 +34,7 @@ beaming, change or comment out the relevant line. " doctitle = "Single staff template with notes and lyrics" } % begin verbatim + melody = \relative c' { \clef treble \key c \major diff --git a/input/lsr/single-staff-template-with-only-notes.ly b/input/lsr/single-staff-template-with-only-notes.ly index 933e9277f0..5c0b4a1c40 100644 --- a/input/lsr/single-staff-template-with-only-notes.ly +++ b/input/lsr/single-staff-template-with-only-notes.ly @@ -28,6 +28,7 @@ add notes, and you're finished! " doctitle = "Single staff template with only notes" } % begin verbatim + melody = \relative c' { \clef treble \key c \major diff --git a/input/lsr/skips-in-lyric-mode-2.ly b/input/lsr/skips-in-lyric-mode-2.ly index ab23553684..b5bb909eee 100644 --- a/input/lsr/skips-in-lyric-mode-2.ly +++ b/input/lsr/skips-in-lyric-mode-2.ly @@ -13,6 +13,7 @@ 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 } diff --git a/input/lsr/skips-in-lyric-mode.ly b/input/lsr/skips-in-lyric-mode.ly index 1cb090557d..c1f05b2e2e 100644 --- a/input/lsr/skips-in-lyric-mode.ly +++ b/input/lsr/skips-in-lyric-mode.ly @@ -13,6 +13,7 @@ mode. In other situations, for example, when entering lyrics, using the " doctitle = "Skips in lyric mode" } % begin verbatim + << \relative { a'1 a } \new Lyrics \lyricmode { \skip 1 bla1 } diff --git a/input/lsr/snap-pizzicato-markup-bartok-pizzicato.ly b/input/lsr/snap-pizzicato-markup-bartok-pizzicato.ly index 03d02a21ad..f6f8ab9556 100644 --- a/input/lsr/snap-pizzicato-markup-bartok-pizzicato.ly +++ b/input/lsr/snap-pizzicato-markup-bartok-pizzicato.ly @@ -40,9 +40,6 @@ directly into the lilypond file. doctitle = "Snap-pizzicato markup (\"Bartok pizzicato\")" } % begin verbatim -% Definition of the snappizz markup to print snap-pizzicato articulations. -% These are also known as "Bartok pizzicato" and are denotes by a circle with a -% vertical line from the center of the circle upwards: #(define-markup-command (snappizz layout props) () (interpret-markup layout props (markup #:stencil @@ -51,23 +48,18 @@ directly into the lilypond file. (make-circle-stencil 0.7 0.1 #f) (ly:make-stencil (list 'draw-line 0.1 0 0.1 0 1) - '(-0.1 . 0.1) '(0.1 . 1) - ) - ) - 0.7 X - ) - ) - ) -) -snappizzicato = \markup \snappizz + '(-0.1 . 0.1) '(0.1 . 1))) + 0.7 X)))) + +snapPizzicato = \markup \snappizz % now it can be used as \snappizzicato after the note/chord -% Note, that a direction (-, ^ or _) is REQUIRED! -\relative c'{ - c4^\snappizzicato -% < c e g>\snappizzicato % This does NOT work - < c' e g>-\snappizzicato - < c' e g>^\snappizzicato - < c, e g>_\snappizzicato +% Note that a direction (-, ^ or _) is required. +\relative c' { + c4^\snapPizzicato + % This does NOT work: + %\snapPizzicato + -\snapPizzicato + ^\snapPizzicato + _\snapPizzicato } - diff --git a/input/lsr/specifying-context-with-beatgrouping.ly b/input/lsr/specifying-context-with-beatgrouping.ly index 31f956aabe..e130e37e5f 100644 --- a/input/lsr/specifying-context-with-beatgrouping.ly +++ b/input/lsr/specifying-context-with-beatgrouping.ly @@ -12,6 +12,7 @@ been set in higher-level contexts can be overridden: doctitle = "Specifying context with beatGrouping" } % begin verbatim + \score { \new Staff << \time 7/8 diff --git a/input/lsr/stem-and-beam-behavior-in-tablature.ly b/input/lsr/stem-and-beam-behavior-in-tablature.ly index cd46ebe7bf..566d029bf2 100644 --- a/input/lsr/stem-and-beam-behavior-in-tablature.ly +++ b/input/lsr/stem-and-beam-behavior-in-tablature.ly @@ -20,6 +20,7 @@ example. " doctitle = "Stem and beam behavior in tablature" } % begin verbatim + \new TabStaff { \relative c { g16 b d g b d g b diff --git a/input/lsr/stemlets.ly b/input/lsr/stemlets.ly index a3dc2cddd8..9acab87e7b 100644 --- a/input/lsr/stemlets.ly +++ b/input/lsr/stemlets.ly @@ -25,6 +25,7 @@ the different notations. " doctitle = "Stemlets" } % begin verbatim + \paper { ragged-right = ##f } { diff --git a/input/lsr/string-quartet-template-simple.ly b/input/lsr/string-quartet-template-simple.ly index 8244d10fe8..66599ea001 100644 --- a/input/lsr/string-quartet-template-simple.ly +++ b/input/lsr/string-quartet-template-simple.ly @@ -25,6 +25,7 @@ This template demonstrates a simple string quartet. It also uses a " doctitle = "String quartet template (simple)" } % begin verbatim + global= { \time 4/4 \key c \major diff --git a/input/lsr/string-quartet-template-with-separate-parts.ly b/input/lsr/string-quartet-template-with-separate-parts.ly index 0413c7bd9a..055ea176d5 100644 --- a/input/lsr/string-quartet-template-with-separate-parts.ly +++ b/input/lsr/string-quartet-template-with-separate-parts.ly @@ -59,6 +59,7 @@ Do not forget to remove specified comments when using separate files! " doctitle = "String quartet template with separate parts" } % begin verbatim + %%%%% piece.ly %%%%% (This is the global definitions file) diff --git a/input/lsr/sub-dividing-beams.ly b/input/lsr/sub-dividing-beams.ly index 48c267fa9e..83ed556424 100644 --- a/input/lsr/sub-dividing-beams.ly +++ b/input/lsr/sub-dividing-beams.ly @@ -5,6 +5,24 @@ \header { lsrtags = "rhythms" + texidoces = " +Las barras de semicorcheas (o notas más breves) seguidas no se +subdividen de forma predeterminada. Esto es: las tres (o más) +barras se prolongan, sin dividirse, sobre grupos completos de +notas. Este comportamiento se puede modificar para que las barras +se subdividan en subgrupos mediante el establecimiento de la +propiedad @code{subdivideBeams}. Cuando está establecida, las +diversas barras se subdividen a intervalos definidos por el valor +actual de la longitud del pulso @code{beatLength} reduciendo las +barras múltiples a una sola entre los subgrupos. Observe que el +valor predeterminado de @code{beatLength} es de una negra si no +está establecido explícitamente. Se debe establecer al valor de +una fracción que da la duración el subgrupo de barras utilizando +la función @code{make-moment}, como se muestra aquí: + +" + doctitlees = "Subdivisión de las barras de semicorchea" + texidoc = " The beams of consecutive 16th (or shorter) notes are, by default, not sub-divided. That is, the three (or more) beams stretch unbroken over @@ -22,6 +40,7 @@ using the @code{make-moment} function, as shown here: " doctitle = "Sub-dividing beams" } % begin verbatim + \relative c'' { c32[ c c c c c c c] \set subdivideBeams = ##t diff --git a/input/lsr/suppressing-warnings-for-clashing-note-columns.ly b/input/lsr/suppressing-warnings-for-clashing-note-columns.ly index abdb70e1db..7bbe4d5bff 100644 --- a/input/lsr/suppressing-warnings-for-clashing-note-columns.ly +++ b/input/lsr/suppressing-warnings-for-clashing-note-columns.ly @@ -15,6 +15,7 @@ to @code{#t}. doctitle = "Suppressing warnings for clashing note columns" } % begin verbatim + ignore = \override NoteColumn #'ignore-collision = ##t \relative c' { diff --git a/input/lsr/table-of-contents.ly b/input/lsr/table-of-contents.ly index 73ac4810e0..92e37b27fa 100644 --- a/input/lsr/table-of-contents.ly +++ b/input/lsr/table-of-contents.ly @@ -9,6 +9,7 @@ added with the @code{\\tocItem} command." doctitle = "Table of contents" } % begin verbatim + #(set-default-paper-size "a6") \book { diff --git a/input/lsr/three-sided-box.ly b/input/lsr/three-sided-box.ly index 14f1665b6a..4e1ff906ff 100644 --- a/input/lsr/three-sided-box.ly +++ b/input/lsr/three-sided-box.ly @@ -12,6 +12,7 @@ around some text (or other markup). " 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 diff --git a/input/lsr/tick-bar-lines.ly b/input/lsr/tick-bar-lines.ly index 92006f3f47..d2ba1be7e4 100644 --- a/input/lsr/tick-bar-lines.ly +++ b/input/lsr/tick-bar-lines.ly @@ -16,6 +16,7 @@ respectively, the tick size and its vertical placement. " doctitle = "Tick bar lines" } % begin verbatim + { % Use 'bar-size to control the height of the tick, % and 'extra-offset to determine its position. diff --git a/input/lsr/time-signature-in-parentheses.ly b/input/lsr/time-signature-in-parentheses.ly index b6daa6341e..50f69e0898 100644 --- a/input/lsr/time-signature-in-parentheses.ly +++ b/input/lsr/time-signature-in-parentheses.ly @@ -11,6 +11,7 @@ The time signature can be enclosed within parentheses. " doctitle = "Time signature in parentheses" } % begin verbatim + \relative c'' { \override Staff.TimeSignature #'stencil = #(lambda (grob) (bracketify-stencil (ly:time-signature::print grob) Y 0.1 0.2 0.1)) diff --git a/input/lsr/transcription-of-ancient-music-with-incipit.ly b/input/lsr/transcription-of-ancient-music-with-incipit.ly index 596833f472..28a20b82f6 100644 --- a/input/lsr/transcription-of-ancient-music-with-incipit.ly +++ b/input/lsr/transcription-of-ancient-music-with-incipit.ly @@ -26,6 +26,7 @@ main lyrics. " doctitle = "Transcription of Ancient music with incipit" } % begin verbatim + global = { \set Score.skipBars = ##t \key g \major diff --git a/input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly b/input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly index bdd3d50311..514fc69fab 100644 --- a/input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly +++ b/input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly @@ -90,6 +90,7 @@ In this manner, the most natural enharmonic notes are chosen. doctitle = "Transposing music with minimum accidentals" } % begin verbatim + #(define (naturalize-pitch p) (let* ((o (ly:pitch-octave p)) (a (* 4 (ly:pitch-alteration p))) diff --git a/input/lsr/tweaking-clef-properties.ly b/input/lsr/tweaking-clef-properties.ly index 5a56526a16..841d502e25 100644 --- a/input/lsr/tweaking-clef-properties.ly +++ b/input/lsr/tweaking-clef-properties.ly @@ -7,6 +7,40 @@ doctitlees = "Trucaje de las propiedades de clave" texidoces = " +La instrucción @code{\\clef \"treble_8\"} equivale a un ajuste de +@code{clefGlyph}, @code{clefPosition} (que controla la posición +vertical de la clave), @code{middleCPosition} y +@code{clefOctavation}. Se imprime una clave cada vez que se +modifica cualquiera de las propiedades excepto +@code{middleCPosition}. + +Observe que la modificación del glifo, la posición de la clave o +su octavación, no cambian 'per se' la posición de las siguientes +notas del pentagrama: para hacer esto también se debe especificar +la posición del Do central. Los parámetros posicionales están en +relación con la tercera línea del pentagrama, los números +positivos desplazan hacia arriba, contando una unidad por cada +línea y espacio. El valor de @code{clefOctavation} se +establecería normalmente a 7, -7, 15 or -15, pero son válidos +otros valores. + +Cuando se produce un cambio de clave en el salto de línea se +imprime la clave nueva tanto al final de la línea anterior como al +principio de la nueva, de forma predeterminada. Si no se necesita +la clave de advertencia al final de la línea anterior, se puede +quitar estableciendo el valor de la propiedad +@code{explicitClefVisibility} de @code{Staff}, a +@code{end-of-line-invisible}. El comportamiento predeterminado se +puede recuperar con @code{\\unset Staff.explicitClefVisibility}. + +Los siguientes ejemplos muestran las posibilidades cuando se +ajustan estas propiedades manualmente. En la primera línea, los +cambios manuales preservan el posicionamiento relativo estándar de +las claves y las notas, pero no lo hacen en la segunda línea. +" + + doctitlede = "Eigenschaften des Schlüssels optimieren" + texidocde = " Der Befehl @code{\\clef \"treble_8\"} ist gleichbedeutend mit einem expliziten Setzen der Eigenschaften von @code{clefGlyph}, @code{clefPosition} (welche die vertikale Position des Schlüssels bestimmt), @@ -70,6 +104,9 @@ line, they do not. " doctitle = "Tweaking clef properties" } % begin verbatim + +\layout { ragged-right = ##t } + { % The default treble clef c'1 diff --git a/input/lsr/use-square-bracket-at-the-start-of-a-staff-group.ly b/input/lsr/use-square-bracket-at-the-start-of-a-staff-group.ly index 7dd5f022e6..f1bf4dcd18 100644 --- a/input/lsr/use-square-bracket-at-the-start-of-a-staff-group.ly +++ b/input/lsr/use-square-bracket-at-the-start-of-a-staff-group.ly @@ -21,6 +21,7 @@ context. " doctitle = "Use square bracket at the start of a staff group" } % begin verbatim + \score { \new StaffGroup { << \set StaffGroup.systemStartDelimiter = #'SystemStartSquare diff --git a/input/lsr/using-beatlength-and-beatgrouping.ly b/input/lsr/using-beatlength-and-beatgrouping.ly new file mode 100644 index 0000000000..35369decd2 --- /dev/null +++ b/input/lsr/using-beatlength-and-beatgrouping.ly @@ -0,0 +1,54 @@ +%% Do not edit this file; it is auto-generated from input/new +%% This file is in the public domain. +\version "2.11.62" + +\header { + lsrtags = "rhythms" + texidoc = " +The property @code{measureLength} determines where bar lines +should be inserted and, with @code{beatLength} and +@code{beatGrouping}, how automatic beams should be generated +for beam durations and time signatures for which no beam-ending +rules are defined. This example shows several ways of controlling +beaming by setting these properties. The explanations are shown +as comments in the code. +" + doctitle = "Using beatLength and beatGrouping" +} % begin verbatim + + +\relative c'' { + \time 3/4 + % The default in 3/4 time is to beam in three groups + % each of a quarter note length + a16 a a a a a a a a a a a + + \time 12/16 + % No auto-beaming is defined for 12/16 + a16 a a a a a a a a a a a + + \time 3/4 + % Change time signature symbol, but retain underlying 3/4 beaming + \set Score.timeSignatureFraction = #'(12 . 16) + a16 a a a a a a a a a a a + + % The 3/4 time default grouping of (1 1 1) and beatLength of 1/8 + % are not consistent with a measureLength of 3/4, so the beams + % are grouped at beatLength intervals + \set Score.beatLength = #(ly:make-moment 1 8) + a16 a a a a a a a a a a a + + % Specify beams in groups of (3 3 2 3) 1/16th notes + % 3+3+2+3=11, and 11*1/16<>3/4, so beatGrouping does not apply, + % and beams are grouped at beatLength (1/16) intervals + \set Score.beatLength = #(ly:make-moment 1 16) + \set Score.beatGrouping = #'(3 3 2 3) + a16 a a a a a a a a a a a + + % Specify beams in groups of (3 4 2 3) 1/16th notes + % 3+4+2+3=12, and 12*1/16=3/4, so beatGrouping applies + \set Score.beatLength = #(ly:make-moment 1 16) + \set Score.beatGrouping = #'(3 4 2 3) + a16 a a a a a a a a a a a +} + diff --git a/input/lsr/using-double-slurs-for-legato-chords.ly b/input/lsr/using-double-slurs-for-legato-chords.ly index 5dae31cade..02ff49c7eb 100644 --- a/input/lsr/using-double-slurs-for-legato-chords.ly +++ b/input/lsr/using-double-slurs-for-legato-chords.ly @@ -19,6 +19,7 @@ be achieved by setting @code{doubleSlurs}. " doctitle = "Using double slurs for legato chords" } % begin verbatim + \relative c' { \set doubleSlurs = ##t 4( ) diff --git a/input/lsr/using-postscript-to-generate-special-note-head-shapes.ly b/input/lsr/using-postscript-to-generate-special-note-head-shapes.ly index 3240b79bf1..981ed93868 100644 --- a/input/lsr/using-postscript-to-generate-special-note-head-shapes.ly +++ b/input/lsr/using-postscript-to-generate-special-note-head-shapes.ly @@ -13,6 +13,7 @@ This example shows how a parallelogram-shaped note head is generated. " doctitle = "Using PostScript to generate special note head shapes" } % begin verbatim + parallelogram = #(ly:make-stencil (list 'embedded-ps "gsave diff --git a/input/lsr/using-the--tweak-command-to-tweak-individual-grobs.ly b/input/lsr/using-the--tweak-command-to-tweak-individual-grobs.ly index 50d0309985..a9dae9d6f4 100644 --- a/input/lsr/using-the--tweak-command-to-tweak-individual-grobs.ly +++ b/input/lsr/using-the--tweak-command-to-tweak-individual-grobs.ly @@ -10,6 +10,7 @@ are some examples of available tweaks. doctitle = "Using the @code{\\tweak} command to tweak individual grobs" } % begin verbatim + \relative c' { \time 2/4 \set fingeringOrientations = #'(right) diff --git a/input/lsr/using-ties-with-arpeggios.ly b/input/lsr/using-ties-with-arpeggios.ly index 7a73f33fea..e41c86478f 100644 --- a/input/lsr/using-ties-with-arpeggios.ly +++ b/input/lsr/using-ties-with-arpeggios.ly @@ -26,6 +26,7 @@ can also be used for ordinary consecutive notes. " doctitle = "Using ties with arpeggios" } % begin verbatim + \relative c' { \set tieWaitForNote = ##t \grace { c16[ ~ e ~ g] ~ } 2 diff --git a/input/lsr/utf-8.ly b/input/lsr/utf-8.ly index 158dc4ef84..4f94a414bc 100644 --- a/input/lsr/utf-8.ly +++ b/input/lsr/utf-8.ly @@ -30,6 +30,7 @@ render Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese. doctitle = "UTF-8" } % begin verbatim + % end verbatim - this comment is a hack to prevent texinfo.tex % from choking on non-European UTF-8 subsets % Cyrillic font diff --git a/input/lsr/vertically-aligned-dynamics-and-textscripts.ly b/input/lsr/vertically-aligned-dynamics-and-textscripts.ly index cce4f4e550..5048b5808e 100644 --- a/input/lsr/vertically-aligned-dynamics-and-textscripts.ly +++ b/input/lsr/vertically-aligned-dynamics-and-textscripts.ly @@ -31,6 +31,7 @@ The same idea is used to align the text scripts along their baseline. " doctitle = "Vertically aligned dynamics and textscripts" } % begin verbatim + music = \relative c'' { c2\p^\markup { gorgeous } c\f^\markup { fantastic } c4\p c\f\> c c\!\p diff --git a/input/lsr/vertically-aligning-dynamics-across-multiple-notes.ly b/input/lsr/vertically-aligning-dynamics-across-multiple-notes.ly index e241bae910..bb6e16de52 100644 --- a/input/lsr/vertically-aligning-dynamics-across-multiple-notes.ly +++ b/input/lsr/vertically-aligning-dynamics-across-multiple-notes.ly @@ -24,6 +24,7 @@ of the @code{DynamicLineSpanner} object. " doctitle = "Vertically aligning dynamics across multiple notes" } % begin verbatim + \relative c' { \override DynamicLineSpanner #'staff-padding = #4 c2\p f\mf diff --git a/input/lsr/vertically-aligning-ossias-and-lyrics.ly b/input/lsr/vertically-aligning-ossias-and-lyrics.ly index 44f62b0bb5..e7af10a0be 100644 --- a/input/lsr/vertically-aligning-ossias-and-lyrics.ly +++ b/input/lsr/vertically-aligning-ossias-and-lyrics.ly @@ -21,6 +21,7 @@ positioning of lyrics and ossias. " doctitle = "Vertically aligning ossias and lyrics" } % begin verbatim + \paper { ragged-right = ##t } diff --git a/input/lsr/vocal-ensemble-template-with-automatic-piano-reduction.ly b/input/lsr/vocal-ensemble-template-with-automatic-piano-reduction.ly index 105c4c15c4..4846f9e4ed 100644 --- a/input/lsr/vocal-ensemble-template-with-automatic-piano-reduction.ly +++ b/input/lsr/vocal-ensemble-template-with-automatic-piano-reduction.ly @@ -35,6 +35,7 @@ reduction. " doctitle = "Vocal ensemble template with automatic piano reduction" } % begin verbatim + global = { \key c \major \time 4/4 diff --git a/input/lsr/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly b/input/lsr/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly index 5c5e34a88d..b40e6abe5c 100644 --- a/input/lsr/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly +++ b/input/lsr/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly @@ -28,6 +28,7 @@ using @code{alignAboveContext} and @code{alignBelowContext}. " doctitle = "Vocal ensemble template with lyrics aligned below and above the staves" } % begin verbatim + global = { \key c \major \time 4/4 diff --git a/input/lsr/vocal-ensemble-template.ly b/input/lsr/vocal-ensemble-template.ly index 4ff9850886..7ffe9ea1b7 100644 --- a/input/lsr/vocal-ensemble-template.ly +++ b/input/lsr/vocal-ensemble-template.ly @@ -32,6 +32,7 @@ regrouped on only two staves. " doctitle = "Vocal ensemble template" } % begin verbatim + global = { \key c \major \time 4/4 diff --git a/input/lsr/volta-below-chords.ly b/input/lsr/volta-below-chords.ly index 7828530a13..93632595d0 100644 --- a/input/lsr/volta-below-chords.ly +++ b/input/lsr/volta-below-chords.ly @@ -16,6 +16,7 @@ staff, volte can be put under chords." doctitle = "Volta under chords" } % begin verbatim + \score { << \chords { diff --git a/input/lsr/volta-multi-staff.ly b/input/lsr/volta-multi-staff.ly index fb617ffcdc..f6e06a35d4 100644 --- a/input/lsr/volta-multi-staff.ly +++ b/input/lsr/volta-multi-staff.ly @@ -9,6 +9,7 @@ one in a score." doctitle = "Volta multi-staff" } % begin verbatim + voltaMusic = \relative c'' { \repeat volta 2 { c1 diff --git a/input/lsr/volta-text-markup-using-repeatcommands.ly b/input/lsr/volta-text-markup-using-repeatcommands.ly index 066d2ae6e0..f7b07ff183 100644 --- a/input/lsr/volta-text-markup-using-repeatcommands.ly +++ b/input/lsr/volta-text-markup-using-repeatcommands.ly @@ -17,6 +17,7 @@ end-repeat commands can be added as separate list elements:" doctitle = "Volta text markup using @code{repeatCommands}" } % begin verbatim + voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } } \relative c'' { diff --git a/input/new/using-beatlength-and-beatgrouping.ly b/input/new/using-beatlength-and-beatgrouping.ly index 18d7e10554..fe01180448 100644 --- a/input/new/using-beatlength-and-beatgrouping.ly +++ b/input/new/using-beatlength-and-beatgrouping.ly @@ -47,4 +47,5 @@ as comments in the code. \set Score.beatLength = #(ly:make-moment 1 16) \set Score.beatGrouping = #'(3 4 2 3) a16 a a a a a a a a a a a -} \ No newline at end of file +} + diff --git a/input/texidocs/tweaking-clef-properties.texidoc b/input/texidocs/tweaking-clef-properties.texidoc index e228b6922b..fe851e2ff6 100644 --- a/input/texidocs/tweaking-clef-properties.texidoc +++ b/input/texidocs/tweaking-clef-properties.texidoc @@ -1,5 +1,39 @@ doctitlees = "Trucaje de las propiedades de clave" texidoces = " +La instrucción @code{\\clef \"treble_8\"} equivale a un ajuste de +@code{clefGlyph}, @code{clefPosition} (que controla la posición +vertical de la clave), @code{middleCPosition} y +@code{clefOctavation}. Se imprime una clave cada vez que se +modifica cualquiera de las propiedades excepto +@code{middleCPosition}. + +Observe que la modificación del glifo, la posición de la clave o +su octavación, no cambian 'per se' la posición de las siguientes +notas del pentagrama: para hacer esto también se debe especificar +la posición del Do central. Los parámetros posicionales están en +relación con la tercera línea del pentagrama, los números +positivos desplazan hacia arriba, contando una unidad por cada +línea y espacio. El valor de @code{clefOctavation} se +establecería normalmente a 7, -7, 15 or -15, pero son válidos +otros valores. + +Cuando se produce un cambio de clave en el salto de línea se +imprime la clave nueva tanto al final de la línea anterior como al +principio de la nueva, de forma predeterminada. Si no se necesita +la clave de advertencia al final de la línea anterior, se puede +quitar estableciendo el valor de la propiedad +@code{explicitClefVisibility} de @code{Staff}, a +@code{end-of-line-invisible}. El comportamiento predeterminado se +puede recuperar con @code{\\unset Staff.explicitClefVisibility}. + +Los siguientes ejemplos muestran las posibilidades cuando se +ajustan estas propiedades manualmente. En la primera línea, los +cambios manuales preservan el posicionamiento relativo estándar de +las claves y las notas, pero no lo hacen en la segunda línea. +" + + doctitlede = "Eigenschaften des Schlüssels optimieren" + texidocde = " Der Befehl @code{\\clef \"treble_8\"} ist gleichbedeutend mit einem expliziten Setzen der Eigenschaften von @code{clefGlyph}, @code{clefPosition} (welche die vertikale Position des Schlüssels bestimmt), -- 2.39.2