@snippets
@lilypondfile[verbatim,quote,texidoc,doctitle]
-{accordion-registers.ly}
+{accordion-register-symbols.ly}
@seealso
Fragmentos de código:
@snippets
@lilypondfile[verbatim,quote,texidoc,doctitle]
-{accordion-registers.ly}
+{accordion-register-symbols.ly}
@seealso
Morceaux choisis :
@snippets
@lilypondfile[verbatim,quote,texidoc,doctitle]
-{accordion-registers.ly}
+{accordion-register-symbols.ly}
@seealso
Snippets:
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.16.0
-\version "2.16.0"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "keyboards, specific-notation, symbols-and-glyphs, workaround"
texidoc = "
This snippet has been obsoleted by predefined markup commands, see
-@ruser{Accordion Registers}. It's still useful as a simple
-demonstration of how to combine symbols: the placement of the symbols
-added with @code{\\markup} can be tweaked by changing the
-@code{\\translate-scaled} arguments. @code{\\translate-scaled} is
-used here rather than @code{\\translate} in order to let the
-positioning of the symbol parts adapt to changes of @code{font-size}.
+'Accordion Registers' in the Notation Reference. It's still useful as
+a simple demonstration of how to combine symbols: the placement of the
+symbols added with @code{\\markup} can be tweaked by changing the
+@code{\\translate-scaled} arguments. @code{\\translate-scaled} is used
+here rather than @code{\\translate} in order to let the positioning of
+the symbol parts adapt to changes of @code{font-size}.
+
"
doctitle = "Accordion-discant symbols"
} % begin verbatim
-
discant = \markup {
\musicglyph #"accordion.discant"
}
--- /dev/null
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
+
+\header {
+ lsrtags = "keyboards, specific-notation, symbols-and-glyphs"
+
+ texidoc = "
+Accordion register symbols are available as @code{\\markup} as well as
+as standalone music events (as register changes tend to occur between
+actual music events. Bass registers are not overly standardized. The
+available commands can be found in 'Accordion Registers' in the
+Notation Reference.
+
+"
+ doctitle = "Accordion register symbols"
+} % begin verbatim
+
+#(use-modules (scm accreg))
+
+\new PianoStaff
+<<
+ \new Staff \relative {
+ \clef treble \discant "10" r8 s32 f'[ bes f] s e[ a e] s d[ g d] s16 e32[ a]
+ <<
+ { r16 <f bes> r <e a> r <d g> }
+ \\
+ { d r a r bes r }
+ >> |
+ <cis e a>1
+ }
+ \new Staff \relative {
+ \clef treble \freeBass "1" r8 d'32 s16. c32 s16. bes32 s16. a32[ cis] s16
+ \clef bass \stdBass "Master"
+ <<
+ { r16 <f, bes d>^"b" r <e a c>^"am" r <d g bes>^"gm" |
+ <e a cis>1^"a" }
+ \\
+ { d8_"D" c_"C" bes_"B" | a1_"A" }
+ >>
+ }
+>>
+++ /dev/null
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.23
-\version "2.17.23"
-
-\header {
- lsrtags = "keyboards, specific-notation, symbols-and-glyphs"
-
- texidoc = "Accordion register symbols are available as
-@code{\\markup} as well as as standalone music events (as register
-changes tend to occur between actual music events. Bass registers are
-not overly standardized. The available commands can be found in
-@ruser{Accordion Registers}."
-
- doctitle = "Accordion register symbols"
-} % begin verbatim
-
-
-\layout { ragged-right = ##t }
-
-#(use-modules (scm accreg))
-
-\new PianoStaff
-<<
- \new Staff \relative
- { \clef treble \discant "10" r8 s32 f'[ bes f] s e[ a e] s d[ g d] s16 e32[ a]
- << { r16 <f bes> r <e a> r <d g> } \\ { d r a r bes r } >> | <cis e a>1 }
- \new Staff \relative
- { \clef treble \freeBass "1" r8 d'32 s16. c32 s16. bes32 s16. a32[ cis] s16
- \clef bass \stdBass "Master"
- << { r16 <f, bes d>^"b" r <e a c>^"am" r <d g bes>^"gm" |
- <e a cis>1^"a" } \\
- { d8_"D" c_"C" bes_"B" | a1_"A" }
- >>
- }
->>
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.6
-\version "2.17.6"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "ancient-notation, chords, contexts-and-engravers"
When writing a figured bass, you can place the figures above or below
the bass notes, by defining the
@code{BassFigureAlignmentPositioning.direction} property (exclusively
-in a @code{Staff} context). Choices are @code{#UP} (or @code{#1}),
+in a @code{Staff} context). Choices are @code{#UP} (or @code{#1}),
@code{#CENTER} (or @code{#0}) and @code{#DOWN} (or @code{#-1}).
-This property can be changed as many times as you wish. Use
+This property can be changed as many times as you wish. Use
@code{\\once \\override} if you don't want the override to apply 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>4 <5/>4
\override Staff.BassFigureAlignmentPositioning.direction = #UP
%\bassFigureStaffAlignmentDown
<4>4. <4>8 <_+>4
}
+
\score {
<<
\new Staff = bassStaff \bass
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "pitches, staff-notation, vocal-music"
doctitle = "Adding ambitus per voice"
} % begin verbatim
-
\new Staff <<
\new Voice \with {
\consists "Ambitus_engraver"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "breaks, contexts-and-engravers, staff-notation, workaround"
doctitle = "Adding an extra staff at a line break"
} % begin verbatim
-
\score {
\new StaffGroup \relative c'' {
\new Staff
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, really-simple, staff-notation"
doctitle = "Adding an extra staff"
} % begin verbatim
-
\score {
<<
\new Staff \relative c'' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "pitches, tweaks-and-overrides"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "chords, specific-notation"
doctitle = "Adding bar lines to ChordNames context"
} % begin verbatim
-
\new ChordNames \with {
\override BarLine.bar-extent = #'(-2 . 2)
\consists "Bar_engraver"
}
+
\chordmode {
f1:maj7 f:7 bes:7
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, rhythms"
doctitle = "Adding beams slurs ties etc. when using tuplet and non-tuplet rhythms"
} % begin verbatim
-
{
r16[ g16 \tuplet 3/2 { r16 e'8] }
g16( a \tuplet 3/2 { b d e') }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "percussion, preparing-parts, really-simple, rhythms, specific-notation"
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 }
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.16.0
-\version "2.16.0"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "scheme-language"
texidoc = "
-You can add additional elements to notes using @code{map-some-music}. In this
-example, an extra script is attached to a note.
+You can add additional elements to notes using @code{map-some-music}.
+In this example, an extra script is attached to a note.
In general, first do a @code{\\displayMusic} of the music you want to
create, then write a function that will work on the appropriate parts
of the music for you.
+
"
doctitle = "Adding extra fingering with scheme"
} % begin verbatim
-
addScript =
#(define-music-function (parser location script music)
(ly:event? ly:music?)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, fretted-strings, really-simple"
doctitle = "Adding fingerings to a score"
} % begin verbatim
-
\relative c'' {
c4-1 d-2 f-4 e-3
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings, specific-notation"
doctitle = "Adding fingerings to tablatures"
} % begin verbatim
-
-
one = \markup { \finger 1 }
two = \markup { \finger 2 }
threeTwo = \markup {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "staff-notation, symbols-and-glyphs, vocal-music"
} % begin verbatim
#(define-markup-command (arrow-at-angle layout props angle-deg length fill)
- (number? number? boolean?)
- (let* (
- ;; PI-OVER-180 and degrees->radians are taken from flag-styles.scm
- (PI-OVER-180 (/ (atan 1 1) 45))
- (degrees->radians (lambda (degrees) (* degrees PI-OVER-180)))
- (angle-rad (degrees->radians angle-deg))
- (target-x (* length (cos angle-rad)))
- (target-y (* length (sin angle-rad))))
- (interpret-markup layout props
- (markup
- #:translate (cons (/ target-x 2) (/ target-y 2))
- #:rotate angle-deg
- #:translate (cons (/ length -2) 0)
- #:concat (#:draw-line (cons length 0)
- #:arrow-head X RIGHT fill)))))
+ (number? number? boolean?)
+ (let* (
+ (PI-OVER-180 (/ (atan 1 1) 34))
+ (degrees->radians (lambda (degrees) (* degrees PI-OVER-180)))
+ (angle-rad (degrees->radians angle-deg))
+ (target-x (* length (cos angle-rad)))
+ (target-y (* length (sin angle-rad))))
+ (interpret-markup layout props
+ (markup
+ #:translate (cons (/ target-x 2) (/ target-y 2))
+ #:rotate angle-deg
+ #:translate (cons (/ length -2) 0)
+ #:concat (#:draw-line (cons length 0)
+ #:arrow-head X RIGHT fill)))))
-splitStaffBarLineMarkup = \markup \with-dimensions #'(0 . 0) #'(0 . 0) {
- \combine
- \arrow-at-angle #45 #(sqrt 8) ##f
- \arrow-at-angle #-45 #(sqrt 8) ##f
+splitStaffBarLine = {
+ \once \override Staff.BarLine.stencil =
+ #(lambda (grob)
+ (ly:stencil-combine-at-edge
+ (ly:bar-line::print grob)
+ X RIGHT
+ (grob-interpret-markup grob #{
+ \markup\with-dimensions #'(0 . 0) #'(0 . 0) {
+ \translate #'(5.95 . .14)\arrow-at-angle #45 #(sqrt 8) ##t
+ \translate #'(5.35 . -.13)\arrow-at-angle #-45 #(sqrt 8) ##t }#})
+ 0))
+ \break
}
-splitStaffBarLine = {
+convDownStaffBarLine = {
\once \override Staff.BarLine.stencil =
- #(lambda (grob)
- (ly:stencil-combine-at-edge
- (ly:bar-line::print grob)
- X RIGHT
- (grob-interpret-markup grob splitStaffBarLineMarkup)
- 0))
+ #(lambda (grob)
+ (ly:stencil-combine-at-edge
+ (ly:bar-line::print grob)
+ X RIGHT
+ (grob-interpret-markup grob #{
+ \markup\with-dimensions #'(0 . 0) #'(0 . 0) {
+ \translate #'(5.3 . -.13)\arrow-at-angle #-45 #(sqrt 8) ##t }#})
+ 0))
\break
}
-\paper {
- ragged-right = ##t
- short-indent = 5\mm
+convUpStaffBarLine = {
+ \once \override Staff.BarLine.stencil =
+ #(lambda (grob)
+ (ly:stencil-combine-at-edge
+ (ly:bar-line::print grob)
+ X RIGHT
+ (grob-interpret-markup grob #{
+ \markup\with-dimensions #'(0 . 0) #'(0 . 0) {
+ \translate #'(5.28 . .14)\arrow-at-angle #45 #(sqrt 8) ##t }#})
+ 0))
+ \break
}
+
\score {
<<
\new ChoirStaff <<
- \new Staff \with { instrumentName = #"High I + II" } {
+ \new Staff
+ \with {
+ instrumentName = #"H I + H II"
+ } {
+ \key f\minor
<<
\repeat unfold 4 f''1
\\
- \repeat unfold 4 d''1
+ \repeat unfold 4 des''1
>>
+ \key f\major
\splitStaffBarLine
}
\new Staff \with { instrumentName = #"Low" } {
+ \key f\minor
<<
- \repeat unfold 4 b'1
+ \repeat unfold 4 bes'1
\\
\repeat unfold 4 g'1
>>
+ \key f\major
}
- \new Staff \with { shortInstrumentName = #"H I" } {
+ \new Staff \with { shortInstrumentName = #"I" } {
+ \key f \major
R1*4
\repeat unfold 2 { r4 f''2 r4 } \repeat unfold 2 e''1
+ \key f\minor
+ \convDownStaffBarLine
}
- \new Staff \with { shortInstrumentName = #"H II" } {
+ \new Staff \with { shortInstrumentName = #"II" } {
+ \key f \major
R1*4
- \repeat unfold 4 b'2 \repeat unfold 2 c''1
+ \repeat unfold 4 bes'2 \repeat unfold 2 c''1
+ \key f\minor
+ \convUpStaffBarLine
}
+
\new Staff \with { shortInstrumentName = #"L" } {
+ \key f\major
R1*4
<<
\repeat unfold 4 g'1
\\
\repeat unfold 4 c'1
>>
+ \key f\minor
+ }
+
+ \new Staff
+ \with {
+ shortInstrumentName = #"I+II"
+ } {
+ \key f\minor
+ R1*8
+ <<
+ \repeat unfold 4 f''1
+ \\
+ \repeat unfold 4 des''1
+ >>
+ }
+ \new Staff \with { shortInstrumentName = #"L" } {
+ \key f\minor
+ R1*8
+ <<
+ \repeat unfold 4 bes'1
+ \\
+ \repeat unfold 4 g'1
+ >>
}
>>
>>
\layout {
\context {
\Staff \RemoveEmptyStaves
- \override VerticalAxisGroup.remove-first = ##t
+ \override VerticalAxisGroup #'remove-first = ##t
}
}
}
+\paper {
+ ragged-right = ##t
+}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, scheme-language, tweaks-and-overrides"
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.6
-\version "2.17.6"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "staff-notation, vocal-music"
doctitle = "Adding orchestral cues to a vocal score"
} % begin verbatim
-
cueWhile =
#(define-music-function
(parser location instrument name dir music)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, workaround"
doctitle = "Adding parentheses around an expressive mark or chordal note"
} % begin verbatim
-
\relative c' {
c2-\parenthesize ->
\override ParenthesesItem.padding = #0.1
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "really-cool, scheme-language, text, titles"
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)))
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.30
-\version "2.17.30"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides"
texidoc = "
-Skipped beats in very long glissandi are sometimes indicated by
-timing marks, often consisting of stems without noteheads. Such
-stems can also be used to carry intermediate expression markings.
+Skipped beats in very long glissandi are sometimes indicated by timing
+marks, often consisting of stems without noteheads. Such stems can
+also be used to carry intermediate expression markings.
-If the stems do not align well with the glissando, they may need to
-be repositioned slightly.
-"
+If the stems do not align well with the glissando, they may need to be
+repositioned slightly.
+"
doctitle = "Adding timing marks to long glissandi"
} % begin verbatim
-
glissandoSkipOn = {
\override NoteColumn.glissando-skip = ##t
\hide NoteHead
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "repeats"
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' } }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "simultaneous-notes"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
doctitle = "Adjusting grace note spacing"
} % begin verbatim
-
graceNotes = {
\grace { c4 c8 c16 c32 }
c8
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
- lsrtags = "correction-wanted, spacing, text, vocal-music, workaround"
+ lsrtags = "spacing, text, tweaks-and-overrides, vocal-music, workaround"
texidoc = "
This snippet shows how to bring the lyrics line closer to the staff.
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "paper-and-layout, text, titles"
doctitle = "Aligning and centering instrument names"
} % begin verbatim
-
\paper {
left-margin = 3\cm
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Aligning bar numbers"
} % begin verbatim
-
\relative c' {
\set Score.currentBarNumber = #111
\override Score.BarNumber.break-visibility = #all-visible
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "text"
doctitle = "Aligning objects created with the \\mark command"
} % begin verbatim
-
\relative c' {
c1 \mark "(Center)"
c1
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, fretted-strings, spacing, specific-notation"
doctitle = "Allowing fingerings to be printed inside the staff"
} % begin verbatim
-
\relative c' {
<c-1 e-2 g-3 b-5>2
\override Fingering.staff-padding = #'()
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "pitches, tweaks-and-overrides"
doctitle = "Altering the length of beamed stems"
} % begin verbatim
-
\relative c'' {
\override Stem.details.beamed-lengths = #'(2)
a8[ a] a16[ a] a32[ a]
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.16.0
-\version "2.16.0"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, staff-notation, tweaks-and-overrides"
- texidoc = "Two alternative methods for bar numbering can be set,
- especially for when using repeated music."
+
+ texidoc = "
+Two alternative methods for bar numbering can be set, especially for
+when using repeated music.
+
+"
doctitle = "Alternative bar numbering"
} % begin verbatim
-
\relative c'{
\set Score.alternativeNumberingStyle = #'numbers
\repeat volta 3 { c4 d e f | }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, rhythms"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "pitches, vocal-music"
doctitle = "Ambitus with multiple voices"
} % begin verbatim
-
\new Staff \with {
\consists "Ambitus_engraver"
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "pitches, vocal-music"
doctitle = "Ambitus"
} % begin verbatim
-
\layout {
\context {
\Voice
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, really-simple, tweaks-and-overrides"
doctitle = "Analysis brackets above the staff"
} % begin verbatim
-
\layout {
\context {
\Voice
\consists "Horizontal_bracket_engraver"
}
}
+
\relative c'' {
\once \override HorizontalBracket.direction = #UP
c2\startGroup
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.6
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
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.
+
"
doctitle = "Ancient fonts"
} % begin verbatim
-
upperStaff = \new VaticanaStaff = "upperStaff" <<
\context VaticanaVoice <<
\transpose c c {
\override NoteHead.style = #'vaticana.inclinatum
a! b ces'
\bar "|"
- % \break % 1 (8*1)
\override NoteHead.style = #'vaticana.quilisma
b! des'! ges! fes!
\override NoteHead.style = #'vaticana.reverse.plica
c d
\bar "|"
- % \break %2 (8*1)
\override NoteHead.style = #'vaticana.punctum.cavum
es f
g f
\override NoteHead.style = #'vaticana.linea.punctum
\once \override Staff.BarLine.bar-extent = #'(-1 . 1) \bar "|"
- % \break % 3 (8*1)
es d
\override NoteHead.style = #'vaticana.epiphonus
\clef "medicaea-fa2"
ces des
\bar "|"
- % \break % 4 (8*1)
e! f! ges
\clef "medicaea-do2"
\override NoteHead.style = #'medicaea.virga
b! a!
\bar "|"
- % \break % 5 (8*1)
ges fes
\clef "medicaea-fa1"
\clef "hufnagel-fa2"
ces des es
\bar "|"
- % \break % 6 (8*1)
fes ges
\clef "hufnagel-do2"
\override NoteHead.style = #'hufnagel.virga
bes! as!
\bar "|"
- % \break % 7 (8*1)
ges! fes!
\clef "hufnagel-do-fa"
\override NoteHead.style = #'hufnagel.punctum
es! des ces des! es! fes!
\bar "||"
- % \break % 8 (8*1)
s32*1
- % \break % 12 (32*1)
}
>>
>>
\clef "neomensural-c2"
cis1
\bar "|"
- % \break % 2 (16*1)
\[ g\breve dis''\longa \]
b\breve \[ a\longa d\longa \]
\clef "petrucci-c2"
- % \break % 4 (16*1)
fis1 ces1
\clef "petrucci-c2"
\clef "mensural-c2"
r\breve
\bar "|"
- % \break % 5 (8*1)
r2
\clef "mensural-g"
\clef "petrucci-f"
r\breve
\bar "|"
- % \break % 6 (8*1)
r\breve
\clef "mensural-f"
\clef "mensural-f"
e\breve f g a1
\clef "mensural-g"
- % \break % 7 (8*1)
\[ bes'!\longa a'!\longa c''!\longa \]
e'1 d' c' d' \bar "|"
\bar "|"
- % \break % 9 (16*1)
bes'!\longa fis'!1 as'!1 ges'!\longa % lig
\set Staff.forceClef = ##t
\clef "mensural-g"
e'2 d' c' \bar "|"
- % \break % 11 (16*1)
\set Staff.forceClef = ##t
\clef "petrucci-g"
\set Staff.forceClef = ##t
\clef "mensural-g"
es'! des'! cis'!1 \bar "||"
- % \break % 12 (8*1)
}
>>
>>
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "headword"
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.30
-\version "2.17.30"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
- lsrtags = "vocal-music, ancient-notation, template"
+ lsrtags = "ancient-notation, template, vocal-music"
texidoc = "
This example demonstrates how to do modern transcription of Gregorian
doctitle = "Ancient notation template -- modern transcription of gregorian music"
} % begin verbatim
-
\include "gregorian.ly"
chant = \relative c' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "ancient-notation, real-music, really-cool, template"
doctitle = "Ancient notation template -- modern transcription of mensural music"
} % begin verbatim
-
global = {
\set Score.skipBars = ##t
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "ancient-notation"
doctitle = "Ancient time signatures"
} % begin verbatim
-
{
\override Staff.TimeSignature.style = #'neomensural
s1
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "template, vocal-music"
doctitle = "Anglican psalm template"
} % begin verbatim
-
SopranoMusic = \relative g' {
g1 | c2 b | a1 | \bar "||"
a1 | d2 c | c b | c1 | \bar "||"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, pitches"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "world-music"
doctitle = "Arabic improvisation"
} % begin verbatim
-
\include "arabic.ly"
\relative sol' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
doctitle = "Asymmetric slurs"
} % begin verbatim
-
slurNotes = { d,8( a' d f a f' d, a) }
\relative c' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "automatic-notation, connecting-notes, rhythms"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
texidoc = "
-<code>shiftDurations</code> can be used to change the note lengths of a
-piece of music. It takes two arguments - the scaling factor as a power
-of two, and the number of dots to be added as a positive integer.
+@code{shiftDurations} can be used to change the note lengths of a piece
+of music. It takes two arguments - the scaling factor as a power of
+two, and the number of dots to be added as a positive integer.
"
doctitle = "Automatically change durations"
} % begin verbatim
-
\paper { indent = 0 }
music = \relative c'' { a1 b2 c4 d8 r }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, pitches"
\relative c'' {
\time 3/4
- \autoBeamOff
a8 b g f b g |
- c b d c b c
+ c b d c b c |
}
\layout {
\context {
\Voice
\consists "Melody_engraver"
- \override Stem.neutral-direction = #'()
+ \autoBeamOff
+ \stemNeutral
}
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "chords, editorial-annotations, rhythms, tweaks-and-overrides"
doctitle = "Avoiding collisions with chord fingerings"
} % begin verbatim
-
\relative c' {
\set fingeringOrientations = #'(up)
\set stringNumberOrientations = #'(up)
<f c'\5>8
<f c'-\rightHandFinger #2 >8
- % Corrected to avoid collisions
+ % No tweak needed
r8
- \override Fingering.add-stem-support = ##t
<f c'-5>8
- \override StringNumber.add-stem-support = ##t
<f c'\5>8
+ % Corrected to avoid collisions
\override StrokeFinger.add-stem-support = ##t
<f c'-\rightHandFinger #2 >8
}
+++ /dev/null
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.6
-\version "2.17.6"
-
-\header {
- lsrtags = "chords, fretted-strings"
-
- texidoc = "
-Here is how to print bar chords, or half-bar chords (just uncomment the
-appropriate line for to select either one).
-
-The syntax is @code{\\bbarre #\"@var{fret number}\" @{ notes @} }.
-"
- doctitle = "Bar chords notation for Guitar (with Text Spanner)"
-} % begin verbatim
-
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% %%%%%%% Cut here ----- Start 'bbarred.ly'
-
-%% C with slash -------------------------------
-cWithSlash = \markup {
- \combine \roman C \translate #'(0.6 . -0.4) \draw-line #'(0 . 2.0)
-}
-%% Span -----------------------------------
-%% Syntax: \bbarre #"text" { notes } - text = any number of box
-bbarre =
-#(define-music-function (barre location str music) (string? ly:music?)
- (let ((elts (extract-named-music music '(NoteEvent EventChord))))
- (if (pair? elts)
- (let ((first-element (first elts))
- (last-element (last elts)))
- (set! (ly:music-property first-element 'articulations)
- (cons (make-music 'TextSpanEvent 'span-direction -1)
- (ly:music-property first-element 'articulations)))
- (set! (ly:music-property last-element 'articulations)
- (cons (make-music 'TextSpanEvent 'span-direction 1)
- (ly:music-property last-element 'articulations))))))
- #{
- \once \override TextSpanner.font-size = #-2
- \once \override TextSpanner.font-shape = #'upright
- \once \override TextSpanner.staff-padding = #3
- \once \override TextSpanner.style = #'line
- \once \override TextSpanner.to-barline = ##f
- \once \override TextSpanner.bound-details =
- #`((left
- (text . ,#{ \markup { \draw-line #'( 0 . -.5) } #})
- (Y . 0)
- (padding . 0.25)
- (attach-dir . -2))
- (right
- (text . ,#{ \markup { \cWithSlash #str } #})
- (Y . 0)
- (padding . 0.25)
- (attach-dir . 2)))
-%% uncomment this line for make full barred
- % \once \override TextSpanner.bound-details.left.text = \markup { "B" #str }
- $music
- #})
-
-%% %%%%%%% Cut here ----- End 'bbarred.ly'
-%% Copy and change the last line for full barred. Rename in 'fbarred.ly'
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-%% Syntaxe: \bbarre #"text" { notes } - text = any number of box
-\relative c'{ \clef "G_8" \stemUp \bbarre #"III" { <f a'>16[ c' d c d8] } }
--- /dev/null
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
+
+\header {
+ lsrtags = "chords, fretted-strings"
+
+ texidoc = "
+Here is how to print bar chords (or barre chords) or half-bar chords
+(just uncomment the appropriate line for to select either one). The
+syntax is : @code{\\bbarre #'fret_number' note(s)}
+
+
+
+
+
+
+"
+ doctitle = "Bar chords notation for Guitar (with Text Spanner)"
+} % begin verbatim
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% %%%%%%% Cut here ----- Start 'bbarred.ly'
+
+%% C with slash -------------------------------
+cWithSlash = \markup {
+ \combine \roman C \translate #'(0.6 . -0.4) \draw-line #'(0 . 2.0)
+}
+%% Span -----------------------------------
+%% Syntax: \bbarre #"text" { notes } - text = any number of box
+bbarre =
+#(define-music-function (barre location str music) (string? ly:music?)
+ (let ((elts (extract-named-music music '(NoteEvent EventChord))))
+ (if (pair? elts)
+ (let ((first-element (first elts))
+ (last-element (last elts)))
+ (set! (ly:music-property first-element 'articulations)
+ (cons (make-music 'TextSpanEvent 'span-direction -1)
+ (ly:music-property first-element 'articulations)))
+ (set! (ly:music-property last-element 'articulations)
+ (cons (make-music 'TextSpanEvent 'span-direction 1)
+ (ly:music-property last-element 'articulations))))))
+ #{
+ \once \override TextSpanner.font-size = #-2
+ \once \override TextSpanner.font-shape = #'upright
+ \once \override TextSpanner.staff-padding = #3
+ \once \override TextSpanner.style = #'line
+ \once \override TextSpanner.to-barline = ##f
+ \once \override TextSpanner.bound-details =
+ #`((left
+ (text . ,#{ \markup { \draw-line #'( 0 . -.5) } #})
+ (Y . 0)
+ (padding . 0.25)
+ (attach-dir . -2))
+ (right
+ (text . ,#{ \markup { \cWithSlash #str } #})
+ (Y . 0)
+ (padding . 0.25)
+ (attach-dir . 2)))
+%% uncomment this line for make full barred
+ % \once \override TextSpanner.bound-details.left.text = \markup { "B" #str }
+ $music
+ #})
+
+%% %%%%%%% Cut here ----- End 'bbarred.ly'
+%% Copy and change the last line for full barred. Rename in 'fbarred.ly'
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% Syntaxe: \bbarre #"text" { notes } - text = any number of box
+\relative c'{ \clef "G_8" \stemUp \bbarre #"III" { <f a'>16[ c' d c d8] } }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Beam endings in Score context"
} % begin verbatim
-
\relative c'' {
\time 5/4
% Set default beaming for all staves
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Beams across line breaks"
} % begin verbatim
-
\relative c'' {
\override Beam.breakable = ##t
c8 c[ c] c[ c] c[ c] c[ \break
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, really-cool, text"
doctitle = "Blanking staff lines using the \\whiteout command"
} % begin verbatim
+\layout {
+ ragged-right = ##f
+}
-\layout { ragged-right = ##f }
\relative c' {
\override TextScript.extra-offset = #'(2 . 4)
c2-\markup { \whiteout \pad-markup #0.5 "middle C" } c
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "paper-and-layout"
doctitle = "Book parts"
} % begin verbatim
-
#(set-default-paper-size "a6")
\book {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, symbols-and-glyphs"
doctitle = "Breathing signs"
} % begin verbatim
-
\new Staff \relative c'' {
\key es \major
\time 3/4
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.19.2
-\version "2.19.2"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "contemporary-notation, expressive-marks, symbols-and-glyphs"
texidoc = "
In order to make parts of a crescendo hairpin invisible, the following
method is used: A white rectangle is drawn on top of the respective
-part of the crescendo hairpin, making it invisible.
+part of the crescendo hairpin, making it invisible. The rectangle is
+defined as postscript code within a text markup.
-The markup command @code{with-dimensions} tells LilyPond to consider only
-the bottom edge of the rectangle when spacing it against the hairpin.
-The property @code{staff-padding} prevents the rectangle from fitting
-between the hairpin and staff.
+The markup command @code{with-dimensions} tells LilyPond to consider
+only the bottom edge of the rectangle when spacing it against the
+hairpin. The property @code{staff-padding} prevents the rectangle from
+fitting between the hairpin and staff.
-Make sure to put the hairpin in a lower layer than the text markup to
-draw the rectangle over the hairpin.
+Make sure the hairpin is in a lower layer than the text markup to draw
+the rectangle over the hairpin.
"
doctitle = "Broken Crescendo Hairpin"
} % begin verbatim
-
\relative c' {
<<
{
des16_\markup \with-dimensions #'(2 . 7) #'(0 . 0)
\with-color #white
\filled-box #'(2 . 7) #'(0 . 2) #0
- r8. des4 ~ 16->\sff
+ r8. des4 ~ des16->\sff r8.
}
>>
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, symbols-and-glyphs, tweaks-and-overrides"
doctitle = "Caesura (\"railtracks\") with fermata"
} % begin verbatim
-
\relative c'' {
c2.
% construct the symbol
\override BreathingSign.text = \markup {
- \line {
- \musicglyph #"scripts.caesura.curved"
- \translate #'(-1.75 . 1.6)
- \musicglyph #"scripts.ufermata"
+ \override #'(direction . 1)
+ \override #'(baseline-skip . 1.8)
+ \dir-column {
+ \translate #'(0.155 . 0)
+ \center-align \musicglyph #"scripts.caesura.curved"
+ \center-align \musicglyph #"scripts.ufermata"
}
}
\breathe c4
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, really-cool, scheme-language, text"
hairpinWithCenteredText =
#(define-music-function (parser location text) (markup?)
-#{
- \once \override Voice.Hairpin.after-line-breaking =
- #(lambda (grob)
- (let* ((stencil (ly:hairpin::print grob))
- (par-y (ly:grob-parent grob Y))
- (dir (ly:grob-property par-y 'direction))
- (new-stencil (ly:stencil-aligned-to
- (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))
- X LEFT))
- (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)))
- (par-x (ly:grob-parent grob X))
- (dyn-text (eq? (grob-name par-x) 'DynamicText ))
- (dyn-text-stencil-x-length
- (if dyn-text
- (interval-length
- (ly:stencil-extent (ly:grob-property par-x 'stencil) X))
- 0))
- (x-shift
- (if dyn-text
- (-
- (+ staff-space dyn-text-stencil-x-length)
- (* 0.5 staff-line-thickness)) 0)))
+ #{
+ \once \override Voice.Hairpin.after-line-breaking =
+ #(lambda (grob)
+ (let* ((stencil (ly:hairpin::print grob))
+ (par-y (ly:grob-parent grob Y))
+ (dir (ly:grob-property par-y 'direction))
+ (new-stencil (ly:stencil-aligned-to
+ (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))
+ X LEFT))
+ (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)))
+ (par-x (ly:grob-parent grob X))
+ (dyn-text (eq? (grob-name par-x) 'DynamicText ))
+ (dyn-text-stencil-x-length
+ (if dyn-text
+ (interval-length
+ (ly:stencil-extent (ly:grob-property par-x 'stencil) X))
+ 0))
+ (x-shift
+ (if dyn-text
+ (-
+ (+ staff-space dyn-text-stencil-x-length)
+ (* 0.5 staff-line-thickness)) 0)))
- (ly:grob-set-property! grob 'Y-offset 0)
- (ly:grob-set-property! grob 'stencil
- (ly:stencil-translate-axis
- new-stencil
- x-shift X))))
-#})
+ (ly:grob-set-property! grob 'Y-offset 0)
+ (ly:grob-set-property! grob 'stencil
+ (ly:stencil-translate-axis
+ new-stencil
+ x-shift X))))
+ #})
hairpinMolto =
\hairpinWithCenteredText \markup { \italic molto }
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.7
-\version "2.17.7"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, repeats, staff-notation"
texidoc = "
-Scores of large ensemble works often have bar numbers placed beneath the
-system, centered horizontally on the measure's extent. This snippet shows
-how the @code{Measure_counter_engraver} may be used to simulate this
-notational practice. Here, the engraver has been added to a @code{Dynamics}
-context.
+Scores of large ensemble works often have bar numbers placed beneath
+the system, centered horizontally on the measure's extent. This
+snippet shows how the @code{Measure_counter_engraver} may be used to
+simulate this notational practice. Here, the engraver has been added
+to a @code{Dynamics} context.
"
-
doctitle = "Centered measure numbers"
} % begin verbatim
-
\layout {
\context {
\Dynamics
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.6
-\version "2.17.6"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
- lsrtags = "text, tweaks-and-overrides, contexts-and-engravers"
+ lsrtags = "contexts-and-engravers, text, tweaks-and-overrides"
+
texidoc = "
For technical reasons, text scripts attached to note heads cannot
easily be centered on a note head's width, unlike articulations.
Instead of using trial-and-error offset tweaks, this snippet uses a
Scheme engraver to reset the horizontal parent of each markup to a
-@code{NoteColumn}. This also allows text to follow note heads which have
-been shifted via @code{force-hshift}.
+@code{NoteColumn}. This also allows text to follow note heads which
+have been shifted via @code{force-hshift}.
+
+
+
"
doctitle = "Centering markup on note heads automatically"
} % begin verbatim
-
#(define (Text_align_engraver ctx)
(let ((scripts '())
(note-column #f))
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, scheme-language, specific-notation, symbols-and-glyphs, unfretted-strings"
doctitle = "Changing \\flageolet mark size"
} % begin verbatim
-
smallFlageolet =
#(let ((m (make-articulation "flageolet")))
(set! (ly:music-property m 'tweaks)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, really-simple, simultaneous-notes, specific-notation, tweaks-and-overrides"
doctitle = "Changing a single note's size in a chord"
} % 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 }
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Changing beam knee gap"
} % begin verbatim
-
{
f8 f''8 f8 f''8
\override Beam.auto-knee-gap = #6
--- /dev/null
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
+
+\header {
+ lsrtags = "tweaks-and-overrides"
+
+ texidoc = "
+To make beams thicker or thinner alter the @code{Beam.beam-thickness}
+property. To adjust the spacing between beams alter the
+@code{Beam.length-fraction} property.
+
+"
+ doctitle = "Changing beam thickness and spacing"
+} % begin verbatim
+
+\relative f' {
+ \time 1/8
+ \override Beam.beam-thickness = #0.4
+ \override Beam.length-fraction = #0.8
+ c32 c c c
+ \revert Beam.beam-thickness % 0.48 is default thickness
+ \revert Beam.length-fraction % 1.0 is default spacing
+ c32 c c c
+ \override Beam.beam-thickness = #0.6
+ \override Beam.length-fraction = #1.3
+ c32 c c c
+}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords"
doctitle = "Changing chord separator"
} % begin verbatim
-
\chords {
c:7sus4
\set chordNameSeparator
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
doctitle = "Changing form of multi-measure rests"
} % begin verbatim
-
\relative c'' {
\compressFullBarRests
R1*2 | R1*5 | R1*9
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
doctitle = "Changing fret orientations"
} % begin verbatim
-
\include "predefined-guitar-fretboards.ly"
<<
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, midi, real-music"
When outputting MIDI, the default behavior is for each staff to
represent one MIDI channel, with all the voices on a staff amalgamated.
This minimizes the risk of running out of MIDI channels, since there
-are only 16 available per MIDI port, and most devices support only one
-port.
+are only 16 available per track.
However, by moving the @code{Staff_performer} to the @code{Voice}
context, each voice on a staff can have its own MIDI channel, as is
doctitle = "Changing MIDI output to one channel per voice"
} % begin verbatim
-
\score {
\new Staff <<
\new Voice \relative c''' {
\time 2/2
r2 g-"Flute" ~
g fis ~
- 4 g8 fis e2 ~
- 4 d8 cis d2
+ fis4 g8 fis e2 ~
+ e4 d8 cis d2
}
\new Voice \relative c'' {
\set midiInstrument = #"clarinet"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "simultaneous-notes"
doctitle = "Changing partcombine texts"
} % begin verbatim
-
\new Staff <<
\set Staff.soloText = #"girl"
\set Staff.soloIIText = #"boy"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "really-cool, scheme-language, tweaks-and-overrides"
doctitle = "Changing properties for individual grobs"
} % begin verbatim
-
#(define (mc-squared grob grob-origin context)
(let ((sp (ly:grob-property grob 'staff-position)))
(if (grob::has-interface grob 'note-head-interface)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "really-simple, vocal-music"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
doctitle = "Changing text and spanner styles for text dynamics"
} % begin verbatim
-
\relative c'' {
\set crescendoText = \markup { \italic { cresc. poco } }
\set crescendoSpanner = #'text
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "pitches"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "connecting-notes, editorial-annotations, expressive-marks, really-simple"
doctitle = "Changing the appearance of a slur from solid to dotted or dashed"
} % begin verbatim
-
\relative c' {
c4( d e c)
\slurDotted
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords, really-simple"
doctitle = "Changing the chord names to German or semi-German notation"
} % begin verbatim
-
-music = \chordmode {
+scm = \chordmode {
c1/c | cis/cis
b1/b | bis/bis | bes/bes
}
-%% The following is only here to print the names of the
-%% chords styles; it can be removed if you do not need to
-%% print them.
\layout {
+ ragged-right = ##t
\context {
\ChordNames
\consists "Instrument_name_engraver"
<<
\new ChordNames {
- \set ChordNames.instrumentName = #"default"
- \music
+ \set instrumentName = #"default"
+ \scm
+ }
+ \new ChordNames {
+ \set instrumentName = #"german"
+ \germanChords \scm
}
\new ChordNames {
- \set ChordNames.instrumentName = #"german"
- \germanChords \music }
+ \set instrumentName = #"semi-german"
+ \semiGermanChords \scm
+ }
\new ChordNames {
- \set ChordNames.instrumentName = #"semi-german"
- \semiGermanChords \music }
- \context Voice { \music }
+ \set instrumentName = #"italian"
+ \italianChords \scm
+ }
+ \new ChordNames {
+ \set instrumentName = #"french"
+ \frenchChords \scm
+ }
+ \context Voice { \scm }
>>
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "text, tweaks-and-overrides"
doctitle = "Changing the default text font family"
} % begin verbatim
-
\paper {
% change for other default global staff size.
myStaffSize = #20
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "pitches"
doctitle = "Changing the interval of lines on the stave"
} % begin verbatim
-
scale = \relative c' {
a4 ais b c
cis4 d dis e
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, rhythms"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "specific-notation, staff-notation"
doctitle = "Changing the number of lines in a staff"
} % begin verbatim
-
upper = \relative c'' {
c4 d e f
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords"
doctitle = "Changing the positions of figured bass alterations"
} % begin verbatim
-
\figures {
<6\+> <5+> <6 4-> r
\set figuredBassAlterationDirection = #RIGHT
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "winds"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "paper-and-layout, staff-notation, tweaks-and-overrides"
doctitle = "Changing the staff size"
} % begin verbatim
-
<<
\new Staff {
\relative c'' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "midi, rhythms, tweaks-and-overrides"
doctitle = "Changing the tempo without a metronome mark"
} % begin verbatim
-
\score {
\new Staff \relative c' {
\tempo 4 = 160
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "keyboards, tweaks-and-overrides"
doctitle = "Changing the text for sustain markings"
} % begin verbatim
-
sustainNotes = { c4\sustainOn d e\sustainOff\sustainOn f\sustainOff }
\relative c' {
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.30
-\version "2.17.30"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "rhythms"
texidoc = "
By default, only the numerator of the tuplet number is printed over the
-tuplet bracket. Alternatively, num:den of the tuplet number may
-be printed, or the tuplet number may be suppressed altogether.
+tuplet bracket, i.e., the denominator of the argument to the
+@code{\\times} command.
+
+Alternatively, num:den of the tuplet number may be printed, or the
+tuplet number may be suppressed altogether.
"
doctitle = "Changing the tuplet number"
} % begin verbatim
-
-
\relative c'' {
\tuplet 3/2 { c8 c c }
\tuplet 3/2 { c8 c c }
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.11
-\version "2.17.11"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
- lsrtags = "workaround, contexts-and-engravers, contemporary-notation, rhythms"
+ lsrtags = "contemporary-notation, contexts-and-engravers, rhythms, workaround"
+ texidoc = "
+The @code{measureLength} property, together with
+@code{measurePosition}, determines when a bar line is needed. However,
+when using @code{\\scaleDurations}, the scaling of durations makes it
+difficult to change time signatures. In this case,
+@code{measureLength} should be set manually, using the
+@code{ly:make-moment} callback. The second argument must be the same
+as the second argument of @code{\\scaleDurations}.
+
+"
doctitle = "Changing time signatures inside a polymetric section using \\scaleDurations"
} % begin verbatim
-
-
\layout {
\context {
\Score
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.6
-\version "2.17.6"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
- lsrtags = "rhythms, vocal-music, ancient-notation, contexts-and-engravers, specific-notation"
+ lsrtags = "ancient-notation, contexts-and-engravers, rhythms, specific-notation, vocal-music"
texidoc = "
-This form of notation is used for the chant of the Psalms, where verses
-aren't always the same length.
+This form of notation is used for Psalm chant, where verses aren't
+always the same length.
"
doctitle = "Chant or psalms notation"
} % begin verbatim
-
stemOff = \hide Staff.Stem
stemOn = \undo \stemOff
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
texidoc = "
-Slides for chords can be indicated in both @code{Staff} and
+Slides for chords are indicated by default in both @code{Staff} and
@code{TabStaff}. String numbers are necessary for @code{TabStaff}
because automatic string calculations are different for chords and for
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\3 e\2 g\1>1 \glissando <f\3 a\2 c\1>
+ <c e g>1 \glissando <f a c>
}
\score {
\clef "treble_8"
\myMusic
}
- \new TabStaff {
+ \new TabStaff \myMusic
+ >>
+}
+
+\score {
+ <<
+ \new Staff {
+ \clef "treble_8"
+ \myMusic
+ }
+ \new TabStaff \with { \override Glissando.style = #'none } {
\myMusic
}
>>
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords, specific-notation"
doctitle = "Chord name exceptions"
} % begin verbatim
-
% modify maj9 and 6(add9)
% Exception music is chords with markups
chExceptionMusic = {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords, specific-notation"
doctitle = "chord name major7"
} % begin verbatim
-
\chords {
c:7+
\set majorSevenSymbol = \markup { j7 }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.6
-\version "2.17.6"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "headword"
- texidoc = ""
- doctitle = "headword"
-} % begin verbatim
+ texidoc = "
+.
+"
+ doctitle = "Chords headword"
+} % begin verbatim
theChords = \chordmode {
\time 2/2
}
}
}
-\paper { }
adding-a-figured-bass-above-or-below-the-notes.ly
adding-bar-lines-to-chordnames-context.ly
avoiding-collisions-with-chord-fingerings.ly
-bar-chords-notation-for-guitar--with-text-spanner.ly
+bar-chords-notation-for-guitar-with-text-spanner.ly
changing-chord-separator.ly
changing-the-chord-names-to-german-or-semi-german-notation.ly
changing-the-positions-of-figured-bass-alterations.ly
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "pitches"
doctitle = "Clefs can be transposed by arbitrary amounts"
} % begin verbatim
-
\relative c' {
\clef treble
c4 c c c
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "paper-and-layout"
doctitle = "Clip systems"
} % begin verbatim
-
#(ly:set-option 'clip-systems)
#(define output-suffix "1")
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords, contemporary-notation, keyboards, really-cool, simultaneous-notes, specific-notation"
doctitle = "Clusters"
} % begin verbatim
-
fragment = \relative c' {
c4 f <e d'>4
<g a>8 <e a> a4 c2 <d b>4
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, pitches, really-cool"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, really-simple, text"
doctitle = "Combining dynamics with markup texts"
} % begin verbatim
-
piuF = \markup { \italic più \dynamic f }
+
\layout { ragged-right = ##f }
+
\relative c'' {
c2\f c-\piuF
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "simultaneous-notes, syntax-and-expressions, text"
doctitle = "Combining two parts on the same staff"
} % begin verbatim
+%% Combining pedal notes with clef changes
musicUp = \relative c'' {
\time 4/4
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.15
-\version "2.17.15"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "rhythms"
texidoc = "
-Odd 20th century time signatures (such as \\\"5/8\\\") can often be
-played as compound time signatures (e.g. \\\"3/8 + 2/8\\\"), which
-combine two or more inequal metrics. LilyPond can make such music quite
-easy to read and play, by explicitly printing the compound time
-signatures and adapting the automatic beaming behavior.
+Odd 20th century time signatures (such as \"5/8\") can often be played
+as compound time signatures (e.g. \"3/8 + 2/8\"), which combine two or
+more inequal metrics.
+
+LilyPond can make such music quite easy to read and play, by explicitly
+printing the compound time signatures and adapting the automatic
+beaming behavior.
"
doctitle = "Compound time signatures"
} % begin verbatim
-
\relative c' {
\compoundMeter #'((2 8) (3 8))
c8 d e fis gis
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.16.0
-\version "2.16.0"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "rhythms"
+
texidoc = "
Beat grouping within a measure is controlled by the context property
-@code{beatStructure}. Values of @code{beatStructure} are
-established for many time signatures in
-@file{scm/time-signature-settings.scm}. Values of @code{beatStructure}
-can be changed or set with @code{\\set}.
-Alternatively, @code{\\time} can be used to both
-set the time signature and establish the beat structure.
-For this, you specify the internal grouping of beats in a measure
-as a list of numbers (in Scheme syntax) before the time signature.
+@code{beatStructure}. Values of @code{beatStructure} are established
+for many time signatures in @@file@{scm/time-signature-settings.scm@}.
+Values of @code{beatStructure} can be changed or set with @code{\\set}.
+Alternatively, @code{\\time} can be used to both set the time signature
+and establish the beat structure. For this, you specify the internal
+grouping of beats in a measure as a list of numbers (in Scheme syntax)
+before the time signature.
@code{\\time} applies to the @code{Timing} context, so it will not
reset values of @code{beatStructure} or @code{baseMoment} that are set
in other lower-level contexts, such as @code{Voice}.
-If the @code{Measure_grouping_engraver} is included
-in one of the display contexts, measure grouping signs will be
-created. Such signs ease reading rhythmically complex modern music.
-In the example, the 9/8 measure is grouped in two different
-patterns using the two different methods, while the 5/8 measure
-is grouped according to the default setting in
-@file{scm/time-signature-settings.scm}:
+If the @code{Measure_grouping_engraver} is included in one of the
+display contexts, measure grouping signs will be created. Such signs
+ease reading rhythmically complex modern music. In the example, the 9/8
+measure is grouped in two different patterns using the two different
+methods, while the 5/8 measure is grouped according to the default
+setting in @@file@{scm/time-signature-settings.scm@}:
+
"
doctitle = "Conducting signs measure grouping signs"
} % begin verbatim
-
-
\score {
\new Voice \relative c'' {
\time 9/8
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
texidoc = "
When left aligning bar numbers, overlapping problems may occur with
-Staves brackets. The snippet solves this by keeping right aligned the
+Staves brackets. The snippet solves this by keeping right aligned the
first bar number following line breaks.
"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "contemporary-notation, expressive-marks, specific-notation"
doctitle = "Contemporary glissando"
} % begin verbatim
-
\relative c'' {
\time 3/4
\override Glissando.style = #'zigzag
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords, editorial-annotations, fretted-strings, keyboards, specific-notation"
doctitle = "Controlling the placement of chord fingerings"
} % begin verbatim
-
\relative c' {
\set fingeringOrientations = #'(left)
<c-1 e-3 a-5>4
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
doctitle = "Controlling the vertical ordering of scripts"
} % begin verbatim
-
\relative c''' {
\once \override TextScript.script-priority = #-100
a2^\prall^\markup { \sharp }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
doctitle = "Controlling tuplet bracket visibility"
} % begin verbatim
-
music = \relative c'' {
\tuplet 3/2 { c16[ d e } f8]
\tuplet 3/2 { c8 d e }
<< \music s4^"#t" >>
\override TupletBracket.bracket-visibility = ##f
<< \music s4^"#f" >>
+ %% v2.18 :
+ \omit TupletBracket
+ << \music s4^"omit" >>
}
}
-adjusting-lyrics-vertical-spacing.ly
horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.18.0
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
\version "2.18.0"
\header {
Creating a delayed turn, where the lower note of the turn uses the
accidental, requires several overrides. The
@code{outside-staff-priority} property must be set to @code{#f}, as
-otherwise this would take precedence over the
-@code{avoid-slur property}. Changing the fractions @code{2/3} and
-@code{1/3} adjusts the horizontal position.
+otherwise this would take precedence over the @code{avoid-slur
+property}. Changing the fractions @code{2/3} and @code{1/3} adjusts
+the horizontal position.
+
"
doctitle = "Creating a delayed turn"
} % begin verbatim
-
\relative c'' {
c2*2/3 ( s2*1/3\turn d4) r
<<
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
doctitle = "Creating arpeggios across notes in different voices"
} % begin verbatim
-
\new Staff \with {
\consists "Span_arpeggio_engraver"
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, editorial-annotations, paper-and-layout, specific-notation, staff-notation"
doctitle = "Creating blank staves"
} % begin verbatim
-
#(set-global-staff-size 20)
\score {
}
}
+% uncomment these lines for "letter" size
+%{
\paper {
#(set-paper-size "letter")
ragged-last-bottom = ##f
bottom-margin = 0.25\in
top-margin = 0.25\in
}
+%}
+
+% uncomment these lines for "A4" size
+%{
+\paper {
+ #(set-paper-size "a4")
+ ragged-last-bottom = ##f
+ line-width = 180
+ left-margin = 15
+ bottom-margin = 10
+ top-margin = 10
+}
+%}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
doctitle = "Creating cross-staff arpeggios in a piano staff"
} % begin verbatim
-
\new PianoStaff \relative c'' <<
\set PianoStaff.connectArpeggios = ##t
\new Staff {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
doctitle = "Creating cross-staff arpeggios in other contexts"
} % begin verbatim
-
\score {
\new ChoirStaff {
\set Score.connectArpeggios = ##t
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.17.15
-\version "2.17.15"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, expressive-marks, scheme-language, staff-notation, tweaks-and-overrides"
texidoc = "
Creating fingerings larger than 5 is possible.
+
"
doctitle = "Creating double-digit fingerings"
} % begin verbatim
-
\relative c' {
c1-10
c1-50
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Creating metronome marks in markup mode"
} % begin verbatim
-
\relative c' {
\tempo \markup {
\concat {
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.16.0
-\version "2.16.0"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, text, workaround"
doctitle = "Creating \"real\" parenthesized dynamics"
} % begin verbatim
-
paren =
#(define-event-function (parser location dyn) (ly:event?)
(make-dynamic-script
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, text, tweaks-and-overrides"
% the hidden measure and bar line
% \cadenzaOn turns off automatic calculation of bar numbers
\cadenzaOn
- \once \omit Score.TimeSignature
+ \once \override Score.TimeSignature.stencil = ##f
\time 1/16
s16 \bar ""
\cadenzaOff
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "connecting-notes, expressive-marks, keyboards, real-music, unfretted-strings"
doctitle = "Creating slurs across voices"
} % begin verbatim
-
\relative c' {
<<
{
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, text, tweaks-and-overrides"
doctitle = "Creating text spanners"
} % begin verbatim
-
\paper { ragged-right = ##f }
\relative c'' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "chords, keyboards, tweaks-and-overrides, workaround"
avoidance then arise. If the stems from the lower staff were used in
the following example, it would be necessary to change the automatic
beam collision avoidance settings so that it doesn't detect collisions
-between staves using @code{\\override Staff.Beam.collision-voice-only
-= ##t}
+between staves using @code{\\override Staff.Beam.collision-voice-only =
+##t}
"
doctitle = "Cross-staff chords - beaming problems workaround"
} % begin verbatim
-
\new PianoStaff <<
\new Staff = up
\relative c' {
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.16.0
-\version "2.16.0"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
\header {
- lsrtags = "staff-notation, tweaks-and-overrides, contexts-and-engravers"
+ lsrtags = "contexts-and-engravers, staff-notation, tweaks-and-overrides"
+
texidoc = "
-This snippet shows the use of the @code{Span_stem_engraver}
-and @code{\\crossStaff} to connect stems across staves automatically.
-The stem length need not be specified, as the variable distance
-between noteheads and staves is calculated automatically.
+This snippet shows the use of the @code{Span_stem_engraver} and
+@code{\\crossStaff} to connect stems across staves automatically.
+
+The stem length need not be specified, as the variable distance between
+noteheads and staves is calculated automatically.
+
"
doctitle = "Cross staff stems"
} % begin verbatim
-
\layout {
\context {
\PianoStaff
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "keyboards, real-music, repeats"
doctitle = "Cross-staff tremolos"
} % begin verbatim
-
\new PianoStaff <<
\new Staff = "up" \relative c'' {
\key a \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "ancient-notation, specific-notation, symbols-and-glyphs, tweaks-and-overrides"
doctitle = "Custodes"
} % begin verbatim
-
\layout { ragged-right = ##t }
\new Staff \with { \consists "Custos_engraver" } \relative c' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings, tweaks-and-overrides"
doctitle = "Customizing fretboard fret diagrams"
} % begin verbatim
-
\include "predefined-guitar-fretboards.ly"
\storePredefinedDiagram #default-fret-table \chordmode { c' }
#guitar-tuning
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings, tweaks-and-overrides"
doctitle = "Customizing markup fret diagrams"
} % begin verbatim
-
<<
\chords { c1 | c | c | d }
--- /dev/null
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
+
+\header {
+ lsrtags = "scheme-language, symbols-and-glyphs"
+
+ texidoc = "
+If you want to customize the position and/or number of dots in repeat
+sign bar lines, you can define new custom bar lines or redefine the way
+ default repeat signs are drawn. This snippet shows how. This may be
+particularly helpful when using a staff with custom line-positions, as
+shown in this snippet.
+
+"
+ doctitle = "Customizing the position and number of dots in repeat sign bar lines"
+} % begin verbatim
+
+% \version "2.18.0"
+
+#(define ((make-custom-dot-bar-line dot-positions) grob extent)
+
+ "Draw dots (repeat sign dots) at @var{dot-positions}. The
+coordinates of @var{dot-positions} are equivalent to the
+coordinates of @code{StaffSymbol.line-positions}, a dot-position
+of X and a line-position of X indicate the same vertical position."
+
+ (let* ((staff-space (ly:staff-symbol-staff-space grob))
+ (dot (ly:font-get-glyph (ly:grob-default-font grob) "dots.dot"))
+ (stencil empty-stencil))
+ (for-each
+ (lambda (dp)
+ (set! stencil (ly:stencil-add stencil
+ (ly:stencil-translate-axis dot (* dp (/ staff-space 2)) Y))))
+ dot-positions)
+ stencil))
+
+% With the procedure above we can define custom bar-lines, for example,
+% one that resembles standard repeat sign bar lines except it has
+% three dots at staff positions -3, 0, and 3.
+
+#(add-bar-glyph-print-procedure "*" (make-custom-dot-bar-line '(-3 0 3)))
+\defineBarLine ".|*" #'("" "*" "")
+\defineBarLine "*|." #'("" "*" "")
+
+% We can also customize the dot positions used in all default repeat signs
+% by redefining the print procedure of the colon bar glyph (":"). On a staff
+% with line-positions of '(-4 -2 2 4) the default repeat sign dots appear
+% at '(-3 3), but we can put them at '(-1 1) instead.
+
+#(add-bar-glyph-print-procedure ":" (make-custom-dot-bar-line '(-1 1)))
+
+
+\new Staff \with {
+ \override StaffSymbol.line-positions = #'(-4 -2 2 4)
+ \override StaffSymbol.staff-space = #1.3
+} {
+ \relative f' {
+ g1
+ \bar ".|*"
+ g
+ \bar "*|."
+ g
+ \bar ".|:"
+ g
+ \bar ":|."
+ g
+ \repeat volta 2 {
+ g
+ }
+ }
+}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations"
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
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
doctitle = "Defining predefined fretboards for other instruments"
} % begin verbatim
-
% add FretBoards for the Cuatro
% Note: This section could be put into a separate file
% predefined-cuatro-fretboards.ly
\layout {
\context {
\Score
- \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1/16)
+ \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
}
}
\midi { }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "midi, real-music, specific-notation"
doctitle = "Demo MidiInstruments"
} % begin verbatim
-
\header {
title = "Demo of all midi sounds"
arranger = "Myself "
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "paper-and-layout, text, titles"
doctitle = "Demonstrating all headers"
} % begin verbatim
-
\header {
copyright = "copyright"
title = "title"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "staff-notation, tweaks-and-overrides"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.15"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers"
<<
\new Staff = "Staff_flute" \with {
instrumentName = "Flute"
- shortInstrumentName = "Fl"}
- \relative c' { \repeat unfold 3 { c'4 c c c | c c c c | c c c c | \break }
+ shortInstrumentName = "Fl"
+ }
+ \relative c' {
+ \repeat unfold 3 { c'4 c c c | c c c c | c c c c | \break }
}
>>
\new StaffGroup = "StaffGroup_Strings"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "chords, simultaneous-notes, workaround"
} % begin verbatim
fixA = {
- \once \override Stem.length = #9
+ \once \override Stem.length = #11
}
+
fixB = {
\once \override NoteHead.X-offset = #1.7
+ \once \override Stem.length = #7
\once \override Stem.rotation = #'(45 0 0)
- \once \override Stem.extra-offset = #'(-0.2 . -0.2)
+ \once \override Stem.extra-offset = #'(-0.1 . -0.2)
\once \override Flag.style = #'no-flag
- \once \override Accidental.extra-offset = #'(4 . 0)
+ \once \override Accidental.extra-offset = #'(4 . -.1)
}
\relative c' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "devel, scheme-language, tweaks-and-overrides"
@{
- \\once \\override NoteHead.before-line-breaking = #display-ancestry
+ \\once \\override NoteHead #'before-line-breaking = #display-ancestry
c @}
doctitle = "Displaying grob ancestry"
} % begin verbatim
+%% http://lsr.di.unimi.it/LSR/Item?id=622
+%% see also http://www.lilypond.org/doc/v2.18/Documentation/snippets/tweaks-and-overrides#tweaks-and-overrides-displaying-grob-ancestry
+
#(define (grob-name grob)
(if (ly:grob? grob)
(assoc-ref (ly:grob-property grob 'meta) 'name)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "real-music, tweaks-and-overrides, unfretted-strings"
doctitle = "Dotted harmonics"
} % begin verbatim
-
\relative c''' {
\time 3/4
\key f \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "contemporary-notation, expressive-marks, simultaneous-notes, workaround"
doctitle = "Double glissando"
} % begin verbatim
-
\relative c {
\clef bass
<<
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, scheme-language, tweaks-and-overrides"
doctitle = "Drawing boxes around grobs"
} % begin verbatim
-
\relative c'' {
\override TextScript.stencil =
#(make-stencil-boxer 0.1 0.3 ly:text-interface::print)
b8
\revert Stem.stencil
-
\revert Flag.stencil
c4. c4
\mark "F"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations"
(ly:stencil-extent note X)
(ly:stencil-extent note Y))))
-{ \circle c' }
+{ \circle c'' }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, scheme-language, tweaks-and-overrides"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "headword"
\include "english.ly"
-% NR 1.7 Editorial annotations
-
% Beethoven, Op. 31, No. 3
% Piano sonata 18, Movt II, Scherzo
% Measures 9 - 14
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, really-cool, specific-notation, text"
doctitle = "Embedding native PostScript in a \\markup block"
} % begin verbatim
-
% PostScript is a registered trademark of Adobe Systems Inc.
\relative c'' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
doctitle = "Engravers one-by-one"
} % begin verbatim
-
%% sample music
topVoice = \relative c' {
\key d \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Engraving ties manually"
} % begin verbatim
-
\relative c' {
<c e g>2~ <c e g>
\override TieColumn.tie-configuration =
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "repeats, rhythms"
doctitle = "Engraving tremolos with floating beams"
} % begin verbatim
-
\relative c'' {
\repeat tremolo 8 { a32 f }
\override Beam.gap-count = #1
--- /dev/null
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
+
+\header {
+ lsrtags = "staff-notation, syntax-and-expressions, tweaks-and-overrides"
+
+ texidoc = "
+For @code{TrillSpanner}, the @code{minimum-length} property becomes
+effective only if the @code{set-spacing-rods} procedure is called
+explicitly. To do this, the @code{springs-and-rods} property should be
+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
+ c16( as') c,-. des-.
+ \once\override TrillSpanner.minimum-length = #15
+ \once\override TrillSpanner.springs-and-rods = #ly:spanner::set-spacing-rods
+ \afterGrace es4
+ \startTrillSpan { d16[( \stopTrillSpan es)] }
+ c( c' g es c g' es d
+ \hideNotes
+ c8)
+}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings, specific-notation, workaround"
doctitle = "Faking a hammer in tablatures"
} % begin verbatim
-
\score {
\new TabStaff {
\relative c'' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
\header {
lsrtags = "headword"
r16 d16 |
d4 bes,4 a,4 f4 |
g8 f16 g16 a8 a,8 d4 d'4 ~ |
- 8 c'8 b4 c'8 c'16 bes16 a4 |
+ d'8 c'8 b4 c'8 c'16 bes16 a4 |
bes8 bes16 a16 g4 a8 a,4 a16 g16 |
fis8 d8 e8 fis8 g8 g,4 g16 f16 |
e8 c8 d8 e8 f8 f,4 a,8 |
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "keyboards, tweaks-and-overrides"
doctitle = "Fine-tuning pedal brackets"
} % begin verbatim
-
\paper { ragged-right = ##f }
\relative c'' {
c2\sostenutoOn c
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "symbols-and-glyphs, winds"
,(ly:make-simple-closure (list
ly:self-alignment-interface::x-aligned-on-self))))
}
-\score
-{\relative c'
- {
+
+\score {
+ \relative c'{
g\open
- \once \override TextScript.staff-padding = #-1.0 \centermarkup
- g^\markup{\combine \musicglyph #"scripts.open" \musicglyph
- #"scripts.tenuto"}
- \centermarkup g^\markup{\combine \musicglyph #"scripts.open"
- \musicglyph #"scripts.stopped"}
+ \once \override TextScript.staff-padding = #-1.0
+ \centermarkup
+ g^\markup {
+ \combine
+ \musicglyph #"scripts.open"
+ \musicglyph #"scripts.tenuto"
+ }
+ \centermarkup
+ g^\markup {
+ \combine
+ \musicglyph #"scripts.open"
+ \musicglyph #"scripts.stopped"
+ }
g\stopped
}
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
doctitle = "Fingerings string indications and right-hand fingerings"
} % begin verbatim
-
#(define RH rightHandFinger)
\relative c {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings, specific-notation, stylesheet, version-specific"
doctitle = "Flamenco notation"
} % begin verbatim
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% Cut here ----- Start 'flamenco.ly'
-% Text indicators
-abanico = \markup { \italic Abanico }
-rasgueaso = \markup { \italic Ras. }
-alzapua = \markup { \italic Alzapua }
-
-% Finger stroke symbols
-strokeUp = \markup { \postscript #"
- 0.1 setlinewidth
- 0.5 0 moveto
- 0.5 2 lineto
- 0.2 1.4 lineto
- 0.5 2 moveto
- 0.8 1.4 lineto
- stroke
-"}
-
-strokeDown = \markup { \postscript #"
- 0.1 setlinewidth
- 0.5 2 moveto
- 0.5 0 lineto
- 0.2 0.6 lineto
- 0.5 0 moveto
- 0.8 0.6 lineto
- stroke
-"}
-
-% Golpe symbol
-golpe = \markup { \postscript #"
- 0.2 setlinewidth
- 0 0 moveto
- 1 0 lineto
- 1 1 lineto
- stroke
- "\postscript #"
- 0.1 setlinewidth
- -0.6 -0.1 moveto
- -0.6 1.0 lineto
- 0.5 1.0 lineto
- stroke
-"}
-
-strokeUpGolpe = \markup { \column { \golpe \line { \strokeUp } } }
-iUpGolpe = \markup { \column { \golpe \line { \small i } \line { \strokeUp } } }
-
-% Strokes for all fingers
-pUp = \markup { \column { \small p \line { \strokeUp } } }
-pDown = \markup { \column { \small p \line { \strokeDown } } }
-iUp = \markup { \column { \small i \line { \strokeUp } } }
-iDown = \markup { \column { \small i \line { \strokeDown } } }
-mUp = \markup { \column { \small m \line { \strokeUp } } }
-mDown = \markup { \column { \small m \line { \strokeDown } } }
-aUp = \markup { \column { \small a \line { \strokeUp } } }
-aDown = \markup { \column { \small a \line { \strokeDown } } }
-xUp = \markup { \column { \small x \line { \strokeUp } } }
-xDown = \markup { \column { \small x \line { \strokeDown } } }
+% Text indicators :
+abanico = ^\markup\small { \italic Abanico }
+rasgueado = ^\markup\small { \italic Ras. }
+alzapua = ^\markup\small { \italic Alzapua }
+
+% Finger stroke symbols :
+strokeUp = \markup\combine\override #'(thickness . 1.3) \draw-line #'(0 . 2)\raise #2 \arrow-head #Y #UP ##f
+strokeDown = \markup\combine\arrow-head #Y #DOWN ##f \override #'(thickness . 1.3) \draw-line #'(0 . 2)
+
+% Golpe symbol :
+golpe = \markup {
+ \filled-box #'(0 . 1) #'(0 . 1) #0
+ \hspace #-1.6
+ \with-color #white
+ \filled-box #'(0.15 . 0.85) #'(0.15 . 0.85) #0
+}
+% Strokes, fingers and golpe command :
+RHp = \rightHandFinger #1
+RHi = \rightHandFinger #2
+RHm = \rightHandFinger #3
+RHa = \rightHandFinger #4
+RHx = \rightHandFinger #5
+RHu = \rightHandFinger \strokeUp
+RHd = \rightHandFinger \strokeDown
+RHg = \rightHandFinger \golpe
% Just handy :)
tupletOff = {
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
part = \relative c' {
- <a, e' a cis e>8^\iUp
- <a e' a cis e>8^\iDown
+ \set strokeFingerOrientations = #'(up)
+ \override StrokeFinger.add-stem-support = ##t
+ \key a\major
+ <a, e' a cis e\RHu\RHi>8
+ <a e' a cis e\RHd\RHi>8
r4
- r2^\golpe
-
- <a e' a cis e>8^\iUp
- <a e' a cis e>8^\iDown
- <a e' a cis e>8^\iUpGolpe
- <a e' a cis e>8^\iDown
+ r2^\markup\golpe
+ <a e' a cis e\RHu\RHi>8
+ <a e' a cis e\RHd\RHi>8
+ <a e' a cis e\RHu\RHi\RHg>8
+ <a e' a cis e\RHd\RHi>8
r2
-
- <a e' a cis e>16^\aUp
+ <a e' a cis e\RHu\RHa>16\rasgueado
\headsOff
- <a e' a cis e>^\mUp
- <a e' a cis e>^\iUp
- <a e' a cis e>^\iDown~
+ <a e' a cis e\RHu\RHm>
+ <a e' a cis e\RHu\RHi>
+ <a e' a cis e\RHd\RHi>~
\headsOn
<a e' a cis e>2
r4
-
\tupletOff
\tuplet 5/4 {
- <a e' a cis e>16^\xUp
+ <a e' a cis e\RHu\RHx>16\rasgueado
\headsOff
- <a e' a cis e>^\aUp
- <a e' a cis e>^\mUp
- <a e' a cis e>^\iUp
- <a e' a cis e>^\iDown~
+ <a e' a cis e\RHu\RHa>
+ <a e' a cis e\RHu\RHm>
+ <a e' a cis e\RHu\RHi>
+ <a e' a cis e\RHd\RHi>~
\headsOn
}
<a e' a cis e>2
r4
-
\tupletsOff
\tuplet 3/2 {
- <a e' a cis e>8^\pDown
+ <a e' a cis e\RHd\RHp>8\abanico
\headsOff
- <a e' a cis e>^\xUp
- <a e' a cis e>^\iUp
+ <a e' a cis e\RHu\RHx>
+ <a e' a cis e\RHu\RHi>
\headsOn
}
-
\tuplet 3/2 {
- <a e' a cis e>8^\pDown
+ <a e' a cis e\RHd\RHp>8
\headsOff
- <a e' a cis e>^\xUp
- <a e' a cis e>^\iUp
+ <a e' a cis e\RHu\RHx>
+ <a e' a cis e\RHu\RHi>
\headsOn
}
-
\tuplet 3/2 {
- <a e' a cis e>8^\pDown
+ <a e' a cis e\RHd\RHp>8
\headsOff
- <a e' a cis e>^\xUp
- <a e' a cis e>^\iUp
+ <a e' a cis e\RHu\RHx>
+ <a e' a cis e\RHu\RHi>
\headsOn
}
\tuplet 3/2 {
- <a e' a cis e>8^\pDown
+ <a e' a cis e\RHd\RHp>8
\headsOff
- <a e' a cis e>^\xUp
- <a e' a cis e>^\iUp
+ <a e' a cis e\RHu\RHx>
+ <a e' a cis e\RHu\RHi>
\headsOn
}
-
\tupletsOff
\override Beam.positions = #'(2 . 2)
\tuplet 3/2 {
- a8^\markup{ \small p }
- <e' a>^\strokeUpGolpe
- <e a>^\strokeDown
+ a8\RHp\alzapua
+ <e' a\RHu\RHg>
+ <e a\RHd>
}
\tuplet 3/2 {
- a,8^\markup{ \small p }
- <e' a>^\strokeUpGolpe
- <e a>^\strokeDown
+ a,8\RHp
+ <e' a\RHu\RHg>
+ <e a\RHd>
}
\tuplet 3/2 {
- a,8^\markup{ \small p }
- <e' a>^\strokeUpGolpe
- <e a>^\strokeDown
+ a,8\RHp
+ <e' a\RHu\RHg>
+ <e a\RHd>
}
\tuplet 3/2 {
- a,8^\markup{ \small p }
- <e' a>^\strokeUpGolpe
- <e a>^\strokeDown
+ a,8\RHp
+ <e' a\RHu\RHg>
+ <e a\RHd>
}
\tupletsOn
-
- \once \override TextScript.extra-offset = #'(0 . -1)
- <g, b f'>1_\golpe^\mUp
+ <a, e' a\RHu\RHm>1
\bar "|."
}
\score {
\new StaffGroup <<
\context Staff = "part" <<
- \clef G
- \transpose c c'
+ \clef "G_8"
{
\part
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "contemporary-notation, winds"
doctitle = "Flute slap notation"
} % begin verbatim
-
slap =
#(define-music-function (parser location music) (ly:music?)
#{
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "pitches"
doctitle = "Forcing a clef symbol to be displayed"
} % begin verbatim
-
\relative c' {
\clef treble
c1
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "simultaneous-notes, tweaks-and-overrides"
doctitle = "Forcing horizontal shift of notes"
} % begin verbatim
-
\relative c' <<
{
<d g>2 <d g>
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "vocal-music"
doctitle = "Forcing hyphens to be shown"
} % begin verbatim
-
\relative c'' {
c32 c c c
c32 c c c
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "staff-notation, workaround"
texidoc = "
-By default, metronome marks do not influence horizontal spacing. This
-has one downside: when using compressed rests, some metronome marks may
-be too close and therefore are printed vertically stacked, as
-demonstrated in the first part of this example. This can be solved
-through a simple override, as shown in the second half of the example.
+By default, metronome marks do not influence horizontal spacing. This
+can be solved through a simple override, as shown in the second half of
+the example.
"
doctitle = "Forcing measure width to adapt to MetronomeMark's width"
} % begin verbatim
-
example = {
\tempo "Allegro"
R1*6
{
\compressFullBarRests
-
\example
-
R1
R1
-
- \override Score.MetronomeMark.extra-spacing-width = #'(0 . 0)
+ \override Score.MetronomeMark.extra-spacing-width = #'(-3 . 0)
\example
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "automatic-notation, preparing-parts, really-simple, rhythms"
doctitle = "Forcing rehearsal marks to start from a given letter or number"
} % begin verbatim
-
\relative c'' {
c1 \mark \default
c1 \mark \default
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "text, vocal-music"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings, tweaks-and-overrides"
doctitle = "Fret diagrams explained and developed"
} % begin verbatim
-
<<
\chords {
a2 a
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
\score {
<<
- \new Staff {
+ \new Staff
+ \with { \omit StringNumber } {
\new Voice {
\clef "treble_8"
\harmonics
adding-fingerings-to-a-score.ly
adding-fingerings-to-tablatures.ly
allowing-fingerings-to-be-printed-inside-the-staff.ly
-bar-chords-notation-for-guitar--with-text-spanner.ly
+bar-chords-notation-for-guitar-with-text-spanner.ly
changing-fret-orientations.ly
chord-glissando-in-tablature.ly
chordchanges-for-fretboards.ly
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "pitches, really-cool, scheme-language"
doctitle = "Generating random notes"
} % begin verbatim
-
\score {
{
$(let ((random-state (seed->random-state (current-time))))
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "automatic-notation, really-cool, scheme-language"
"
doctitle = "Generating whole scores (also book parts) in scheme without using the parser"
} % begin verbatim
+%%
#(define-public (add-score parser score)
(ly:parser-define! parser 'toplevel-scores
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "winds"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations"
doctitle = "Grid lines: changing their appearance"
} % begin verbatim
-
\score {
\new ChoirStaff <<
\new Staff {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations"
doctitle = "Grid lines: emphasizing rhythms and notes synchronization"
} % begin verbatim
-
\score {
\new ChoirStaff {
\relative c'' <<
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings, rhythms"
doctitle = "Guitar strum rhythms"
} % begin verbatim
-
\include "predefined-guitar-fretboards.ly"
<<
\new ChordNames {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
doctitle = "Hairpins with different line styles"
} % begin verbatim
-
\relative c' {
c2\< c\!
\override Hairpin.style = #'dashed-line
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
\header {
lsrtags = "pitches"
\relative c'' {
\override Accidental.hide-tied-accidental-after-break = ##t
- cis1~ 1~
+ cis1~ cis~
\break
cis
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
doctitle = "Hiding the extender line for text dynamics"
} % begin verbatim
-
\relative c'' {
\override DynamicTextSpanner.style = #'none
\crescTextCresc
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings, specific-notation, tweaks-and-overrides"
doctitle = "How to change fret diagram position"
} % begin verbatim
-
harmonies = \chordmode
{
a8:13
b4.~^\markup { \fret-diagram #"6-x;5-2;4-4;3-2;2-2;1-4;" } b4. a8\break
% HERE IS THE SECOND METHOD
<<
- { a8 b4.~ 4. a8}
+ { a8 b4.~ b4. a8}
{ s4 s4 s4^\markup { \fret-diagram #"6-x;5-2;4-4;3-2;2-2;1-4;" }
}
>>
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, expressive-marks, staff-notation, tweaks-and-overrides"
doctitle = "How to print two rehearsal marks above and below the same barline (method 2)"
} % begin verbatim
-
\score {
\relative c'
<<
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "specific-notation, symbols-and-glyphs, text, vocal-music"
doctitle = "How to put ties between syllables in lyrics"
} % begin verbatim
-
\lyrics {
wa~o~a
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "template, vocal-music"
doctitle = "Hymn template"
} % begin verbatim
-
Timeline = {
\time 4/4
\tempo 4=96
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "keyboards, real-music"
doctitle = "Indicating cross-staff chords with arpeggio bracket"
} % begin verbatim
-
\new PianoStaff <<
\set PianoStaff.connectArpeggios = ##t
\override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
doctitle = "Inserting a caesura"
} % begin verbatim
-
\relative c'' {
\override BreathingSign.text = \markup {
\musicglyph #"scripts.caesura.straight"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "repeats"
doctitle = "Isolated percent repeats"
} % begin verbatim
-
makePercent =
#(define-music-function (parser location note) (ly:music?)
"Make a percent repeat the same length as NOTE."
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "pitches, tweaks-and-overrides"
doctitle = "Keep change clefs full sized"
} % begin verbatim
-
\relative c' {
\clef "treble"
c1
accordion-discant-symbols.ly
-accordion-registers.ly
+accordion-register-symbols.ly
changing-the-text-for-sustain-markings.ly
clusters.ly
controlling-the-placement-of-chord-fingerings.ly
piano-template-simple.ly
piano-template-with-centered-lyrics.ly
piano-template-with-melody-and-lyrics.ly
+removing-brace-on-first-line-of-piano-score.ly
using-autochange-with-more-than-one-voice.ly
vocal-ensemble-template-with-automatic-piano-reduction.ly
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "connecting-notes, contemporary-notation, expressive-marks, fretted-strings, keyboards, specific-notation"
doctitle = "Laissez vibrer ties"
} % begin verbatim
-
\relative c' {
<c e g>4\laissezVibrer r <c f g>\laissezVibrer r
<c d f g>4\laissezVibrer r <c d f g>4.\laissezVibrer r8
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings, staff-notation"
doctitle = "Letter tablature formatting"
} % begin verbatim
-
music = \relative c {
c4 d e f
g4 a b c
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
doctitle = "Line arrows"
} % begin verbatim
-
\relative c'' {
\override TextSpanner.bound-padding = #1.0
\override TextSpanner.style = #'line
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "really-simple, text, vocal-music"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
doctitle = "Makam example"
} % begin verbatim
-
% Initialize makam settings
\include "makam.ly"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, rhythms"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, really-cool, staff-notation, workaround"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords"
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>
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "connecting-notes, rhythms, tweaks-and-overrides"
doctitle = "Manually controlling beam positions"
} % begin verbatim
-
\relative c' {
\time 2/4
% from upper staff-line (position 2) to center (position 0)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "contemporary-notation, editorial-annotations, vocal-music, workaround"
doctitle = "Marking notes of spoken parts with a cross on the stem"
} % begin verbatim
-
speakOn = {
\override Stem.stencil =
#(lambda (grob)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "text"
texidoc = "
Text that can spread over pages is entered with the
-@code{\\markuplist} command.
+@code{\\markuplines} command.
"
doctitle = "Markup lines"
} % begin verbatim
+%% updated/modified by P.P.Schneider on Feb. 2014
#(set-default-paper-size "a6")
Il y avait en Westphalie, dans le château de M. le baron de
Thunder-ten-tronckh, un jeune garçon à qui la nature avait donné
les mœurs les plus douces. Sa physionomie annonçait son âme.
- Il avait le jugement assez droit, avec l'esprit le plus simple ;
+ Il avait le jugement assez droit, avec l'esprit le plus
+ \concat { simple \hspace #.3 ; }
c'est, je crois, pour cette raison qu'on le nommait Candide. Les
anciens domestiques de la maison soupçonnaient qu'il était fils
de la sœur de monsieur le baron et d'un bon et honnête
quartiers, et que le reste de son arbre généalogique avait été
perdu par l'injure du temps.
}
+ \vspace #.3
\paragraph {
Monsieur le baron était un des plus puissants seigneurs de la
Westphalie, car son château avait une porte et des fenêtres. Sa
grande salle même était ornée d'une tapisserie. Tous les chiens
- de ses basses-cours composaient une meute dans le besoin ; ses
- palefreniers étaient ses piqueurs; le vicaire du village était
+ de ses basses-cours composaient une meute dans le
+ \concat { besoin \hspace #.3 ; }
+ ses palefreniers étaient ses
+ \concat { piqueurs \hspace #.3 ; }
+ le vicaire du village était
son grand-aumônier. Ils l'appelaient tous monseigneur, et ils
riaient quand il faisait des contes.
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, repeats, staff-notation, workaround"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "ancient-notation, contexts-and-engravers, staff-notation, tweaks-and-overrides"
doctitle = "Mensurstriche layout (bar lines between the staves)"
} % begin verbatim
-
global = {
\hide Staff.BarLine
s1 s
\undo \hide Staff.BarLine
\bar "|."
}
+
\new StaffGroup \relative c'' {
<<
\new Staff { << \global { c1 c } >> }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.25"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
texidoc = "
The shorthands are defined in @samp{ly/script-init.ly}, where the
variables @code{dashHat}, @code{dashPlus}, @code{dashDash},
-@code{dashBang}, @code{dashLarger}, @code{dashDot}, and
+@code{dashBar}, @code{dashLarger}, @code{dashDot}, and
@code{dashUnderscore} are assigned default values. The default values
-for the shorthands can be modified. For example, to make the @code{-+}
-(@code{dashPlus}) shorthand create a trill instead of the default +
-(@code{stopped}), assign the value of @code{trill} to the variable
+for the shorthands can be modified. For example, to associate the
+@code{-+} (@code{dashPlus}) shorthand with the trill symbol instead of
+the default + symbol, assign the value @code{trill} to the variable
@code{dashPlus}:
"
doctitle = "Modifying default values for articulation shorthand notation"
} % begin verbatim
-
\relative c'' { c1-+ }
-dashPlus = \trill
+dashPlus = "trill"
\relative c'' { c1-+ }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
doctitle = "Moving dotted notes in polyphony"
} % begin verbatim
-
\new Staff \relative c' <<
- { f2. f4
+ {
+ f2. f4
\override Staff.NoteCollision.prefer-dotted-right = ##f
f2. f4
\override Staff.NoteCollision.prefer-dotted-right = ##t
f2. f4
}
\\
- { e4 e e e e e e e e e e e}
+ { e4 e e e e e e e e e e e }
>>
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
doctitle = "Moving slur positions vertically"
} % begin verbatim
-
\relative c' {
\stemDown
e4( a)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "rhythms, text"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, preparing-parts, staff-notation, tweaks-and-overrides"
doctitle = "Nesting staves"
} % begin verbatim
-
\new StaffGroup
\relative c'' <<
\set StaffGroup.systemStartDelimiterHierarchy
+++ /dev/null
-\version "2.16.0"
-
-\header {
- lsrtags = "keyboards, specific-notation, symbols-and-glyphs, workaround"
-
- texidoc = "
-This snippet has been obsoleted by predefined markup commands, see
-@ruser{Accordion Registers}. It's still useful as a simple
-demonstration of how to combine symbols: the placement of the symbols
-added with @code{\\markup} can be tweaked by changing the
-@code{\\translate-scaled} arguments. @code{\\translate-scaled} is
-used here rather than @code{\\translate} in order to let the
-positioning of the symbol parts adapt to changes of @code{font-size}.
-"
- doctitle = "Accordion-discant symbols"
-}
-
-discant = \markup {
- \musicglyph #"accordion.discant"
-}
-dot = \markup {
- \musicglyph #"accordion.dot"
-}
-
-\layout { ragged-right = ##t }
-
-% 16 voets register
-accBasson = ^\markup {
- \combine
- \discant
- \translate-scaled #'(0 . 0.5) \dot
-}
-
-% een korig 8 en 16 voets register
-accBandon = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 0.5) \dot
- \translate-scaled #'(0 . 1.5) \dot
-}
-
-accVCello = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 0.5) \dot
- \combine
- \translate-scaled #'(0 . 1.5) \dot
- \translate-scaled #'(1 . 1.5) \dot
-}
-
-% 4-8-16 voets register
-accHarmon = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 0.5) \dot
- \combine
- \translate-scaled #'(0 . 1.5) \dot
- \translate-scaled #'(0 . 2.5) \dot
-}
-
-accTrombon = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 0.5) \dot
- \combine
- \translate-scaled #'(0 . 1.5) \dot
- \combine
- \translate-scaled #'(1 . 1.5) \dot
- \translate-scaled #'(-1 . 1.5) \dot
-}
-
-% eenkorig 4 en 16 voets register
-accOrgan = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 0.5) \dot
- \translate-scaled #'(0 . 2.5) \dot
-}
-
-accMaster = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 0.5) \dot
- \combine
- \translate-scaled #'(0 . 1.5) \dot
- \combine
- \translate-scaled #'(1 . 1.5) \dot
- \combine
- \translate-scaled #'(-1 . 1.5) \dot
- \translate-scaled #'(0 . 2.5) \dot
-}
-
-accAccord = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 1.5) \dot
- \combine
- \translate-scaled #'(1 . 1.5) \dot
- \combine
- \translate-scaled #'(-1 . 1.5) \dot
- \translate-scaled #'(0 . 2.5) \dot
-}
-
-accMusette = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 1.5) \dot
- \combine
- \translate-scaled #'(1 . 1.5) \dot
- \translate-scaled #'(-1 . 1.5) \dot
-}
-
-accCeleste = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 1.5) \dot
- \translate-scaled #'(-1 . 1.5) \dot
-}
-
-accOboe = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 1.5) \dot
- \translate-scaled #'(0 . 2.5) \dot
-}
-
-accClarin = ^\markup {
- \combine
- \discant
- \translate-scaled #'(0 . 1.5) \dot
-}
-
-accPiccolo = ^\markup {
- \combine
- \discant
- \translate-scaled #'(0 . 2.5) \dot
-}
-
-accViolin = ^\markup {
- \combine
- \discant
- \combine
- \translate-scaled #'(0 . 1.5) \dot
- \combine
- \translate-scaled #'(1 . 1.5) \dot
- \translate-scaled #'(0 . 2.5) \dot
-}
-
-\relative c'' {
- c4 d\accBasson e f
- c4 d\accBandon e f
- 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
- c4 d\accViolin e f
-}
+++ /dev/null
-\version "2.17.23"
-
-\header {
- lsrtags = "keyboards, specific-notation, symbols-and-glyphs"
-
- texidoc = "Accordion register symbols are available as
-@code{\\markup} as well as as standalone music events (as register
-changes tend to occur between actual music events. Bass registers are
-not overly standardized. The available commands can be found in
-@ruser{Accordion Registers}."
-
- doctitle = "Accordion register symbols"
-}
-
-\layout { ragged-right = ##t }
-
-#(use-modules (scm accreg))
-
-\new PianoStaff
-<<
- \new Staff \relative
- { \clef treble \discant "10" r8 s32 f'[ bes f] s e[ a e] s d[ g d] s16 e32[ a]
- << { r16 <f bes> r <e a> r <d g> } \\ { d r a r bes r } >> | <cis e a>1 }
- \new Staff \relative
- { \clef treble \freeBass "1" r8 d'32 s16. c32 s16. bes32 s16. a32[ cis] s16
- \clef bass \stdBass "Master"
- << { r16 <f, bes d>^"b" r <e a c>^"am" r <d g bes>^"gm" |
- <e a cis>1^"a" } \\
- { d8_"D" c_"C" bes_"B" | a1_"A" }
- >>
- }
->>
+++ /dev/null
-\version "2.17.6"
-
-\header {
- lsrtags = "ancient-notation, chords, contexts-and-engravers"
-
- texidoc = "
-When writing a figured bass, you can place the figures above or below
-the bass notes, by defining the
-@code{BassFigureAlignmentPositioning.direction} property (exclusively
-in a @code{Staff} context). Choices are @code{#UP} (or @code{#1}),
-@code{#CENTER} (or @code{#0}) and @code{#DOWN} (or @code{#-1}).
-
-This property can be changed as many times as you wish. Use
-@code{\\once \\override} if you don't want the override to apply to the
-whole score.
-
-"
- doctitle = "Adding a figured bass above or below the notes"
-}
-
-
-bass = {
- \clef bass
- g4 b, c d
- e d8 c d2
-}
-continuo = \figuremode {
- <_>4 <6>4 <5/>4
- \override Staff.BassFigureAlignmentPositioning.direction = #UP
- %\bassFigureStaffAlignmentUp
- < _+ >4 <6>
- \set Staff.useBassFigureExtenders = ##t
- \override Staff.BassFigureAlignmentPositioning.direction = #DOWN
- %\bassFigureStaffAlignmentDown
- <4>4. <4>8 <_+>4
-}
-\score {
- <<
- \new Staff = bassStaff \bass
- \context Staff = bassStaff \continuo
- >>
-}
+++ /dev/null
-\version "2.16.0"
-
-\header {
- lsrtags = "scheme-language"
-
- texidoc = "
-You can add additional elements to notes using @code{map-some-music}. In this
-example, an extra script is attached to a note.
-
-In general, first do a @code{\\displayMusic} of the music you want to
-create, then write a function that will work on the appropriate parts
-of the music for you.
-"
- doctitle = "Adding extra fingering with scheme"
-}
-
-addScript =
-#(define-music-function (parser location script music)
- (ly:event? ly:music?)
- (map-some-music
- (lambda (mus)
- (define (append-script-at! prop)
- (set! (ly:music-property mus prop)
- (append (ly:music-property mus prop)
- (list (ly:music-deep-copy script))))
- mus)
- (case (ly:music-property mus 'name)
- ((EventChord)
- (append-script-at! 'elements))
- ((NoteEvent)
- (append-script-at! 'articulations))
- (else #f)))
- music))
-
-\score {
- {
- \addScript _6 { c'4-3 <c' e' g'> }
- }
-}
+++ /dev/null
-\version "2.17.6"
-
-\header {
- lsrtags = "staff-notation, vocal-music"
-
- texidoc = "
-This shows one approach to simplify adding many orchestral cues to the
-piano reduction in a vocal score. The music function @code{\\cueWhile}
-takes four arguments: the music from which the cue is to be taken, as
-defined by @code{\\addQuote}, the name to be inserted before the cue
-notes, then either @code{#UP} or @code{#DOWN} to specify either
-@code{\\voiceOne} with the name above the staff or @code{\\voiceTwo}
-with the name below the staff, and finally the piano music in parallel
-with which the cue notes are to appear. The name of the cued
-instrument is positioned to the left of the cued notes. Many passages
-can be cued, but they cannot overlap each other in time.
-
-"
- doctitle = "Adding orchestral cues to a vocal score"
-}
-
-cueWhile =
-#(define-music-function
- (parser location instrument name dir music)
- (string? string? ly:dir? ly:music?)
- #{
- \cueDuring $instrument #dir {
- \once \override TextScript.self-alignment-X = #RIGHT
- \once \override TextScript.direction = $dir
- <>-\markup { \tiny #name }
- $music
- }
- #})
-
-flute = \relative c'' {
- \transposition c'
- s4 s4 e g
-}
-\addQuote "flute" { \flute }
-
-clarinet = \relative c' {
- \transposition bes
- fis4 d d c
-}
-\addQuote "clarinet" { \clarinet }
-
-singer = \relative c'' { c4. g8 g4 bes4 }
-words = \lyricmode { here's the lyr -- ics }
-
-pianoRH = \relative c'' {
- \transposition c'
- \cueWhile "clarinet" "Clar." #DOWN { c4. g8 }
- \cueWhile "flute" "Flute" #UP { g4 bes4 }
-}
-pianoLH = \relative c { c4 <c' e> e, <g c> }
-
-\score {
- <<
- \new Staff {
- \new Voice = "singer" {
- \singer
- }
- }
- \new Lyrics {
- \lyricsto "singer"
- \words
- }
- \new PianoStaff <<
- \new Staff {
- \new Voice {
- \pianoRH
- }
- }
- \new Staff {
- \clef "bass"
- \pianoLH
- }
- >>
- >>
-}
+++ /dev/null
-\version "2.17.30"
-
-\header {
- lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides"
-
- texidoc = "
-Skipped beats in very long glissandi are sometimes indicated by
-timing marks, often consisting of stems without noteheads. Such
-stems can also be used to carry intermediate expression markings.
-
-If the stems do not align well with the glissando, they may need to
-be repositioned slightly.
-"
-
- doctitle = "Adding timing marks to long glissandi"
-}
-
-glissandoSkipOn = {
- \override NoteColumn.glissando-skip = ##t
- \hide NoteHead
- \override NoteHead.no-ledgers = ##t
-}
-
-glissandoSkipOff = {
- \revert NoteColumn.glissando-skip
- \undo \hide NoteHead
- \revert NoteHead.no-ledgers
-}
-
-\relative c'' {
- r8 f8\glissando
- \glissandoSkipOn
- f4 g a a8\noBeam
- \glissandoSkipOff
- a8
-
- r8 f8\glissando
- \glissandoSkipOn
- g4 a8
- \glissandoSkipOff
- a8 |
-
- r4 f\glissando \<
- \glissandoSkipOn
- a4\f \>
- \glissandoSkipOff
- b8\! r |
-}
+++ /dev/null
-\version "2.16.0"
-
-\header {
- lsrtags = "editorial-annotations, staff-notation, tweaks-and-overrides"
- texidoc = "Two alternative methods for bar numbering can be set,
- especially for when using repeated music."
- doctitle = "Alternative bar numbering"
-}
-
-\relative c'{
- \set Score.alternativeNumberingStyle = #'numbers
- \repeat volta 3 { c4 d e f | }
- \alternative {
- { c4 d e f | c2 d \break }
- { f4 g a b | f4 g a b | f2 a | \break }
- { c4 d e f | c2 d }
- }
- c1 \break
- \set Score.alternativeNumberingStyle = #'numbers-with-letters
- \repeat volta 3 { c,4 d e f | }
- \alternative {
- { c4 d e f | c2 d \break }
- { f4 g a b | f4 g a b | f2 a | \break }
- { c4 d e f | c2 d }
- }
- c1
-}
+++ /dev/null
-%% This file is in the public domain.
-\version "2.17.6"
-
-\header {
- 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.
-"
- doctitle = "Ancient fonts"
-}
-
-upperStaff = \new VaticanaStaff = "upperStaff" <<
- \context VaticanaVoice <<
- \transpose c c {
-
- \override NoteHead.style = #'vaticana.punctum
- \key es \major
- \clef "vaticana-fa2"
- c1 des e f ges
-
- \override NoteHead.style = #'vaticana.inclinatum
- a! b ces'
- \bar "|"
- % \break % 1 (8*1)
-
- \override NoteHead.style = #'vaticana.quilisma
- b! des'! ges! fes!
- \breathe
- \clef "vaticana-fa1"
- \override NoteHead.style = #'vaticana.plica
- es d
- \override NoteHead.style = #'vaticana.reverse.plica
- c d
- \bar "|"
- % \break %2 (8*1)
-
- \override NoteHead.style = #'vaticana.punctum.cavum
- es f
- \override NoteHead.style = #'vaticana.lpes
- g as
- \override NoteHead.style = #'vaticana.upes
- bes as
- \override NoteHead.style = #'vaticana.vupes
- g f
- \override NoteHead.style = #'vaticana.linea.punctum
- \once \override Staff.BarLine.bar-extent = #'(-1 . 1) \bar "|"
- % \break % 3 (8*1)
-
- es d
- \override NoteHead.style = #'vaticana.epiphonus
- c d
- \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.Custos.style = #'medicaea
- \override NoteHead.style = #'medicaea.punctum
- \clef "medicaea-fa2"
- ces des
- \bar "|"
- % \break % 4 (8*1)
-
- e! f! ges
- \clef "medicaea-do2"
- \override NoteHead.style = #'medicaea.inclinatum
- a! b! ces'
- \override NoteHead.style = #'medicaea.virga
- b! a!
- \bar "|"
- % \break % 5 (8*1)
-
- ges fes
- \clef "medicaea-fa1"
- \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.Custos.style = #'hufnagel
- \override NoteHead.style = #'hufnagel.punctum
- \clef "hufnagel-fa2"
- ces des es
- \bar "|"
- % \break % 6 (8*1)
-
- fes ges
- \clef "hufnagel-do2"
- \override NoteHead.style = #'hufnagel.lpes
- as! bes! ces'
- \override NoteHead.style = #'hufnagel.virga
- bes! as!
- \bar "|"
- % \break % 7 (8*1)
-
- ges! fes!
- \clef "hufnagel-do-fa"
- \override NoteHead.style = #'hufnagel.punctum
- es! des ces des! es! fes!
- \bar "||"
- % \break % 8 (8*1)
-
- s32*1
- % \break % 12 (32*1)
- }
- >>
->>
-
-lowerStaff = \new MensuralStaff = "lowerStaff" <<
- \context MensuralVoice <<
- \transpose c c {
-
- \key a \major
- cis'1 d'\breve gis'\breve e'\breve \[ e'\longa fis'\longa \]
- \set Staff.forceClef = ##t
- \clef "neomensural-c2"
- cis1
- \bar "|"
- % \break % 2 (16*1)
-
- \[ g\breve dis''\longa \]
- b\breve \[ a\longa d\longa \]
- \clef "petrucci-c2"
- % \break % 4 (16*1)
-
- fis1 ces1
- \clef "petrucci-c2"
- r\longa
- \set Staff.forceClef = ##t
- \clef "mensural-c2"
- r\breve
- \bar "|"
- % \break % 5 (8*1)
-
- r2
- \clef "mensural-g"
- r4 r8 r16 r16
- \override NoteHead.style = #'mensural
- \override Rest.style = #'mensural
- \clef "petrucci-f"
- c8 b, c16 b, c32 b, c64 b, c64 b,
- d8 e d16 e d32 e d64 e d64 e
- r\longa
- \set Staff.forceClef = ##t
- \clef "petrucci-f"
- r\breve
- \bar "|"
- % \break % 6 (8*1)
-
- r\breve
- \clef "mensural-f"
- r2 r4 r8 r16 r16
-
- \set Staff.forceClef = ##t
- \clef "mensural-f"
- e\breve f g a1
- \clef "mensural-g"
- % \break % 7 (8*1)
-
- \[ bes'!\longa a'!\longa c''!\longa \]
- e'1 d' c' d' \bar "|"
- \bar "|"
- % \break % 9 (16*1)
-
- bes'!\longa fis'!1 as'!1 ges'!\longa % lig
- \set Staff.forceClef = ##t
- \clef "mensural-g"
- e'2 d' c' \bar "|"
- % \break % 11 (16*1)
-
- \set Staff.forceClef = ##t
- \clef "petrucci-g"
- c'2 d' e' f'
- \clef "petrucci-g"
- g' as'! bes'! cis''!
- bes'! as'! gis'! fis'!
- \set Staff.forceClef = ##t
- \clef "mensural-g"
- es'! des'! cis'!1 \bar "||"
- % \break % 12 (8*1)
- }
- >>
->>
-
-\paper {
- line-thickness = #(/ staff-space 5.0)
-}
-
-\score {
- <<
- \upperStaff
- \lowerStaff
- >>
- \layout {
- indent = 0.0
- line-width = 17.25\cm
- \context {
- \Score
- timing = ##f
- }
- \context {
- \MensuralVoice
- \override NoteHead.style = #'neomensural
- \override Rest.style = #'neomensural
- \override Flag.style = #'mensural
- \override Stem.thickness = #1.0
- }
- \context {
- \MensuralStaff
- \revert BarLine.transparent
- \override KeySignature.glyph-name-alist = #alteration-mensural-glyph-name-alist
- clefGlyph = #"clefs.petrucci.c2"
- }
- \context {
- \VaticanaStaff
- \revert BarLine.transparent
- \override StaffSymbol.thickness = #2.0
- \override KeySignature.glyph-name-alist = #alteration-vaticana-glyph-name-alist
- \override Custos.neutral-position = #4
- }
- }
-}
-
+++ /dev/null
-\version "2.17.30"
-
-\header {
- lsrtags = "vocal-music, ancient-notation, template"
-
- texidoc = "
-This example demonstrates how to do modern transcription of Gregorian
-music. Gregorian music has no measure, no stems; it uses only half and
-quarter note heads, and special marks, indicating rests of different
-length.
-
-"
- doctitle = "Ancient notation template -- modern transcription of gregorian music"
-}
-
-\include "gregorian.ly"
-
-chant = \relative c' {
- \set Score.timing = ##f
- f4 a2 \divisioMinima
- g4 b a2 f2 \divisioMaior
- g4( f) f( g) a2 \finalis
-}
-
-verba = \lyricmode {
- Lo -- rem ip -- sum do -- lor sit a -- met
-}
-
-\score {
- \new Staff <<
- \new Voice = "melody" \chant
- \new Lyrics = "one" \lyricsto melody \verba
- >>
- \layout {
- \context {
- \Staff
- \remove "Time_signature_engraver"
- \remove "Bar_engraver"
- \hide Stem
- }
- \context {
- \Voice
- \override Stem.length = #0
- }
- \context {
- \Score
- barAlways = ##t
- }
- }
-}
-
+++ /dev/null
-\version "2.17.6"
-
-\header {
- lsrtags = "chords, fretted-strings"
-
- texidoc = "
-Here is how to print bar chords, or half-bar chords (just uncomment the
-appropriate line for to select either one).
-
-The syntax is @code{\\bbarre #\"@var{fret number}\" @{ notes @} }.
-"
- doctitle = "Bar chords notation for Guitar (with Text Spanner)"
-}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% %%%%%%% Cut here ----- Start 'bbarred.ly'
-
-%% C with slash -------------------------------
-cWithSlash = \markup {
- \combine \roman C \translate #'(0.6 . -0.4) \draw-line #'(0 . 2.0)
-}
-%% Span -----------------------------------
-%% Syntax: \bbarre #"text" { notes } - text = any number of box
-bbarre =
-#(define-music-function (barre location str music) (string? ly:music?)
- (let ((elts (extract-named-music music '(NoteEvent EventChord))))
- (if (pair? elts)
- (let ((first-element (first elts))
- (last-element (last elts)))
- (set! (ly:music-property first-element 'articulations)
- (cons (make-music 'TextSpanEvent 'span-direction -1)
- (ly:music-property first-element 'articulations)))
- (set! (ly:music-property last-element 'articulations)
- (cons (make-music 'TextSpanEvent 'span-direction 1)
- (ly:music-property last-element 'articulations))))))
- #{
- \once \override TextSpanner.font-size = #-2
- \once \override TextSpanner.font-shape = #'upright
- \once \override TextSpanner.staff-padding = #3
- \once \override TextSpanner.style = #'line
- \once \override TextSpanner.to-barline = ##f
- \once \override TextSpanner.bound-details =
- #`((left
- (text . ,#{ \markup { \draw-line #'( 0 . -.5) } #})
- (Y . 0)
- (padding . 0.25)
- (attach-dir . -2))
- (right
- (text . ,#{ \markup { \cWithSlash #str } #})
- (Y . 0)
- (padding . 0.25)
- (attach-dir . 2)))
-%% uncomment this line for make full barred
- % \once \override TextSpanner.bound-details.left.text = \markup { "B" #str }
- $music
- #})
-
-%% %%%%%%% Cut here ----- End 'bbarred.ly'
-%% Copy and change the last line for full barred. Rename in 'fbarred.ly'
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-%% Syntaxe: \bbarre #"text" { notes } - text = any number of box
-\relative c'{ \clef "G_8" \stemUp \bbarre #"III" { <f a'>16[ c' d c d8] } }
+++ /dev/null
-\version "2.19.2"
-
-\header {
- lsrtags = "contemporary-notation, expressive-marks, symbols-and-glyphs"
-
- texidoc = "
-In order to make parts of a crescendo hairpin invisible, the following
-method is used: A white rectangle is drawn on top of the respective
-part of the crescendo hairpin, making it invisible.
-
-The markup command @code{with-dimensions} tells LilyPond to consider only
-the bottom edge of the rectangle when spacing it against the hairpin.
-The property @code{staff-padding} prevents the rectangle from fitting
-between the hairpin and staff.
-
-Make sure to put the hairpin in a lower layer than the text markup to
-draw the rectangle over the hairpin.
-
-"
- doctitle = "Broken Crescendo Hairpin"
-}
-
-\relative c' {
- <<
- {
- \dynamicUp
- r2 r16 c'8.\pp r4
- }
- \\
- {
- \override DynamicLineSpanner.layer = #0
- des,2\mf\< ~
- \override TextScript.layer = #2
- \once\override TextScript.staff-padding = #6
- \once\override TextScript.vertical-skylines = #'()
- des16_\markup \with-dimensions #'(2 . 7) #'(0 . 0)
- \with-color #white
- \filled-box #'(2 . 7) #'(0 . 2) #0
- r8. des4 ~ 16->\sff
- }
- >>
-}
+++ /dev/null
-\version "2.17.7"
-
-\header {
- lsrtags = "contexts-and-engravers, repeats, staff-notation"
-
- texidoc = "
-Scores of large ensemble works often have bar numbers placed beneath the
-system, centered horizontally on the measure's extent. This snippet shows
-how the @code{Measure_counter_engraver} may be used to simulate this
-notational practice. Here, the engraver has been added to a @code{Dynamics}
-context.
-
-"
-
- doctitle = "Centered measure numbers"
-}
-
-\layout {
- \context {
- \Dynamics
- \consists #Measure_counter_engraver
- \override MeasureCounter.direction = #DOWN
- \override MeasureCounter.font-encoding = #'latin1
- \override MeasureCounter.font-shape = #'italic
- % to control the distance of the Dynamics context from the staff:
- \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #2
- }
- \context {
- \Score
- \remove "Bar_number_engraver"
- }
-}
-
-pattern = \repeat unfold 7 { c'4 d' e' f' }
-
-\new StaffGroup <<
- \new Staff {
- \pattern
- }
- \new Staff {
- \pattern
- }
- \new Dynamics {
- \startMeasureCount
- s1*7
- \stopMeasureCount
- }
->>
+++ /dev/null
-\version "2.17.6"
-
-\header {
- lsrtags = "text, tweaks-and-overrides, contexts-and-engravers"
- texidoc = "
-For technical reasons, text scripts attached to note heads cannot
-easily be centered on a note head's width, unlike articulations.
-
-Instead of using trial-and-error offset tweaks, this snippet uses a
-Scheme engraver to reset the horizontal parent of each markup to a
-@code{NoteColumn}. This also allows text to follow note heads which have
-been shifted via @code{force-hshift}.
-"
- doctitle = "Centering markup on note heads automatically"
-}
-
-#(define (Text_align_engraver ctx)
- (let ((scripts '())
- (note-column #f))
- (make-engraver
- (acknowledgers
- ((note-column-interface trans grob source)
- ;; cache NoteColumn in this Voice context
- (set! note-column grob))
- ((text-script-interface trans grob source)
- ;; whenever a TextScript is acknowledged,
- ;; add it to `scripts' list
- (set! scripts (cons grob scripts))))
- ((stop-translation-timestep trans)
- ;; if any TextScript grobs exist,
- ;; set NoteColumn as X-parent
- (for-each (lambda (script)
- (set! (ly:grob-parent script X) note-column))
- scripts)
- ;; clear scripts ready for next timestep
- (set! scripts '())))))
-
-\layout {
- \context {
- \Voice
- \consists #Text_align_engraver
- \override TextScript.X-offset =
- #ly:self-alignment-interface::aligned-on-x-parent
- \override TextScript.self-alignment-X = #CENTER
- }
-}
-
-\new Staff <<
- \relative c'' {
- \override NoteColumn.force-hshift = #3
- c1-\markup { \arrow-head #Y #DOWN ##t }
- }
- \\
- \relative c' {
- a4 a-\markup { \huge ^ } a a
- }
->>
+++ /dev/null
-\version "2.17.30"
-
-\header {
- lsrtags = "rhythms"
-
- texidoc = "
-By default, only the numerator of the tuplet number is printed over the
-tuplet bracket. Alternatively, num:den of the tuplet number may
-be printed, or the tuplet number may be suppressed altogether.
-
-"
- doctitle = "Changing the tuplet number"
-}
-
-
-\relative c'' {
- \tuplet 3/2 { c8 c c }
- \tuplet 3/2 { c8 c c }
- \override TupletNumber.text = #tuplet-number::calc-fraction-text
- \tuplet 3/2 { c8 c c }
- \omit TupletNumber
- \tuplet 3/2 { c8 c c }
-}
+++ /dev/null
-\version "2.17.11"
-
-\header {
- lsrtags = "workaround, contexts-and-engravers, contemporary-notation, rhythms"
-
- doctitle = "Changing time signatures inside a polymetric section using \\scaleDurations"
-}
-
-
-\layout {
- \context {
- \Score
- \remove "Timing_translator"
- \remove "Default_bar_line_engraver"
- }
- \context {
- \Staff
- \consists "Timing_translator"
- \consists "Default_bar_line_engraver"
- }
-}
-
-<<
- \new Staff {
- \scaleDurations 8/5 {
- \time 6/8
- \set Timing.measureLength = #(ly:make-moment 6/5)
- b8 b b b b b
- \time 2/4
- \set Timing.measureLength = #(ly:make-moment 4/5)
- b4 b
- }
- }
- \new Staff {
- \clef bass
- \time 2/4
- c2 d e f
- }
->>
+++ /dev/null
-\version "2.17.6"
-
-\header {
- lsrtags = "rhythms, vocal-music, ancient-notation, contexts-and-engravers, specific-notation"
-
- texidoc = "
-This form of notation is used for the chant of the Psalms, where verses
-aren't always the same length.
-
-"
- doctitle = "Chant or psalms notation"
-}
-
-stemOff = \hide Staff.Stem
-stemOn = \undo \stemOff
-
-\score {
- \new Staff \with { \remove "Time_signature_engraver" }
- {
- \key g \minor
- \cadenzaOn
- \stemOff a'\breve bes'4 g'4
- \stemOn a'2 \bar "||"
- \stemOff a'\breve g'4 a'4
- \stemOn f'2 \bar "||"
- \stemOff a'\breve^\markup { \italic flexe }
- \stemOn g'2 \bar "||"
- }
-}
-
+++ /dev/null
-\version "2.17.6"
-
-\header {
- lsrtags = "headword"
- texidoc = ""
- doctitle = "headword"
-}
-
-
-theChords = \chordmode {
- \time 2/2
- f1 | c2 f2 | f1 | c2 f2| %\break
- f2 bes2 | f1 | c2:7 f | c1 | \break
-}
-
-verseOne = \lyricmode {
- \set stanza = #"1."
- Fair is the sun - shine,
- Fair - er the moon - light
- And all the stars __ _ in heav'n a -- bove;
-}
-
-verseTwo = \lyricmode {
- \set stanza = #"2."
- Fair are the mead - ows,
- Fair - er the wood - land,
- Robed in the flow -- ers of bloom -- ing spring;
-}
-
-Soprano = {
- \time 2/2
- \key f \major
- \stemUp
- f'2 f'4 f' | g'4 e' f'2 | a'4. a'8 a'4 a' | bes'4 g' a'2 |
- c''2 f''4 d'' | c''2 bes'4 a' | bes'2 a' | g'1 |
-}
-
-Alto = {
- \key f \major
- c'2 c'4 c' | d'4 c' c'2 | f'4. f'8 f'4 fis' | g'4 e' f'2 |
- f'2 f'4 f' | f'2 g'4 f' | e'2 f' | e'1 |
-}
-
-Tenor = {
- \key f \major
- \stemDown
- a2 a4 a | bes4 g a2 | c'4. c'8 d'4 d' | d'4 c' c'2 |
- a2 d'4 bes | a2 c'4 c' | c'2 c' | c'1 |
-}
-
-Bass = {
- \key f \major
- f2 f4 f | bes,4 c f2 | f4. e8 d4 c | bes,4 c f2 |
- f2 bes,4 d | f2 e4 f | g2 f | c1 |
-}
-
-
-\score {
- <<
- \new ChordNames { \theChords }
- \context Staff = upper {
- \context Voice = sop {
- <<
- \Soprano
- \Alto
- >>
- }
- }
- \context Lyrics = "LyrOne" \lyricsto "sop" { \verseOne }
- \context Lyrics = "LyrTwo" \lyricsto "sop" { \verseTwo }
- \context Staff = lower {
- \new Voice {
- \clef bass
- \accidentalStyle modern-cautionary
- <<
- \Tenor
- \Bass
- >>
- }
- }
- >>
-
- \layout {
- indent = 0
- \context {
- \Score
- \remove "Bar_number_engraver"
- }
- \context {
- \Voice
- \override StanzaNumber.padding = #1.8
- }
- }
-}
-\paper { }
+++ /dev/null
-\version "2.17.15"
-
-\header {
- lsrtags = "rhythms"
-
- texidoc = "
-Odd 20th century time signatures (such as \\\"5/8\\\") can often be
-played as compound time signatures (e.g. \\\"3/8 + 2/8\\\"), which
-combine two or more inequal metrics. LilyPond can make such music quite
-easy to read and play, by explicitly printing the compound time
-signatures and adapting the automatic beaming behavior.
-
-"
- doctitle = "Compound time signatures"
-}
-
-\relative c' {
- \compoundMeter #'((2 8) (3 8))
- c8 d e fis gis
- c8 fis, gis e d
- c8 d e4 gis8
-}
+++ /dev/null
-\version "2.16.0"
-
-\header {
- lsrtags = "rhythms"
- texidoc = "
-Beat grouping within a measure is controlled by the context property
-@code{beatStructure}. Values of @code{beatStructure} are
-established for many time signatures in
-@file{scm/time-signature-settings.scm}. Values of @code{beatStructure}
-can be changed or set with @code{\set}.
-Alternatively, @code{\time} can be used to both
-set the time signature and establish the beat structure.
-For this, you specify the internal grouping of beats in a measure
-as a list of numbers (in Scheme syntax) before the time signature.
-
-@code{\time} applies to the @code{Timing} context, so it will not
-reset values of @code{beatStructure} or @code{baseMoment} that are set
-in other lower-level contexts, such as @code{Voice}.
-
-If the @code{Measure_grouping_engraver} is included
-in one of the display contexts, measure grouping signs will be
-created. Such signs ease reading rhythmically complex modern music.
-In the example, the 9/8 measure is grouped in two different
-patterns using the two different methods, while the 5/8 measure
-is grouped according to the default setting in
-@file{scm/time-signature-settings.scm}:
-"
- doctitle = "Conducting signs, measure grouping signs"
-}
-
-
-\score {
- \new Voice \relative c'' {
- \time 9/8
- g8 g d d g g a( bes g) |
- \set Timing.beatStructure = #'(2 2 2 3)
- g8 g d d g g a( bes g) |
- \time #'(4 5) 9/8
- g8 g d d g g a( bes g) |
- \time 5/8
- a4. g4 |
- }
- \layout {
- \context {
- \Staff
- \consists "Measure_grouping_engraver"
- }
- }
-}
+++ /dev/null
-\version "2.18.0"
-
-\header {
- lsrtags = "editorial-annotations, expressive-marks, tweaks-and-overrides"
-
- texidoc = "
-Creating a delayed turn, where the lower note of the turn uses the
-accidental, requires several overrides. The
-@code{outside-staff-priority} property must be set to @code{#f}, as
-otherwise this would take precedence over the
-@code{avoid-slur property}. Changing the fractions @code{2/3} and
-@code{1/3} adjusts the horizontal position.
-"
- doctitle = "Creating a delayed turn"
-}
-
-\relative c'' {
- c2*2/3 ( s2*1/3\turn d4) r
- <<
- { c4.( d8) }
- { s4 s\turn }
- >>
- \transpose c d \relative c'' <<
- { c4.( d8) }
- {
- s4
- \once \set suggestAccidentals = ##t
- \once \override AccidentalSuggestion.outside-staff-priority = ##f
- \once \override AccidentalSuggestion.avoid-slur = #'inside
- \once \override AccidentalSuggestion.font-size = -3
- \once \override AccidentalSuggestion.script-priority = -1
- \single \hideNotes
- b8-\turn \noBeam
- s8
- }
- >>
-}
+++ /dev/null
-\version "2.17.15"
-
-\header {
- lsrtags = "editorial-annotations, expressive-marks, scheme-language, staff-notation, tweaks-and-overrides"
-
- texidoc = "
-Creating fingerings larger than 5 is possible.
-"
- doctitle = "Creating double-digit fingerings"
-}
-
-\relative c' {
- c1-10
- c1-50
- c1-36
- c1-29
-}
+++ /dev/null
-\version "2.16.0"
-
-\header {
- lsrtags = "expressive-marks, text, workaround"
-
- texidoc = "
-Although the easiest way to add parentheses to a dynamic mark is to use
-a @code{\\markup} block, this method has a downside: the created
-objects will behave like text markups, and not like dynamics.
-
-However, it is possible to create a similar object using the equivalent
-Scheme code (as described in the Notation Reference), combined with the
-@code{make-dynamic-script} function. This way, the markup will be
-regarded as a dynamic, and therefore will remain compatible with
-commands such as @code{\\dynamicUp} or @code{\\dynamicDown}.
-
-
-
-"
- doctitle = "Creating \"real\" parenthesized dynamics"
-}
-
-paren =
-#(define-event-function (parser location dyn) (ly:event?)
- (make-dynamic-script
- #{ \markup \concat {
- \normal-text \italic \fontsize #2 (
- \pad-x #0.2 #(ly:music-property dyn 'text)
- \normal-text \italic \fontsize #2 )
- }
- #}))
-
-\relative c'' {
- c4\paren\f c c \dynamicUp c\paren\p
-}
+++ /dev/null
-\version "2.16.0"
-
-\header {
- lsrtags = "staff-notation, tweaks-and-overrides, contexts-and-engravers"
- texidoc = "
-This snippet shows the use of the @code{Span_stem_engraver}
-and @code{\crossStaff} to connect stems across staves automatically.
-The stem length need not be specified, as the variable distance
-between noteheads and staves is calculated automatically.
-"
- doctitle = "Cross staff stems"
-}
-
-\layout {
- \context {
- \PianoStaff
- \consists #Span_stem_engraver
- }
-}
-
-{
- \new PianoStaff <<
- \new Staff {
- <b d'>4 r d'16\> e'8. g8 r\!
- e'8 f' g'4 e'2
- }
- \new Staff {
- \clef bass
- \voiceOne
- \autoBeamOff
- \crossStaff { <e g>4 e, g16 a8. c8} d
- \autoBeamOn
- g8 f g4 c2
- }
- >>
-}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
#(tuplet-number::append-note-wrapper
(tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
\tuplet 3/2 { c4. c4. c4. c4. }
-
\once \override TupletNumber.text =
#(tuplet-number::append-note-wrapper
tuplet-number::calc-denominator-text "4")
#(tuplet-number::append-note-wrapper
tuplet-number::calc-fraction-text "4")
\tuplet 3/2 { c8 c8 c8 c8 c8 c8 }
-
\once \override TupletNumber.text =
#(tuplet-number::fraction-with-notes "4." "8")
\tuplet 3/2 { c4. c4. c4. c4. }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "vocal-music"
texidoc = "
-The vertical spacing engine changed for version 2.14. This can cause
-lyrics to be spaced differently. It is possible to set properties for
-@code{Lyric} and @code{Staff} contexts to get the spacing engine to
-behave as it did in version 2.12.
+The vertical spacing engine changed since version 2.14. This can cause
+lyrics to be spaced differently.
+
+It is possible to set properties for @code{Lyric} and @code{Staff}
+contexts to get the spacing engine to behave as it did in version 2.12.
+
"
doctitle = "Obtaining 2.12 lyrics spacing in newer versions"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
} % begin verbatim
openStringHarmonics = {
+ \textSpannerDown
+ \override TextSpanner.staff-padding = #3
+ \override TextSpanner.dash-fraction = #0.3
+ \override TextSpanner.dash-period = #1
+
%first harmonic
- \harmonicByFret #12 e,2\6_\markup{"1st harm."}
- \harmonicByRatio #1/2 e,\6
+ \override TextSpanner.bound-details.left.text = \markup\small "1st harm. "
+ \harmonicByFret #12 e,2\6\startTextSpan
+ \harmonicByRatio #1/2 e,\6\stopTextSpan
+
%second harmonic
- \harmonicByFret #7 e,\6_\markup{"2nd harm. - - - -"}
+ \override TextSpanner.bound-details.left.text = \markup\small "2nd harm. "
+ \harmonicByFret #7 e,\6\startTextSpan
\harmonicByRatio #1/3 e,\6
\harmonicByFret #19 e,\6
- \harmonicByRatio #2/3 e,\6
+ \harmonicByRatio #2/3 e,\6\stopTextSpan
%\harmonicByFret #19 < e,\6 a,\5 d\4 >
%\harmonicByRatio #2/3 < e,\6 a,\5 d\4 >
+
%third harmonic
- \harmonicByFret #5 e,\6_\markup{"3rd harm. - - - -"}
+ \override TextSpanner.bound-details.left.text = \markup\small "3rd harm. "
+ \harmonicByFret #5 e,\6\startTextSpan
\harmonicByRatio #1/4 e,\6
\harmonicByFret #24 e,\6
- \harmonicByRatio #3/4 e,\6
+ \harmonicByRatio #3/4 e,\6\stopTextSpan
\break
+
%fourth harmonic
- \harmonicByFret #4 e,\6_\markup{"4th harm. - - - - - - - - - - - - -"}
+ \override TextSpanner.bound-details.left.text = \markup\small "4th harm. "
+ \harmonicByFret #4 e,\6\startTextSpan
\harmonicByRatio #1/5 e,\6
\harmonicByFret #9 e,\6
\harmonicByRatio #2/5 e,\6
\harmonicByFret #16 e,\6
- \harmonicByRatio #3/5 e,\6
+ \harmonicByRatio #3/5 e,\6\stopTextSpan
+
%fifth harmonic
- \harmonicByFret #3 e,\6_\markup{"5th harm."}
- \harmonicByRatio #1/6 e,\6
+ \override TextSpanner.bound-details.left.text = \markup\small "5th harm. "
+ \harmonicByFret #3 e,\6\startTextSpan
+ \harmonicByRatio #1/6 e,\6\stopTextSpan
\break
+
%sixth harmonic
- \harmonicByFret #2.7 e,\6_\markup{"6th harm."}
- \harmonicByRatio #1/7 e,\6
+ \override TextSpanner.bound-details.left.text = \markup\small "6th harm. "
+ \harmonicByFret #2.7 e,\6\startTextSpan
+ \harmonicByRatio #1/7 e,\6\stopTextSpan
+
%seventh harmonic
- \harmonicByFret #2.3 e,\6_\markup{"7th harm."}
- \harmonicByRatio #1/8 e,\6
+ \override TextSpanner.bound-details.left.text = \markup\small "7th harm. "
+ \harmonicByFret #2.3 e,\6\startTextSpan
+ \harmonicByRatio #1/8 e,\6\stopTextSpan
+
%eighth harmonic
- \harmonicByFret #2 e,\6_\markup{"8th harm."}
- \harmonicByRatio #1/9 e,\6
+ \override TextSpanner.bound-details.left.text = \markup\small "8th harm. "
+ \harmonicByFret #2 e,\6\startTextSpan
+ \harmonicByRatio #1/9 e,\6\stopTextSpan
}
\score {
<<
- \new Staff {
+ \new Staff
+ \with { \omit StringNumber } {
\new Voice {
\clef "treble_8"
\openStringHarmonics
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "pitches, staff-notation, template, vocal-music"
doctitle = "Orchestra choir and piano template"
} % begin verbatim
-
#(set-global-staff-size 17)
\paper {
indent = 3.0\cm % space for instrumentName
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "pitches, text"
doctitle = "Ottava text"
} % begin verbatim
-
{
\ottava #1
\set Staff.ottavation = #"8"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "really-simple, scheme-language, text, titles"
doctitle = "Outputting the version number"
} % begin verbatim
-
\score {
\new Lyrics {
\override Score.RehearsalMark.self-alignment-X = #LEFT
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.25"
+\version "2.18.0"
\header {
lsrtags = "scheme-language, tweaks-and-overrides"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "spacing"
doctitle = "Page label"
} % begin verbatim
-
#(set-default-paper-size "a6")
#(define-markup-command (toc-line layout props label text)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Partcombine and autoBeamOff"
} % begin verbatim
-
{
%\set Staff.autoBeaming = ##f % turns off all autobeaming
\partcombine
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "repeats, tweaks-and-overrides"
doctitle = "Percent repeat count visibility"
} % begin verbatim
-
\relative c'' {
\set countPercentRepeats = ##t
\set repeatCountVisibility = #(every-nth-repeat-count-visible 5)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "repeats"
doctitle = "Percent repeat counter"
} % begin verbatim
-
\relative c'' {
\set countPercentRepeats = ##t
\repeat percent 4 { c1 }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "percussion"
doctitle = "Percussion beaters"
} % begin verbatim
-
stick = \markup {
\with-dimensions #'(0 . 5) #'(0 . 5)
\postscript #"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "rhythms, version-specific"
doctitle = "Permitting line breaks within beamed tuplets"
} % begin verbatim
-
\layout {
\context {
\Voice
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "keyboards, really-simple, template"
doctitle = "Piano template (simple)"
} % begin verbatim
-
upper = \relative c'' {
\clef treble
\key c \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "keyboards, really-simple, template, text"
doctitle = "Piano template with centered lyrics"
} % begin verbatim
-
upper = \relative c'' {
\clef treble
\key c \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "keyboards, really-simple, template, vocal-music"
doctitle = "Piano template with melody and lyrics"
} % begin verbatim
-
melody = \relative c'' {
\clef treble
\key c \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
doctitle = "Placement of right-hand fingerings"
} % begin verbatim
-
#(define RH rightHandFinger)
\relative c {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
doctitle = "Polyphony in tablature"
} % begin verbatim
-
upper = \relative c' {
\time 12/8
\key e \minor
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
doctitle = "Positioning arpeggios"
} % begin verbatim
-
\relative c' {
<c e g b>1\arpeggio
\once \override Arpeggio.positions = #'(-5 . 0)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations"
doctitle = "Positioning fingering indications precisely"
} % begin verbatim
-
\relative c' {
\set fingeringOrientations = #'(left)
<c-1 d-2 a'-5>4
- <c-1 d-\tweak extra-offset #'(0 . 0.7)-2 a'-5>4
+ <c-1 d-\tweak extra-offset #'(0 . 0.2)-2 a'-5>4
\set fingeringOrientations = #'(down)
<c-1 d-2 a'-5>4
- <c-1 d-\tweak extra-offset #'(-1.2 . 0)-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-2 a'-5>4
+ <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-2 a'-5>4
- <c-1 d-\tweak extra-offset #'(-1.2 . 0)-2 a'-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
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Positioning grace note beams at the height of normal note beams"
} % begin verbatim
-
\relative c {
f8[ e]
\grace {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.28"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Positioning grace notes with floating space"
} % begin verbatim
-
\relative c'' {
<<
\override Score.SpacingSpanner.strict-grace-spacing = ##t
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "breaks, repeats, symbols-and-glyphs, workaround"
% Here begins the trickery!
% \cadenzaOn will suppress the bar count and \stopStaff removes the staff lines.
\cadenzaOn
- \stopStaff
+ \stopStaff
% Some examples of possible text-displays
% text line-aligned
\bar ""
}
% Resume bar count and show staff lines again
- \startStaff
- \cadenzaOff
+ \startStaff
+ \cadenzaOff
- % Should Coda be on new line?
- % Coda NOT on new line: DON'T use \break
- % Coda on new line: use \break
- \break
+ % Should Coda be on new line?
+ % Coda NOT on new line: DON'T use \break
+ % Coda on new line: use \break
+ \break
- % Show up, you clef and key!
- \once \override Staff.KeySignature.break-visibility = #end-of-line-invisible
- \once \override Staff.Clef.break-visibility = #end-of-line-invisible
+ % Show up, you clef and key!
+ \once \override Staff.KeySignature.break-visibility = #end-of-line-invisible
+ \once \override Staff.Clef.break-visibility = #end-of-line-invisible
- % Set coda sign as rehearsal mark and adjust size and position
+ % 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 ontop of the (treble-)clef dependend on coda's line-position
- % Coda NOT on new line, use this:
- % \once \override Score.RehearsalMark.extra-offset = #'( -2 . 1.75 )
+ % Coda NOT on new line, use this:
+ % \once \override Score.RehearsalMark.extra-offset = #'( -2 . 1.75 )
- % Coda on new line, use this:
- \once \override Score.RehearsalMark.extra-offset = #'( -4.5 . 0 )
+ % Coda on new line, use this:
+ \once \override Score.RehearsalMark.extra-offset = #'( -5 . .5 )
- \once \override Score.RehearsalMark.font-size = #5
- \mark \markup { \musicglyph #"scripts.coda" }
+ \once \override Score.RehearsalMark.font-size = #5
+ \mark \markup { \musicglyph #"scripts.coda" }
- % The coda
- \repeat unfold 5 {
+ % The coda
+ \repeat unfold 6 {
c4 c c c
}
\bar"|."
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, expressive-marks, tweaks-and-overrides"
doctitle = "Positioning text markups inside slurs"
} % begin verbatim
-
\relative c'' {
\override TextScript.avoid-slur = #'inside
\override TextScript.outside-staff-priority = ##f
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "automatic-notation, pitches"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Preventing final mark from removing final tuplet"
} % begin verbatim
-\markup \vspace #1 %% workaround for LSR-problem
-
\new Staff {
\set tupletFullLength = ##t
\time 1/8
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "automatic-notation, pitches"
doctitle = "Preventing natural signs from being printed when the key signature changes"
} % begin verbatim
-
\relative c' {
\key d \major
a4 b cis d
--- /dev/null
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
+
+\header {
+ lsrtags = "repeats, tweaks-and-overrides"
+
+ texidoc = "
+A @code{|:} bar line can be printed at the beginning of a piece.
+
+"
+ doctitle = "Printing a repeat sign at the beginning of a piece"
+} % begin verbatim
+
+\relative c'' {
+ \bar ".|:"
+ \repeat volta 2 {
+ c1
+ d1
+ d4 e f g
+ }
+}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Printing bar numbers at regular intervals"
} % begin verbatim
-
\relative c' {
\override Score.BarNumber.break-visibility = #end-of-line-invisible
\set Score.currentBarNumber = #11
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
doctitle = "Printing bar numbers inside boxes or circles"
} % begin verbatim
-
\relative c' {
% Prevent bar numbers at the end of a line and permit them elsewhere
\override Score.BarNumber.break-visibility = #end-of-line-invisible
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
doctitle = "Printing hairpins using al niente notation"
} % begin verbatim
-
\relative c'' {
\override Hairpin.circled-tip = ##t
c2\< c\!
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "text"
doctitle = "Printing marks at the end of a line"
} % begin verbatim
-
\relative c'' {
g2 c
d,2 a'
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "text"
doctitle = "Printing marks on every staff"
} % begin verbatim
-
\score {
<<
\new Staff { c''1 \mark "molto" c'' }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, rhythms, tweaks-and-overrides"
doctitle = "Printing metronome and rehearsal marks below the staff"
} % begin verbatim
-
-\layout { ragged-right = ##f }
+\layout {
+ indent = 0
+ ragged-right = ##f
+}
{
% Metronome marks below the staff
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "contemporary-notation, percussion, real-music, really-cool, rhythms"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "tweaks-and-overrides"
doctitle = "Printing note names with and without an octave marker"
} % begin verbatim
-
scale = \relative c' {
a4 b c d
e4 f g a
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, text, workaround, world-music"
doctitle = "Printing text from right to left"
} % begin verbatim
-
{
b1^\markup {
\line { i n g i r u m i m u s n o c t e }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Printing the bar number for the first measure"
} % begin verbatim
+\layout {
+ indent = 0
+ ragged-right = ##t
+}
\relative c' {
\set Score.barNumberVisibility = #all-bar-numbers-visible
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.28"
+\version "2.18.0"
\header {
lsrtags = "spacing, tweaks-and-overrides"
doctitle = "Proportional strict notespacing"
} % begin verbatim
-
\relative c'' <<
\override Score.SpacingSpanner.strict-note-spacing = ##t
\set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\new Staff {
c8[ c \clef alto c c \grace { d16 } c8 c] c4
- c2 \grace { c16 c16 } c2
+ c2 \grace { c16[ c16] } c2
}
\new Staff {
c2 \tuplet 3/2 { c8 \clef bass cis,, c } c4
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "staff-notation, text, vocal-music"
texidoc = "
Lyrics can be moved vertically to place them inside the staff. The
-lyrics are moved with @code{\\override LyricText.extra-offset = #'(0
-. dy)} and there are similar commands to move the extenders and
-hyphens. The offset needed is established with trial and error.
+lyrics are moved with @code{\\override LyricText.extra-offset = #'(0 .
+dy)} and there are similar commands to move the extenders and hyphens.
+The offset needed is established with trial and error.
"
doctitle = "Putting lyrics inside the staff"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "staff-notation"
doctitle = "Quoting another voice"
} % begin verbatim
-
quoteMe = \relative c' {
fis4 r16 a8.-> b4\ff c
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "winds"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, rhythms"
doctitle = "Removing bar numbers from a score"
} % begin verbatim
-
\layout {
\context {
\Score
- \remove "Bar_number_engraver"
+ \omit BarNumber
+ % or:
+ %\remove "Bar_number_engraver"
}
}
--- /dev/null
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
+
+\header {
+ lsrtags = "keyboards, staff-notation, tweaks-and-overrides"
+
+ texidoc = "
+This snippet removes the first brace from a @code{PianoStaff} or a
+@code{GrandStaff}. It may be useful when cutting and pasting the
+engraved image into existing music.
+
+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
+ \repeat unfold 3 c1 \break
+ \repeat unfold 5 c1 \break
+ \repeat unfold 5 c1
+}
+
+\score {
+ \new PianoStaff
+ <<
+ \new Staff = "right" \relative c'' \someMusic
+ \new Staff = "left" \relative c' { \clef F \someMusic }
+ >>
+ \layout {
+ indent=75
+ \context {
+ \PianoStaff
+ \alterBroken transparent #'(#t) SystemStartBrace
+ }
+ }
+}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
doctitle = "Removing connecting bar lines on StaffGroup PianoStaff or GrandStaff"
} % begin verbatim
-
\relative c' {
\new StaffGroup <<
\new Staff {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "breaks, staff-notation, tweaks-and-overrides"
doctitle = "Removing the first empty line"
} % begin verbatim
-
\layout {
\context {
\Staff \RemoveEmptyStaves
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.5"
+\version "2.18.0"
\header {
lsrtags = "headword"
doctitle = "Repeats headword"
} % begin verbatim
+%% http://lsr.di.unimi.it/LSR/Item?id=821
+%% see also http://www.lilypond.org/doc/v2.18/Documentation/notation/repeats
+
% Beethoven, Op. 57
% Piano sonata 23 - Dem Grafen Franz von Brunswick Gewidmet
% Movt II, Andante con moto
percent-repeat-count-visibility.ly
percent-repeat-counter.ly
positioning-segno-and-coda-with-line-break.ly
+printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
setting-the-double-repeat-default-for-volte.ly
shortening-volta-brackets.ly
volta-below-chords.ly
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "ancient-notation, rhythms, symbols-and-glyphs, tweaks-and-overrides"
doctitle = "Rest styles"
} % begin verbatim
-
\layout {
indent = 0
\context {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "rhythms, version-specific"
doctitle = "Reverting default beam endings"
} % begin verbatim
-
\relative c'' {
\time 12/8
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
doctitle = "Rhythmic slashes"
} % begin verbatim
-
% Macro to print single slash
rs = {
\once \override Rest.stencil = #ly:percent-repeat-item-interface::beat-slash
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
\header {
lsrtags = "headword"
doctitle = "Rhythms headword"
} % begin verbatim
+%% http://lsr.di.unimi.it/LSR/Item?id=822
+%% see also http://lilypond.org/doc/v2.18/Documentation/notation/rhythms
+
% Beethoven, Op. 81a
% Piano sonata 26 - Das Lebewohl
% Movt II - Abwesenheit
c'''32 ) \!
g''8 (
~
- 32 [
+ g''32 [
a''64
g''64 ) ]
<g e>32
c'32
}
-
>>
strict-beat-beaming.ly
subdividing-beams.ly
three-sided-box.ly
+time-signature-in-parentheses---method-3.ly
+time-signature-in-parentheses.ly
time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly
tweaking-grace-layout-within-music.ly
using-alternative-flag-styles.ly
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
doctitle = "SATB Choir template - four staves"
} % begin verbatim
-
global = {
\key c \major
\time 4/4
changing-properties-for-individual-grobs.ly
creating-a-sequence-of-notes-on-various-pitches.ly
creating-double-digit-fingerings.ly
+customizing-the-position-and-number-of-dots-in-repeat-sign-bar-lines.ly
displaying-grob-ancestry.ly
drawing-boxes-around-grobs.ly
drawing-circles-around-various-objects.ly
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "headword"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "pitches, tweaks-and-overrides"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides"
doctitle = "Setting hairpin behavior at bar lines"
} % begin verbatim
-
\relative c'' {
e4\< e2.
e1\!
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "paper-and-layout, staff-notation, tweaks-and-overrides"
doctitle = "Setting system separators"
} % begin verbatim
-
\paper {
system-separator-markup = \slashSeparator
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.5"
+\version "2.18.0"
\header {
lsrtags = "repeats"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
doctitle = "Setting the minimum length of hairpins"
} % begin verbatim
-
\relative c'' {
c4\< c\! d\> e\!
+ << f1 { s4 s\< s\> s\! } >>
\override Hairpin.minimum-length = #5
<< f1 { s4 s\< s\> s\! } >>
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "repeats"
doctitle = "Shortening volta brackets"
} % begin verbatim
-
\relative c'' {
\time 3/4
c4 c c
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords"
doctitle = "Showing chords at changes"
} % begin verbatim
-
harmonies = \chordmode {
c1:m c:m \break c:m c:m d
}
+
<<
\new ChordNames {
\set chordChanges = ##t
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, tweaks-and-overrides, version-specific"
doctitle = "Showing the same articulation above and below a note or chord"
} % begin verbatim
-
% The same as \flageolet, just a little smaller
smallFlageolet =
#(let ((m (make-articulation "flageolet")))
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords"
doctitle = "Simple lead sheet"
} % begin verbatim
-
<<
\chords { c2 g:sus4 f e }
\relative c'' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
\header {
lsrtags = "headword"
doctitle = "Simultaneous headword"
} % begin verbatim
+%% http://lsr.di.unimi.it/LSR/Item?id=825
+%% see also http://lilypond.org/doc/v2.18/Documentation/notation/simultaneous-notes
+
\include "english.ly"
% NR 1.5 Simultaneous notes
\trillFlat
af''4.~ \startTrillSpan
af''8.~ |
- 4.~ 8.~ |
+ af''4.~ af''8.~ |
\oneVoice
<af'' d''>8.[ a''8. \p \< bf''8.]~ |
- 8.[ b''8. c'''8.]~
+ bf''8.[ b''8. c'''8.]~
\bar "||"
\key ef \major
c'''8.[ cs'''8.] \f \stopTrillSpan
\override Voice.TrillSpanner.direction = #DOWN
d''4.~ \f \startTrillSpan
d''8.~ |
- 4.~ 8.~ |
- 8. \stopTrillSpan
+ d''4.~ d''8.~ |
+ d''8. \stopTrillSpan
\trillFlat
d''4.~ \startTrillSpan |
- d''4.~ 8.~ |
- 4.~ 8.~ |
- 4.~ 8.~ \stopTrillSpan |
+ d''4.~ d''8.~ |
+ d''4.~ d''8.~ |
+ d''4.~ d''8.~ \stopTrillSpan |
\trillFlat
d''4.~ \startTrillSpan
d''8. ~ |
- 4.~ 8.~ |
+ d''4.~ d''8.~ |
\once \override NoteColumn.ignore-collision = ##t
\hideNotes
d''8. \stopTrillSpan
\override Voice.TrillSpanner.direction = #UP
f'4.~ \startTrillSpan
f'8.~ |
- 4.~ 8.~ |
- 8. \stopTrillSpan
+ f'4.~ f'8.~ |
+ f'8. \stopTrillSpan
}
\new Voice {
\voiceTwo
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords, really-simple, template, vocal-music"
doctitle = "Single staff template with notes lyrics and chords"
} % begin verbatim
-
melody = \relative c' {
\clef treble
\key c \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords, template, vocal-music"
doctitle = "Single staff template with notes lyrics chords and frets"
} % begin verbatim
-
verseI = \lyricmode {
\set stanza = #"1."
This is the first verse
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
\header {
lsrtags = "chords, really-simple, template"
doctitle = "Single staff template with notes and chords"
} % begin verbatim
-
melody = \relative c' {
\clef treble
\key c \major
\time 4/4
f4 e8[ c] d4 g
- a2 ~ 2
+ a2 ~ a
}
harmonies = \chordmode {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "really-simple, template, vocal-music"
doctitle = "Single staff template with notes and lyrics"
} % begin verbatim
-
melody = \relative c' {
\clef treble
\key c \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "really-simple, template"
doctitle = "Single staff template with only notes"
} % begin verbatim
-
melody = \relative c' {
\clef treble
\key c \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "really-simple, rhythms, vocal-music"
doctitle = "Skips in lyric mode (2)"
} % begin verbatim
-
<<
\relative c'' { a4 b c d }
\new Lyrics \lyricmode { a4 "" _ gap }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "really-simple, rhythms, vocal-music"
doctitle = "Skips in lyric mode"
} % begin verbatim
-
<<
\relative c'' { a1 | a }
\new Lyrics \lyricmode { \skip 1 bla1 }
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
\override Glissando.springs-and-rods =
#ly:spanner::set-spacing-rods
\override Glissando.thickness = #2
+ \omit StringNumber
+ % or:
+ %\override StringNumber.stencil = ##f
}
}
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, unfretted-strings"
accordion-discant-symbols.ly
-accordion-registers.ly
+accordion-register-symbols.ly
adding-bar-lines-to-chordnames-context.ly
adding-drum-parts.ly
adding-fingerings-to-tablatures.ly
creating-double-digit-fingerings.ly
cross-staff-stems.ly
display-bracket-with-only-one-staff-in-a-system.ly
+extending-a-trillspanner.ly
extending-glissandi-across-repeats.ly
forcing-measure-width-to-adapt-to-metronomemarks-width.ly
glissandi-can-skip-grobs.ly
putting-lyrics-inside-the-staff.ly
quoting-another-voice-with-transposition.ly
quoting-another-voice.ly
+removing-brace-on-first-line-of-piano-score.ly
removing-the-first-empty-line.ly
setting-system-separators.ly
tick-bar-lines.ly
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "text"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "fretted-strings"
doctitle = "Stem and beam behavior in tablature"
} % begin verbatim
-
\new TabStaff {
\relative c {
\tabFullNotation
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "contemporary-notation, rhythms"
doctitle = "Stemlets"
} % begin verbatim
-
\paper { ragged-right = ##f }
{
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "really-simple, template, unfretted-strings"
doctitle = "String quartet template (simple)"
} % begin verbatim
-
global= {
\time 4/4
\key c \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "preparing-parts, template, unfretted-strings"
doctitle = "String quartet template with separate parts"
} % begin verbatim
-
%%%%% piece.ly
%%%%% (This is the global definitions file)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "simultaneous-notes, tweaks-and-overrides"
doctitle = "Suppressing warnings for clashing note columns"
} % begin verbatim
-
ignore = \override NoteColumn.ignore-collision = ##t
\relative c' {
accordion-discant-symbols.ly
-accordion-registers.ly
+accordion-register-symbols.ly
adding-indicators-to-staves-which-get-split-after-a-break.ly
ancient-fonts.ly
breathing-signs.ly
caesura-railtracks-with-fermata.ly
changing--flageolet-mark-size.ly
custodes.ly
+customizing-the-position-and-number-of-dots-in-repeat-sign-bar-lines.ly
fingering-symbols-for-wind-instruments.ly
how-to-put-ties-between-syllables-in-lyrics.ly
positioning-segno-and-coda-with-line-break.ly
combining-two-parts-on-the-same-staff.ly
entering-several-tuplets-using-only-one--times-command.ly
+extending-a-trillspanner.ly
vertical-aligned-staffgroups-without-connecting-systemstartbar.ly
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "paper-and-layout"
texidoc = "
-A table of contents is included using @code{\\markuplist
+A table of contents is included using @code{\\markuplines
\\table-of-contents}. The TOC items are added with the
@code{\\tocItem} command.
doctitle = "Table of contents"
} % begin verbatim
-
#(set-default-paper-size "a6")
\book {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.28"
+\version "2.18.0"
\header {
lsrtags = "headword"
doctitle = "Text headword"
} % begin verbatim
+%% http://lsr.di.unimi.it/LSR/Item?id=829
+%% see also http://lilypond.org/doc/v2.18/Documentation/notation/text
+
\include "english.ly"
% NR 1.8 Text
c''32
df''32
ef''32
- \acciaccatura { df'' ef'' }
+ \acciaccatura { df''[ ef'' ] }
f''8
ef''16
df''16
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "rhythms, scheme-language, text"
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 ";;" is used to comment a line in Scheme
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "staff-notation"
doctitle = "Tick bar lines"
} % begin verbatim
-
\relative c' {
\set Score.defaultBarType = #"'"
c4 d e f
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
- lsrtags = "specific-notation, staff-notation, tweaks-and-overrides"
+ lsrtags = "rhythms, specific-notation, staff-notation, tweaks-and-overrides"
texidoc = "
Another way to put the time signature in parenthesis
doctitle = "Time signature in parentheses - method 3"
} % begin verbatim
-
\relative c'' {
\override Staff.TimeSignature.stencil = #(lambda (grob)
(parenthesize-stencil (ly:time-signature::print grob) 0.1 0.4 0.4 0.1 ))
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
- lsrtags = "specific-notation, staff-notation, tweaks-and-overrides"
+ lsrtags = "rhythms, specific-notation, staff-notation, tweaks-and-overrides"
texidoc = "
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))
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
7/4), but only the numerator (7 in this case). This can be easily done
by using @code{\\override Staff.TimeSignature.style = #'single-digit}
to change the style permanently. By using @code{\\revert
-Staff.TimeSignature.style}, this setting can be reversed. To apply
-the single-digit style to only one time signature, use the
+Staff.TimeSignature.style}, this setting can be reversed. To apply the
+single-digit style to only one time signature, use the
@code{\\override} command and prefix it with a @code{\\once}.
"
doctitle = "Time signature printing only the numerator as a number (instead of the fraction)"
} % begin verbatim
-
\relative c'' {
\time 3/4
c4 c c
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "ancient-notation, specific-notation, tweaks-and-overrides, workaround"
doctitle = "Transcription of Ancient music with incipit"
} % begin verbatim
+incipit =
+#(define-music-function (parser location incipit-music) (ly:music?)
+ #{
+ \once \override Staff.InstrumentName.self-alignment-X = #RIGHT
+ \once \override Staff.InstrumentName.self-alignment-Y = ##f
+ \once \override Staff.InstrumentName.padding = #0.3
+ \once \override Staff.InstrumentName.stencil =
+ #(lambda (grob)
+ (let* ((instrument-name (ly:grob-property grob 'long-text)))
+ (set! (ly:grob-property grob 'long-text)
+ #{ \markup
+ \score
+ {
+ { \context MensuralStaff \with {
+ instrumentName = #instrument-name
+ } $incipit-music
+ }
+ \layout { $(ly:grob-layout grob)
+ line-width = \indent
+ indent =
+ % primitive-eval is probably easiest for
+ % escaping lexical closure and evaluating
+ % everything respective to (current-module).
+ #(primitive-eval
+ '(or (false-if-exception (- indent incipit-width))
+ (* 0.5 indent)))
+ ragged-right = ##f
+ ragged-last = ##f
+ system-count = #1 }
+ }
+ #})
+ (system-start-text::print grob)))
+ #})
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
global = {
\set Score.skipBars = ##t
\key g \major
\time 4/4
- %make the staff lines invisible on staves
- \hide Staff.BarLine
- \skip 1*8 % the actual music
+
+ % the actual music
+ \skip 1*8
+
% let finis bar go through all staves
\override Staff.BarLine.transparent = ##f
+
% finis bar
\bar "|."
}
+discantusIncipit = <<
+ \new MensuralVoice = "discantusIncipit" <<
+ \repeat unfold 9 { s1 \noBreak }
+ {
+ \clef "neomensural-c1"
+ \key f \major
+ \time 2/2
+ c''1.
+ }
+ >>
+ \new Lyrics \lyricsto discantusIncipit { IV- }
+>>
+
discantusNotes = {
\transpose c' c'' {
- \clef treble
+ \clef "treble"
d'2. d'4 |
b e' d'2 |
c'4 e'4.( d'8 c' b |
a4) b a2 |
b4.( c'8 d'4) c'4 |
- \once \hide NoteHead c'1 |
+ \once \hide NoteHead
+ c'1 |
b\breve |
}
}
-us. |
}
+altusIncipit = <<
+ \new MensuralVoice = "altusIncipit" <<
+ \repeat unfold 9 { s1 \noBreak }
+ {
+ \clef "neomensural-c3"
+ \key f \major
+ \time 2/2
+ r1 f'1.
+ }
+ >>
+ \new Lyrics \lyricsto altusIncipit { IV- }
+>>
+
altusNotes = {
\transpose c' c'' {
- \clef treble
- r2 g2. e4 fis g | % two bars
+ \clef "treble"
+ % two measures
+ r2 g2. e4 fis g |
a2 g4 e |
fis g4.( fis16 e fis4) |
g1 |
- \once \hide NoteHead g1 |
+ \once \hide NoteHead
+ g1 |
g\breve |
}
}
altusLyrics = \lyricmode {
- Ju -- bi -- la -- te | % two bars
+ % two measures
+ Ju -- bi -- la -- te |
De -- o, om -- |
nis ter -- ra, |
"..." |
-us. |
}
+tenorIncipit = <<
+ \new MensuralVoice = "tenorIncipit" <<
+ \repeat unfold 9 { s1 \noBreak }
+ {
+ \clef "neomensural-c4"
+ \key f \major
+ \time 2/2
+ r\longa
+ r\breve
+ r1 c'1.
+ }
+ >>
+ \new Lyrics \lyricsto tenorIncipit { IV- }
+>>
+
tenorNotes = {
\transpose c' c' {
\clef "treble_8"
R1 |
R1 |
R1 |
- r2 d'2. d'4 b e' | % two bars
- \once \hide NoteHead e'1 |
+ % two measures
+ r2 d'2. d'4 b e' |
+ \once \hide NoteHead
+ e'1 |
d'\breve |
}
}
tenorLyrics = \lyricmode {
- Ju -- bi -- la -- te | % two bars
+ % two measures
+ Ju -- bi -- la -- te |
"..." |
-us.
}
+bassusIncipit = <<
+ \new MensuralVoice = "bassusIncipit" <<
+ \repeat unfold 9 { s1 \noBreak }
+ {
+ \clef "bass"
+ \key f \major
+ \time 2/2
+ %% incipit
+ r\maxima
+ f1.
+ }
+ >>
+ \new Lyrics \lyricsto bassusIncipit { IV- }
+>>
+
bassusNotes = {
\transpose c' c' {
- \clef bass
+ \clef "bass"
R1 |
R1 |
R1 |
R1 |
g2. e4 |
- \once \hide NoteHead e1 |
+ \once \hide NoteHead
+ e1 |
g\breve |
}
}
-us.
}
-incipitDiscantus = \markup {
- \score {
- {
- \set Staff.instrumentName = #"Discantus "
- \override NoteHead.style = #'neomensural
- \override Rest.style = #'neomensural
- \override Staff.TimeSignature.style = #'neomensural
- \cadenzaOn
- \clef "neomensural-c1"
- \key f \major
- \time 2/2
- c''1._"IV-" s2 %two bars
- \skip 1*8 % eight bars
- }
- \layout {
- \context {
- \Voice
- \remove "Ligature_bracket_engraver"
- \consists "Mensural_ligature_engraver"
- }
- line-width = 4.5\cm
- }
- }
-}
-
-incipitAltus = \markup {
- \score {
- {
- \set Staff.instrumentName = #"Altus "
- \override NoteHead.style = #'neomensural
- \override Rest.style = #'neomensural
- \override Staff.TimeSignature.style = #'neomensural
- \cadenzaOn
- \clef "neomensural-c3"
- \key f \major
- \time 2/2
- r1 % one bar
- f'1._"IV-" s2 % two bars
- \skip 1*7 % seven bars
- }
- \layout {
- \context {
- \Voice
- \remove "Ligature_bracket_engraver"
- \consists "Mensural_ligature_engraver"
- }
- line-width = 4.5\cm
- }
- }
-}
-
-incipitTenor = \markup {
- \score {
- {
- \set Staff.instrumentName = #"Tenor "
- \override NoteHead.style = #'neomensural
- \override Rest.style = #'neomensural
- \override Staff.TimeSignature.style = #'neomensural
- \cadenzaOn
- \clef "neomensural-c4"
- \key f \major
- \time 2/2
- r\longa % four bars
- r\breve % two bars
- r1 % one bar
- c'1._"IV-" s2 % two bars
- \skip 1 % one bar
- }
- \layout {
- \context {
- \Voice
- \remove "Ligature_bracket_engraver"
- \consists "Mensural_ligature_engraver"
- }
- line-width = 4.5\cm
- }
- }
-}
-
-incipitBassus = \markup {
- \score {
- {
- \set Staff.instrumentName = #"Bassus "
- \override NoteHead.style = #'neomensural
- \override Rest.style = #'neomensural
- \override Staff.TimeSignature.style = #'neomensural
- \cadenzaOn
- \clef "bass"
- \key f \major
- \time 2/2
- % incipit
- r\maxima % eight bars
- f1._"IV-" s2 % two bars
- }
- \layout {
- \context {
- \Voice
- \remove "Ligature_bracket_engraver"
- \consists "Mensural_ligature_engraver"
- }
- line-width = 4.5\cm
- }
- }
-}
-
-%StaffGroup is used instead of ChoirStaff to get bar lines between systems
\score {
<<
\new StaffGroup = choirStaff <<
\new Voice = "discantusNotes" <<
\global
- \set Staff.instrumentName = \incipitDiscantus
+ \set Staff.instrumentName = #"Discantus "
+ \incipit \discantusIncipit
\discantusNotes
>>
\new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics }
-
\new Voice = "altusNotes" <<
\global
- \set Staff.instrumentName = \incipitAltus
+ \set Staff.instrumentName = #"Altus "
+ \incipit \altusIncipit
\altusNotes
>>
\new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics }
-
\new Voice = "tenorNotes" <<
\global
- \set Staff.instrumentName = \incipitTenor
+ \set Staff.instrumentName = #"Tenor "
+ \incipit \tenorIncipit
\tenorNotes
>>
\new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics }
-
\new Voice = "bassusNotes" <<
\global
- \set Staff.instrumentName = \incipitBassus
+ \set Staff.instrumentName = #"Bassus "
+ \incipit \bassusIncipit
\bassusNotes
>>
+ \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
>>
- \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
- %Keep the bass lyrics outside of the staff group to avoid bar lines
- %between the lyrics.
>>
-
\layout {
\context {
\Score
- % no bars in staves
+ %% no bar lines in staves or lyrics
\hide BarLine
}
- % the next three instructions keep the lyrics between the bar lines
+ %% the next two instructions keep the lyrics between the bar lines
\context {
\Lyrics
\consists "Bar_engraver"
- \hide BarLine
- }
- \context {
- \StaffGroup
\consists "Separating_line_group_engraver"
}
\context {
\Voice
- % no slurs
+ %% no slurs
\hide Slur
- % Comment in the below "\remove" command to allow line
- % breaking also at those barlines where a note overlaps
- % into the next bar. The command is commented out in this
- % short example score, but especially for large scores, you
- % will typically yield better line breaking and thus improve
- % overall spacing if you comment in the following command.
- %\remove "Forbid_line_break_engraver"
+ %% Comment in the below "\remove" command to allow line
+ %% breaking also at those bar lines where a note overlaps
+ %% into the next measure. The command is commented out in this
+ %% short example score, but especially for large scores, you
+ %% will typically yield better line breaking and thus improve
+ %% overall spacing if you comment in the following command.
+ %%\remove "Forbid_line_break_engraver"
}
- indent = 5\cm
+ indent = 6\cm
+ incipit-width = 4\cm
}
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "pitches, scheme-language, workaround"
doctitle = "Transposing pitches with minimum accidentals (\"Smart\" transpose)"
} % begin verbatim
-
#(define (naturalize-pitch p)
(let ((o (ly:pitch-octave p))
(a (* 4 (ly:pitch-alteration p)))
--- /dev/null
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
+
+\header {
+ lsrtags = "tweaks-and-overrides"
+
+ texidoc = "
+This snippet shows how to set a tuplet starting in a lower staff and
+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.
+ \stemDown
+ c16[ bes' e]
+ \stemUp
+ g c e
+ \stemDown
+ g8
+}
+
+basses = \relative c {
+ \time 3/4
+ \clef F
+ \tweak positions #'(4.5 . 9.5)
+ \tweak edge-height #'(1 . -1)
+ \tuplet 7/6 {
+ c16[ bes' e]
+ \change Staff = md
+ \stemUp
+ g[ c e g]
+ }
+ s4.s8
+}
+
+\new PianoStaff
+\with { \omit TimeSignature }
+<<
+ \new Staff = md \aigues
+ \new Staff = mg \basses
+>>
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.18"
+\version "2.18.0"
\header {
lsrtags = "pitches, staff-notation, tweaks-and-overrides"
The command @code{\\clef \"treble_8\"} is equivalent to setting
@code{clefGlyph}, @code{clefPosition} (which controls the vertical
position of the clef), @code{middleCPosition} and
-@code{clefTransposition}. A clef is printed when any of the properties
+@code{clefOctavation}. A clef is printed when any of the properties
except @code{middleCPosition} are changed.
@code{middleCClefPosition} must also be set. The positional parameters
are relative to the staff center line, positive numbers displacing
upwards, counting one for each line and space. The
-@code{clefTransposition} value would normally be set to 7, -7, 15 or -15,
+@code{clefOctavation} value would normally be set to 7, -7, 15 or -15,
but other values are valid.
doctitle = "Tweaking clef properties"
} % begin verbatim
-\layout { ragged-right = ##t }
+\layout {
+ indent = 0
+ ragged-right = ##t
+}
{
% The default treble clef
\key f \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.28"
+\version "2.18.0"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
doctitle = "Tweaking grace layout within music"
} % begin verbatim
-
\relative c'' {
\new Staff {
$(remove-grace-property 'Voice 'Stem 'direction)
adding-links-to-objects.ly
adding-timing-marks-to-long-glissandi.ly
adjusting-grace-note-spacing.ly
+adjusting-lyrics-vertical-spacing.ly
altering-the-length-of-beamed-stems.ly
alternative-bar-numbering.ly
analysis-brackets-above-the-staff.ly
caesura-railtracks-with-fermata.ly
centering-markup-on-note-heads-automatically.ly
changing-a-single-notes-size-in-a-chord.ly
+changing-beam-thickness-and-spacing.ly
changing-form-of-multi-measure-rests.ly
changing-properties-for-individual-grobs.ly
changing-text-and-spanner-styles-for-text-dynamics.ly
drawing-circles-around-various-objects.ly
dynamics-custom-text-spanner-postfix.ly
dynamics-text-spanner-postfix.ly
+extending-a-trillspanner.ly
extending-glissandi-across-repeats.ly
fine-tuning-pedal-brackets.ly
forcing-horizontal-shift-of-notes.ly
positioning-arpeggios.ly
positioning-multi-measure-rests.ly
positioning-text-markups-inside-slurs.ly
+printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
printing-bar-numbers-inside-boxes-or-circles.ly
printing-metronome-and-rehearsal-marks-below-the-staff.ly
printing-note-names-with-and-without-an-octave-marker.ly
proportional-strict-notespacing.ly
+removing-brace-on-first-line-of-piano-score.ly
removing-connecting-bar-lines-on-staffgroup,-pianostaff,-or-grandstaff.ly
removing-the-first-empty-line.ly
rest-styles.ly
time-signature-in-parentheses.ly
time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly
transcription-of-ancient-music-with-incipit.ly
+tuplet-bracket-and-change-staff.ly
tweaking-clef-properties.ly
tweaking-grace-layout-within-music.ly
using-alternative-flag-styles.ly
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, staff-notation"
doctitle = "Use square bracket at the start of a staff group"
} % begin verbatim
-
\score {
\new StaffGroup { <<
\set StaffGroup.systemStartDelimiter = #'SystemStartSquare
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks, vocal-music"
doctitle = "Using arpeggioBracket to make divisi more visible"
} % begin verbatim
-
\include "english.ly"
\score {
\new Voice = "lower"
{ \voiceTwo
a1 ~
- 1
+ a
a ~
- 4 \bar "|."
+ a4 \bar "|."
}
>>
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "keyboards, pitches, staff-notation"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
doctitle = "Using double slurs for legato chords"
} % begin verbatim
-
\relative c' {
\set doubleSlurs = ##t
<c e>4( <d f> <c e> <d f>)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "devel, scheme-language, tweaks-and-overrides"
texidoc = "
-Some grobs can be accessed @qq{laterally} from within another grob's
-callback. These are usually listed as @qq{layout objects} in the
-@qq{Internal properties} section of a grob-interface. The function
-@code{ly:grob-object} is used to access these grobs.
+Some grobs can be accessed “laterally” from within another grob’s
+callback. These are usually listed as “layout objects” in the “Internal
+properties” section of a grob-interface. The function ly:grob-object is
+used to access these grobs.
Demonstrated below are some ways of accessing grobs from within a
Example console output:
--------------------- #-Grob Accidental - #-Grob Arpeggio - #-Grob Stem -
+@code{ #Grob Accidental () #Grob Stem}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, really-cool, scheme-language, tweaks-and-overrides"
doctitle = "Using PostScript to generate special note head shapes"
} % begin verbatim
-
parallelogram =
#(ly:make-stencil (list 'embedded-ps
"gsave
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "really-simple, tweaks-and-overrides"
doctitle = "Using the \\tweak command to tweak individual grobs"
} % begin verbatim
-
\relative c' {
\time 2/4
\set fingeringOrientations = #'(right)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "editorial-annotations, expressive-marks"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "rhythms"
doctitle = "Using ties with arpeggios"
} % begin verbatim
-
\relative c' {
\set tieWaitForNote = ##t
\grace { c16[ ~ e ~ g] ~ } <c, e g>2
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "text"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.30"
+\version "2.18.0"
\header {
lsrtags = "paper-and-layout, staff-notation, syntax-and-expressions"
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "ancient-notation, expressive-marks"
doctitle = "Vertical line as a baroque articulation mark"
} % begin verbatim
-
upline =
#(let ((m (make-articulation "stopped")))
(set! (ly:music-property m 'tweaks)
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "expressive-marks"
doctitle = "Vertically aligning dynamics across multiple notes"
} % begin verbatim
-
\relative c' {
\override DynamicLineSpanner.staff-padding = #4
c2\p f\mf
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.11"
+\version "2.18.0"
\header {
lsrtags = "spacing, tweaks-and-overrides, vocal-music"
doctitle = "Vertically aligning ossias and lyrics"
} % begin verbatim
-
\paper {
ragged-right = ##t
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "vocal-music"
texidoc = "
-In a vocal piece where there are several (two,four or more) lines of
-lyrics, and common lyrics for all voices at some point, these common
-lyrics may be vertically centered regardingly, as shown in the
+In a vocal piece where there are several (two, four or more) lines of
+lyrics and common lyrics for all voices at some point, the common
+lyrics may be made to appear vertically centered, as shown in the
following example:
"
doctitle = "Vertically centered common lyrics"
} % begin verbatim
-\include "english.ly"
-leftbrace = \markup { \override #'(font-encoding . fetaBraces) \lookup #"brace240" }
-rightbrace = \markup { \rotate #180 \leftbrace }
-
-dropLyrics =
-{
- \override LyricText.extra-offset = #'(0 . -5)
- \override LyricHyphen.extra-offset = #'(0 . -5)
- \override LyricExtender.extra-offset = #'(0 . -5)
+dropLyrics = {
+ \override LyricText.extra-offset = #'(0 . -4.5)
+ \override LyricHyphen.extra-offset = #'(0 . -4.5)
+ \override LyricExtender.extra-offset = #'(0 . -4.5)
+ \override StanzaNumber.extra-offset = #'(0 . -4.5)
}
-raiseLyrics =
-{
- \revert LyricText.extra-offset
- \revert LyricHyphen.extra-offset
- \revert LyricExtender.extra-offset
+raiseLyrics = {
+ \revert LyricText.extra-offset
+ \revert LyricHyphen.extra-offset
+ \revert LyricExtender.extra-offset
+ \revert StanzaNumber.extra-offset
}
skipFour = \repeat unfold 4 { \skip 8 }
-lyricsA = \lyricmode { The first verse has \dropLyrics the com -- mon
-__ words \raiseLyrics used in all four. }
-lyricsB = \lyricmode { In stan -- za two, \skipFour al -- so ap -- pear. }
-lyricsC = \lyricmode { By the third verse, \skipFour are get -- ting dull. }
+lyricsA = \lyricmode {
+ The first verse has
+ \dropLyrics
+ \set stanza = #" All:"
+ the com -- mon __ words
+ \raiseLyrics
+ used in all four.
+}
+
+lyricsB = \lyricmode { In stan -- za two, \skipFour al -- so ap -- pear. }
+
+lyricsC = \lyricmode { By the third verse, \skipFour are get -- ting dull. }
+
lyricsD = \lyricmode { Last stan -- za, and \skipFour get used once more. }
-melody = \relative c' { c4 d e f g f e8( e f) d4 c e d c }
-
-\score
-{
- <<
- \new Voice = m \melody
- \new Lyrics \lyricsto m \lyricsA
- \new Lyrics \lyricsto m \lyricsB
- \new Lyrics \lyricsto m \lyricsC
- \new Lyrics \lyricsto m \lyricsD
- >>
+melody = \relative c' {
+ c4 d e f |
+ g f e8( e f) d |
+ c4 e d c |
+}
+
+\score {
+ <<
+ \new Voice = m \melody
+ \new Lyrics \lyricsto m \lyricsA
+ \new Lyrics \lyricsto m \lyricsB
+ \new Lyrics \lyricsto m \lyricsC
+ \new Lyrics \lyricsto m \lyricsD
+ >>
}
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords, tweaks-and-overrides"
doctitle = "Vertically centering paired figured bass extenders"
} % begin verbatim
-
<<
\relative c' {
c8 c b b a a c16 c b b
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "automatic-notation, keyboards, template, vocal-music"
doctitle = "Vocal ensemble template with automatic piano reduction"
} % begin verbatim
-
\paper {
top-system-spacing #'basic-distance = #10
score-system-spacing #'basic-distance = #20
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, template, text, vocal-music"
doctitle = "Vocal ensemble template with lyrics aligned below and above the staves"
} % begin verbatim
-
global = {
\key c \major
\time 4/4
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "contexts-and-engravers, template, vocal-music"
doctitle = "Vocal ensemble template with verse and refrain"
} % begin verbatim
-
global = {
\key g \major
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "really-simple, template, vocal-music"
doctitle = "Vocal ensemble template"
} % begin verbatim
-
\paper {
top-system-spacing #'basic-distance = #10
score-system-spacing #'basic-distance = #20
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
\header {
lsrtags = "headword"
doctitle = "Vocal headword"
} % begin verbatim
-\layout {
- \context {
- \Score
- \override PaperColumn.keep-inside-line = ##t
- \override NonMusicalPaperColumn.keep-inside-line = ##t
- }
-}
+%% http://lsr.di.unimi.it/LSR/Item?id=832
+%% see also http://lilypond.org/doc/v2.18/Documentation/notation/vocal-music
% L. van Beethoven. Symphony No. 9 in D minor, op.125; Finale
% mm. 216 -- 236
\autoBeamOff
r4^\markup { \small Baritono } r a
\appoggiatura a8 e'2. ~
- 4 d8[ cis d e]
+ e4 d8[ cis d e]
e4 g, r8 g
bes2 a8 e
g4 f r
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "chords, repeats, staff-notation"
doctitle = "Volta below chords"
} % begin verbatim
-
\score {
<<
\chords {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "really-simple, repeats, staff-notation"
doctitle = "Volta multi staff"
} % begin verbatim
-
voltaMusic = \relative c'' {
\repeat volta 2 {
c1
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "repeats, symbols-and-glyphs, text"
doctitle = "Volta text markup using repeatCommands"
} % begin verbatim
-
voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
\relative c'' {
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.6"
+\version "2.18.0"
\header {
lsrtags = "headword"
doctitle = "Wind headword"
} % begin verbatim
+%% http://lsr.di.unimi.it/LSR/Item?id=833
+%% see also http://lilypond.org/doc/v2.18/Documentation/notation/wind-instruments
+
% NR 2.whatever Wind
% Tchaikovsky
% Nutcracker Suite, VII Dance of the Merlitons
%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.16.0"
+\version "2.18.0"
\header {
lsrtags = "specific-notation, winds"
doctitle = "Woodwind diagrams listing"
} % begin verbatim
+\layout {
+ indent = 0
+}
+
\relative c' {
\textLengthOn
c1^