diff options
author | Phil Holmes <mail@philholmes.net> | 2015-12-28 10:40:23 +0000 |
---|---|---|
committer | Phil Holmes <mail@philholmes.net> | 2015-12-28 11:06:10 +0000 |
commit | ff9ca62acddb818b7788d7818a5c7eb0ddb6cdcb (patch) | |
tree | 23ba07255a7a5f2115a9de34437e751ae95fd942 | |
parent | d5bc965bceff7f08e1419bc73c039f395b4498d2 (diff) |
LSR changes: mainly making line widths smaller for PDF docs
26 files changed, 126 insertions, 70 deletions
diff --git a/Documentation/snippets/adding-drum-parts.ly b/Documentation/snippets/adding-drum-parts.ly index 168e82e65b..7ce432bcfc 100644 --- a/Documentation/snippets/adding-drum-parts.ly +++ b/Documentation/snippets/adding-drum-parts.ly @@ -21,9 +21,18 @@ 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 } +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 + } \score { << diff --git a/Documentation/snippets/adding-links-to-objects.ly b/Documentation/snippets/adding-links-to-objects.ly index 16e00b927e..16db39cfc1 100644 --- a/Documentation/snippets/adding-links-to-objects.ly +++ b/Documentation/snippets/adding-links-to-objects.ly @@ -22,10 +22,6 @@ The linked objects are colored with a separate command. doctitle = "Adding links to objects" } % begin verbatim -% Code by Thomas Morley -% Contributed by harm6 -% Tested with 2.14.2 up to 2.17.9 - #(define (add-link url-strg) (lambda (grob) (let* ((stil (ly:grob-property grob 'stencil))) @@ -35,7 +31,8 @@ The linked objects are colored with a separate command. (x-ext (ly:stencil-extent stil X)) (y-ext (ly:stencil-extent stil Y)) (url-expr (list 'url-link url-strg `(quote ,x-ext) `(quote ,y-ext))) - (new-stil (ly:stencil-add (ly:make-stencil url-expr x-ext y-ext) stil))) + (new-stil (ly:stencil-add + (ly:make-stencil url-expr x-ext y-ext) stil))) (ly:grob-set-property! grob 'stencil new-stil))) #f)))) diff --git a/Documentation/snippets/adjusting-lyrics-vertical-spacing.ly b/Documentation/snippets/adjusting-lyrics-vertical-spacing.ly index 77f626113a..472e089ef5 100644 --- a/Documentation/snippets/adjusting-lyrics-vertical-spacing.ly +++ b/Documentation/snippets/adjusting-lyrics-vertical-spacing.ly @@ -34,7 +34,8 @@ This snippet shows how to bring the lyrics line closer to the staff. } % Reducing the minimum space below the staff and above the lyrics: \new Lyrics \with { - \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'((basic-distance . 1)) + \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = + #'((basic-distance . 1)) } \lyricsto melody { aa aa aa aa aa aa aa aa aa } >> diff --git a/Documentation/snippets/ancient-fonts.ly b/Documentation/snippets/ancient-fonts.ly index be2ee37a23..e1fb58f135 100644 --- a/Documentation/snippets/ancient-fonts.ly +++ b/Documentation/snippets/ancient-fonts.ly @@ -10,8 +10,8 @@ lsrtags = "ancient-notation, symbols-and-glyphs" texidoc = " -Shown here are many (all?) of the symbols that are included in -LilyPond's support for ancient notation. +Shown here are many of the symbols that are included in LilyPond's +ancient notation. " doctitle = "Ancient fonts" @@ -57,8 +57,10 @@ upperStaff = \new VaticanaStaff = "upperStaff" << \override NoteHead.style = #'vaticana.cephalicus es f - \override Staff.KeySignature.glyph-name-alist = #alteration-medicaea-glyph-name-alist - \override Staff.Accidental.glyph-name-alist = #alteration-medicaea-glyph-name-alist + \override Staff.KeySignature.glyph-name-alist = + #alteration-medicaea-glyph-name-alist + \override Staff.Accidental.glyph-name-alist = + #alteration-medicaea-glyph-name-alist \override Staff.Custos.style = #'medicaea \override NoteHead.style = #'medicaea.punctum \clef "medicaea-fa2" @@ -78,8 +80,10 @@ upperStaff = \new VaticanaStaff = "upperStaff" << \override NoteHead.style = #'medicaea.rvirga e des ces - \override Staff.KeySignature.glyph-name-alist = #alteration-hufnagel-glyph-name-alist - \override Staff.Accidental.glyph-name-alist = #alteration-hufnagel-glyph-name-alist + \override Staff.KeySignature.glyph-name-alist = + #alteration-hufnagel-glyph-name-alist + \override Staff.Accidental.glyph-name-alist = + #alteration-hufnagel-glyph-name-alist \override Staff.Custos.style = #'hufnagel \override NoteHead.style = #'hufnagel.punctum \clef "hufnagel-fa2" @@ -184,7 +188,6 @@ lowerStaff = \new MensuralStaff = "lowerStaff" << >> \layout { indent = 0.0 - line-width = 17.25\cm \context { \Score timing = ##f diff --git a/Documentation/snippets/bar-chords-notation-for-guitar-with-text-spanner.ly b/Documentation/snippets/bar-chords-notation-for-guitar-with-text-spanner.ly index 9a8b950cda..d0028da2a8 100644 --- a/Documentation/snippets/bar-chords-notation-for-guitar-with-text-spanner.ly +++ b/Documentation/snippets/bar-chords-notation-for-guitar-with-text-spanner.ly @@ -62,8 +62,8 @@ bbarre = (padding . 0.25) (attach-dir . 2))) %% uncomment this line for make full barred - % \once \override TextSpanner.bound-details.left.text = \markup { "B" #str } - $music + % \once \override TextSpanner.bound-details.left.text = \markup{"B" #str} + $music #}) %% %%%%%%% Cut here ----- End 'bbarred.ly' diff --git a/Documentation/snippets/breathing-signs.ly b/Documentation/snippets/breathing-signs.ly index b4583bd4d9..f19e650a3c 100644 --- a/Documentation/snippets/breathing-signs.ly +++ b/Documentation/snippets/breathing-signs.ly @@ -29,7 +29,8 @@ ticks, vees and @qq{railroad tracks} (caesura). % rvarcomma and lvarcomma are variations of the default rcomma and lcomma % N.B.: must use Staff context here, since we start a Voice below - \override Staff.BreathingSign.text = \markup { \musicglyph #"scripts.rvarcomma" } + \override Staff.BreathingSign.text = + \markup { \musicglyph #"scripts.rvarcomma" } << { g4 as g } \\ { es4 \breathe bes es } >> | % vee @@ -37,7 +38,8 @@ ticks, vees and @qq{railroad tracks} (caesura). es8[ d es f g] \breathe f | % caesura - \override BreathingSign.text = \markup { \musicglyph #"scripts.caesura.curved" } + \override BreathingSign.text = + \markup { \musicglyph #"scripts.caesura.curved" } es8[ d] \breathe es[ f g f] | es2 r4 \bar "||" } diff --git a/Documentation/snippets/center-text-below-hairpin-dynamics.ly b/Documentation/snippets/center-text-below-hairpin-dynamics.ly index 2d08a1607e..1791b38b79 100644 --- a/Documentation/snippets/center-text-below-hairpin-dynamics.ly +++ b/Documentation/snippets/center-text-below-hairpin-dynamics.ly @@ -34,12 +34,15 @@ hairpinWithCenteredText = (ly:stencil-combine-at-edge (ly:stencil-aligned-to stencil X CENTER) Y dir - (ly:stencil-aligned-to (grob-interpret-markup grob text) X CENTER)) + (ly:stencil-aligned-to + (grob-interpret-markup grob text) X CENTER)) X LEFT)) - (staff-space (ly:output-def-lookup (ly:grob-layout grob) 'staff-space)) + (staff-space (ly:output-def-lookup + (ly:grob-layout grob) 'staff-space)) (staff-line-thickness (ly:output-def-lookup (ly:grob-layout grob) 'line-thickness)) - (grob-name (lambda (x) (assq-ref (ly:grob-property x 'meta) 'name))) + (grob-name (lambda (x) (assq-ref + (ly:grob-property x 'meta) 'name))) (par-x (ly:grob-parent grob X)) (dyn-text (eq? (grob-name par-x) 'DynamicText )) (dyn-text-stencil-x-length diff --git a/Documentation/snippets/changing-a-single-notes-size-in-a-chord.ly b/Documentation/snippets/changing-a-single-notes-size-in-a-chord.ly index 059eccdc17..869d6b5f98 100644 --- a/Documentation/snippets/changing-a-single-notes-size-in-a-chord.ly +++ b/Documentation/snippets/changing-a-single-notes-size-in-a-chord.ly @@ -27,5 +27,7 @@ note head). } % begin verbatim \relative c' { - <\tweak font-size #+2 c e g c \tweak font-size #-2 e>1^\markup { A tiny e }_\markup { A big c } + <\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/Documentation/snippets/chord-glissando-in-tablature.ly b/Documentation/snippets/chord-glissando-in-tablature.ly index 540c6e8a75..9b61674539 100644 --- a/Documentation/snippets/chord-glissando-in-tablature.ly +++ b/Documentation/snippets/chord-glissando-in-tablature.ly @@ -18,7 +18,6 @@ single notes. " doctitle = "Chord glissando in tablature" } % begin verbatim -%=> http://lilypond.1069038.n5.nabble.com/LSR-chord-glissando-in-tablature-obsolete-tc159863.html myMusic = \relative c' { <c e g>1 \glissando <f a c> diff --git a/Documentation/snippets/displaying-a-whole-grandstaff-system-if-only-one-of-its-staves-is-alive.ly b/Documentation/snippets/displaying-a-whole-grandstaff-system-if-only-one-of-its-staves-is-alive.ly index 60a68c3a13..72aa7ec0ae 100644 --- a/Documentation/snippets/displaying-a-whole-grandstaff-system-if-only-one-of-its-staves-is-alive.ly +++ b/Documentation/snippets/displaying-a-whole-grandstaff-system-if-only-one-of-its-staves-is-alive.ly @@ -67,6 +67,8 @@ the second violin is also displayed. >> } \layout { + indent = 3.0\cm + short-indent = 1.5\cm \context { \GrandStaff \consists Keep_alive_together_engraver diff --git a/Documentation/snippets/extending-a-trillspanner.ly b/Documentation/snippets/extending-a-trillspanner.ly index 9c1a2a4866..af3abd0ade 100644 --- a/Documentation/snippets/extending-a-trillspanner.ly +++ b/Documentation/snippets/extending-a-trillspanner.ly @@ -19,10 +19,6 @@ set to @code{ly:spanner::set-spacing-rods}. doctitle = "Extending a TrillSpanner" } % begin verbatim -%=> http://lilypond-french-users.1298960.n2.nabble.com/Allonger-un-trille-td7581110.html - -%by P.P.Schneider on April 2014 - \relative c' { \key c\minor \time 2/4 diff --git a/Documentation/snippets/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly b/Documentation/snippets/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly index fa1ea91899..5551a36b1c 100644 --- a/Documentation/snippets/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly +++ b/Documentation/snippets/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly @@ -25,7 +25,7 @@ marks, but from the letter or number desired. c1 \mark \default c1 \mark \default c1 \mark \default - c1 \mark \default + c1 \break \set Score.markFormatter = #format-mark-numbers c1 \mark #1 @@ -36,5 +36,5 @@ marks, but from the letter or number desired. c1 \mark \default c1 \mark \default c1 \mark \default - c1 \mark \default + c1 } diff --git a/Documentation/snippets/generating-custom-flags.ly b/Documentation/snippets/generating-custom-flags.ly index a1121ae24c..3ba7022e5b 100644 --- a/Documentation/snippets/generating-custom-flags.ly +++ b/Documentation/snippets/generating-custom-flags.ly @@ -45,7 +45,10 @@ custom scheme function to generate the glyph for the flag. (rotated-flag (ly:stencil-rotate-absolute stencil 180 0 0))) (ly:stencil-translate rotated-flag (cons (- (/ stem-width 2)) 0)))) -snippetexamplenotes = { \autoBeamOff c'8 d'16 c'32 d'64 \acciaccatura {c'8} d'64 } +snippetexamplenotes = +{ + \autoBeamOff c'8 d'16 c'32 d'64 \acciaccatura {c'8} d'64 +} { \override Score.RehearsalMark.self-alignment-X = #LEFT diff --git a/Documentation/snippets/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly b/Documentation/snippets/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly index fb0629e36a..5e43ce5333 100644 --- a/Documentation/snippets/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly +++ b/Documentation/snippets/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly @@ -54,9 +54,10 @@ 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" } - -\paper { ragged-right = ##f } +\paper { + ragged-right = ##f + indent = 2.5\cm +} % Solution 1: Using a simple markup with a particular halign value % Drawback: It's a markup, not a dynamic command, so \dynamicDown @@ -123,6 +124,7 @@ semppMII = \context Staff = "s" << \set Staff.instrumentName = #"Normal" \relative c'' { + \override Staff.InstrumentName.self-alignment-X = #LEFT \key es \major c4\pp c\p c c | c\ff c c\pp c } @@ -130,6 +132,7 @@ semppMII = \context Staff = "sMarkup" << \set Staff.instrumentName = \markup \column { Normal markup } \relative c'' { + \override Staff.InstrumentName.self-alignment-X = #LEFT \key es \major c4-\semppMarkup c\p c c | c\ff c c-\semppMarkup c } @@ -137,6 +140,7 @@ semppMII = \context Staff = "sK" << \set Staff.instrumentName = \markup \column { Explicit shifting } \relative c'' { + \override Staff.InstrumentName.self-alignment-X = #LEFT \key es \major \once \override DynamicText.X-offset = #-9.2 c4\semppK c\p c c @@ -148,6 +152,7 @@ semppMII = \context Staff = "sT" << \set Staff.instrumentName = \markup \column { Right padding } \relative c'' { + \override Staff.InstrumentName.self-alignment-X = #LEFT \key es \major c4\semppT c\p c c | c\ff c c\semppT c } @@ -155,6 +160,7 @@ semppMII = \context Staff = "sM" << \set Staff.instrumentName = \markup \column { Setting dimension "to zero" } \relative c'' { + \override Staff.InstrumentName.self-alignment-X = #LEFT \key es \major c4\semppM c\p c c | c\ff c c\semppM c } @@ -162,6 +168,7 @@ semppMII = \context Staff = "sG" << \set Staff.instrumentName = \markup \column { Shifting inside dynamics } \relative c'' { + \override Staff.InstrumentName.self-alignment-X = #LEFT \key es \major c4\semppG c\p c c | c\ff c c\semppG c } @@ -169,6 +176,7 @@ semppMII = \context Staff = "sMII" << \set Staff.instrumentName = \markup \column { Alignment inside dynamics } \relative c'' { + \override Staff.InstrumentName.self-alignment-X = #LEFT \key es \major % Setting to ##f (false) gives the same result \override DynamicText.X-offset = #0 diff --git a/Documentation/snippets/jazz-combo-template.ly b/Documentation/snippets/jazz-combo-template.ly index 5034025426..9d0dc82fc3 100644 --- a/Documentation/snippets/jazz-combo-template.ly +++ b/Documentation/snippets/jazz-combo-template.ly @@ -32,7 +32,10 @@ music is within a @code{\\transpose} section. } } } - +% To make the example display in the documentation +\paper { + paper-width = 130 +} %#(set-global-staff-size 16) \include "english.ly" diff --git a/Documentation/snippets/mensurstriche-layout-bar-lines-between-the-staves.ly b/Documentation/snippets/mensurstriche-layout-bar-lines-between-the-staves.ly index 0d19ecff49..88638a0c62 100644 --- a/Documentation/snippets/mensurstriche-layout-bar-lines-between-the-staves.ly +++ b/Documentation/snippets/mensurstriche-layout-bar-lines-between-the-staves.ly @@ -12,8 +12,8 @@ texidoc = " The mensurstriche-layout where the bar lines do not show on the staves but between staves can be achieved with a @code{StaffGroup} instead of -a @code{ChoirStaff}. The bar line on staves is blanked out by setting -the @code{transparent} property. +a @code{ChoirStaff}. The bar line on staves is blanked out using +@code{\\hide}. " doctitle = "Mensurstriche layout (bar lines between the staves)" diff --git a/Documentation/snippets/percussion-beaters.ly b/Documentation/snippets/percussion-beaters.ly index e7d22ebef2..08f56f301b 100644 --- a/Documentation/snippets/percussion-beaters.ly +++ b/Documentation/snippets/percussion-beaters.ly @@ -85,7 +85,9 @@ stick = \markup { 7.5332399 200.42458 7.6444521 200.59122 7.6422017 200.76488 curveto closepath clip - gsave [0.052859054 0.063089841 -0.020912282 0.017521108 5.7334261 189.76443] concat + gsave [ + 0.052859054 0.063089841 -0.020912282 0.017521108 5.7334261 189.76443 + ] concat shfill grestore grestore @@ -134,7 +136,9 @@ stick = \markup { 5.1631598 202.49149 5.2743721 202.65813 5.2721217 202.83181 curveto closepath clip - gsave [0.052859054 0.063089841 -0.020912282 0.017521108 3.363346 191.83136] concat + gsave [ + 0.052859054 0.063089841 -0.020912282 0.017521108 3.363346 191.83136 + ] concat shfill grestore grestore diff --git a/Documentation/snippets/positioning-fingering-indications-precisely.ly b/Documentation/snippets/positioning-fingering-indications-precisely.ly index 8812a067af..7ffa0f16e0 100644 --- a/Documentation/snippets/positioning-fingering-indications-precisely.ly +++ b/Documentation/snippets/positioning-fingering-indications-precisely.ly @@ -26,11 +26,14 @@ involved. <c-1 d-\tweak extra-offset #'(0 . 0.2)-2 a'-5>4 \set fingeringOrientations = #'(down) <c-1 d-2 a'-5>4 - <c-\tweak extra-offset #'(0 . -1.1)-1 d-\tweak extra-offset #'(-1.2 . -1.8)-2 a'-5>4 + <c-\tweak extra-offset #'(0 . -1.1)-1 + d-\tweak extra-offset #'(-1.2 . -1.8)-2 a'-5>4 \set fingeringOrientations = #'(down right up) <c-1 d-\tweak extra-offset #'(-0.3 . 0)-2 a'-5>4 <c-1 d-\tweak extra-offset #'(-1 . 1.2)-2 a'-5>4 \set fingeringOrientations = #'(up) - <c-1 d-\tweak extra-offset #'(0 . 1.1)-2 a'-\tweak extra-offset #'(0 . 1)-5>4 - <c-1 d-\tweak extra-offset #'(-1.2 . 1.5)-2 a'-\tweak extra-offset #'(0 . 1.4)-5>4 + <c-1 d-\tweak extra-offset #'(0 . 1.1)-2 + a'-\tweak extra-offset #'(0 . 1)-5>4 + <c-1 d-\tweak extra-offset #'(-1.2 . 1.5)-2 + a'-\tweak extra-offset #'(0 . 1.4)-5>4 } diff --git a/Documentation/snippets/positioning-segno-and-coda-with-line-break.ly b/Documentation/snippets/positioning-segno-and-coda-with-line-break.ly index 9444c97a14..80cc874efd 100644 --- a/Documentation/snippets/positioning-segno-and-coda-with-line-break.ly +++ b/Documentation/snippets/positioning-segno-and-coda-with-line-break.ly @@ -51,12 +51,14 @@ line. \bar "||" % Set segno sign as rehearsal mark and adjust size if needed - \once \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible + \once \override Score.RehearsalMark.break-visibility = + #begin-of-line-invisible % \once \override Score.RehearsalMark.font-size = #3 \mark \markup { \musicglyph #"scripts.segno" } % Here begins the trickery! - % \cadenzaOn will suppress the bar count and \stopStaff removes the staff lines. + % \cadenzaOn will suppress the bar count + % and \stopStaff removes the staff lines. \cadenzaOn \stopStaff % Some examples of possible text-displays @@ -75,14 +77,19 @@ line. % text and symbols center-aligned % =============================== - % Move text to the desired position and tweak spacing for optimum text alignment + % Move text to the desired position + % and tweak spacing for optimum text alignment \repeat unfold 1 { s1 \bar "" } \once \override TextScript.extra-offset = #'( 0 . -3.0 ) \once \override TextScript.word-space = #1.5 - <>^\markup { \center-column { "D.S. al Coda" \line { \musicglyph #"scripts.coda" \musicglyph #"scripts.tenuto" \musicglyph #"scripts.coda"} } } + <>^\markup { \center-column { "D.S. al Coda" + \line { + \musicglyph #"scripts.coda" + \musicglyph #"scripts.tenuto" + \musicglyph #"scripts.coda"} } } % Increasing the unfold counter will expand the staff-free space \repeat unfold 3 { @@ -104,7 +111,8 @@ line. % Set coda sign as rehearsal mark and adjust size and position - % Put the coda sign ontop of the (treble-)clef dependend on coda's line-position + % Put the coda sign on top of the (treble-)clef + % depending on coda's line-position % Coda NOT on new line, use this: % \once \override Score.RehearsalMark.extra-offset = #'( -2 . 1.75 ) diff --git a/Documentation/snippets/removing-brace-on-first-line-of-piano-score.ly b/Documentation/snippets/removing-brace-on-first-line-of-piano-score.ly index 0d8327313b..12c0c57520 100644 --- a/Documentation/snippets/removing-brace-on-first-line-of-piano-score.ly +++ b/Documentation/snippets/removing-brace-on-first-line-of-piano-score.ly @@ -19,7 +19,7 @@ It uses @code{\\alterBroken}. " doctitle = "Removing brace on first line of piano score" } % begin verbatim -% => http://lilypond.1069038.n5.nabble.com/Getting-rid-of-initial-brace-on-piano-score-td161158.html + someMusic = { \once \override Staff.Clef.stencil = ##f \once \override Staff.TimeSignature.stencil = ##f diff --git a/Documentation/snippets/score-for-diatonic-accordion.ly b/Documentation/snippets/score-for-diatonic-accordion.ly index badba96463..fddf7c230b 100644 --- a/Documentation/snippets/score-for-diatonic-accordion.ly +++ b/Documentation/snippets/score-for-diatonic-accordion.ly @@ -75,7 +75,8 @@ staffTabLine = \new Staff \with { \remove "Clef_engraver" } { \override Staff.StaffSymbol.line-positions = #'(0) - % Shows one horizontal line. The vertical line (simulating a bar-line) is simulated with a gridline + % Shows one horizontal line. The vertical line + % (simulating a bar-line) is simulated with a gridline \set Staff.midiInstrument = #"choir aahs" \key c \major \relative c'' @@ -90,7 +91,8 @@ staffTabLine = \new Staff \with { % 2. uncomment the line \NoNoteHead % 3. compile % 4. Mark the positions on which push/pull changes. - % In the score-picture click on the position the push- or pull-part starts + % In the score-picture click on the position + % the push- or pull-part starts % (on the noteHead, the cursor will change to a hand-icon). % The cursor in the source code will jump just at this position. % a) If a push-part starts there, replace the 'c' by an 'e[' @@ -99,7 +101,8 @@ staffTabLine = \new Staff \with { % 6. For the pull-parts overwrite the 'c' with 's' % 7. For every push-part replace the last 'c' with 'e]' % 8. Switch into 'insert-mode' again - % 9. At last it should look lik e.g. (s s e[ c | c c c c c c c c | c c c c c c e] s s) + % 9. At last it should look like e.g. + % (s s e[ c | c c c c c c c c | c c c c c c e] s s) % 10. re-enable the line \NoNoteHead \autoBeamOff \ZeroBeam @@ -109,8 +112,11 @@ staffTabLine = \new Staff \with { % Accordion melody in tabulator score % 1. Place a copy of the piano melody below -% 2. Separate piano melody into pull- and push-parts according to the staffTabLine you've already made -% 3. For each line: Double the line. Remark the 1st one (Keeps unchanged as reference) and then change the second line using the transformation paper +% 2. Separate piano melody into pull- and push-parts +% according to the staffTabLine you've already made +% 3. For each line: Double the line. Remark the 1st one +% (Keeps unchanged as reference) and then change the second +% line using the transformation paper % or the macros 'conv2diaton push.bsh' and 'conv2diaton pull.bsh' % Tips: % - In jEdit Search & Replace mark the Option 'Keep Dialog' @@ -128,9 +134,11 @@ AccordionTabTwoCBesDur = { AccordionTab= { \dynamicUp % 1. Place a copy of the piano melody above - % 2. Separate piano melody into pull- and push-parts according to the staffTabLine you've already made - % 3. For each line: Double the line. Remark the 1st one (Keeps unchanged as reference) and then - % change the second line using the transformation paper + % 2. Separate piano melody into pull- and push-parts + % according to the staffTabLine you've already made + % 3. For each line: Double the line. Remark the 1st one + % (Keeps unchanged as reference) and then + % change the second line using the transformation paper % Tips: % - In jEdit Search & Replace mark the Option 'Keep Dialog' % - @@ -168,7 +176,11 @@ staffVoice = \new Staff = astaffvoice { \clef treble { \context Voice = "melodyVoi" - { <f' bes'>8 <f' a'>8 <d' bes'>8 | <g' c''>4 <f' d''> <g' es''> <f' a'> | <f' bes'>2 r8 } + { + <f' bes'>8 <f' a'>8 <d' bes'>8 | + <g' c''>4 <f' d''> <g' es''> <f' a'> | + <f' bes'>2 r8 + } \bar "|." } } @@ -205,7 +217,8 @@ staffBassRhytm = \override Score.GridLine.extra-offset = #'( 13.0 . 0.0 ) % x.y \override Staff.StaffSymbol.line-positions = #'( 0 ) - % Shows one horizontal line. The vertical line (simulating a bar-line) is simulated by a grid + % Shows one horizontal line. The vertical line + % (simulating a bar-line) is simulated by a grid % Search for 'grid' in this page to find all related functions \time 4/4 { diff --git a/Documentation/snippets/setting-system-separators.ly b/Documentation/snippets/setting-system-separators.ly index cbe0712c61..dd3b47068a 100644 --- a/Documentation/snippets/setting-system-separators.ly +++ b/Documentation/snippets/setting-system-separators.ly @@ -20,6 +20,7 @@ default. \paper { system-separator-markup = \slashSeparator + line-width = 120 } notes = \relative c' { diff --git a/Documentation/snippets/string-number-extender-lines.ly b/Documentation/snippets/string-number-extender-lines.ly index 78f91075dd..286c20bcc9 100644 --- a/Documentation/snippets/string-number-extender-lines.ly +++ b/Documentation/snippets/string-number-extender-lines.ly @@ -23,7 +23,8 @@ stringNumberSpanner = \override TextSpanner.style = #'solid \override TextSpanner.font-size = #-5 \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER - \override TextSpanner.bound-details.left.text = \markup { \circle \number $StringNumber } + \override TextSpanner.bound-details.left.text = + \markup { \circle \number $StringNumber } #}) diff --git a/Documentation/snippets/tuplet-bracket-and-change-staff.ly b/Documentation/snippets/tuplet-bracket-and-change-staff.ly index 2a1d9cf7a5..b5fda25f3a 100644 --- a/Documentation/snippets/tuplet-bracket-and-change-staff.ly +++ b/Documentation/snippets/tuplet-bracket-and-change-staff.ly @@ -17,10 +17,6 @@ finishing in the upper one. doctitle = "Tuplet bracket and change staff" } % begin verbatim -%% http://lsr.di.unimi.it/LSR/Item?id=926 -%=> http://lilypond-french-users.1298960.n2.nabble.com/Crochet-de-nolet-tordu-tt7581491.html -%=> http://lilypond.1069038.n5.nabble.com/Tuplet-bracket-amp-changeStff-td164063.html - aigues = \relative c' { \time 6/8 s4. diff --git a/Documentation/snippets/using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly b/Documentation/snippets/using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly index 607d3faa94..199db158e1 100644 --- a/Documentation/snippets/using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly +++ b/Documentation/snippets/using-tags-to-produce-mensural-and-modern-music-from-the-same-source.ly @@ -52,7 +52,9 @@ Music = \relative c'' { \set Score.tempoHideNote = ##t \key f \major \time 4/4 - g1 d'2 \menrest bes4 bes2 a2 r4 g4 fis2. \tag #'mens { \finalis } \tag #'mod { \bar "||" } + g1 d'2 \menrest bes4 bes2 a2 r4 g4 fis2. + \tag #'mens { \finalis } + \tag #'mod { \bar "||" } } MenLyr = \lyricmode { So farre, deere life, deare life } diff --git a/Documentation/snippets/vertical-aligned-staffgroups-without-connecting-systemstartbar.ly b/Documentation/snippets/vertical-aligned-staffgroups-without-connecting-systemstartbar.ly index adea0ef562..19937c8286 100644 --- a/Documentation/snippets/vertical-aligned-staffgroups-without-connecting-systemstartbar.ly +++ b/Documentation/snippets/vertical-aligned-staffgroups-without-connecting-systemstartbar.ly @@ -237,11 +237,11 @@ simpleBach = cbI = \relative c' { \mark \markup { - \bold "Teacher:" - \column { - "Well, you simply copied and transposed a version of J.S.Bach." - "Do you know this one?" - } + \bold "Teacher:" + \column { + "Well, you simply copied and transposed a version of J.S.Bach." + "Do you know this one?" + } } \key a \minor \time 4/4 |