--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.13.1"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+Bar numbers by default are right-aligned to their parent object. This
+is usually the left edge of a line or, if numbers are printed within a
+line, the left hand side of a bar line. The numbers may also be
+positioned directly over the bar line or left-aligned to the bar line.
+
+"
+ doctitle = "Aligning bar numbers"
+} % begin verbatim
+
+\relative c' {
+ \set Score.currentBarNumber = #111
+ \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
+ % Increase the size of the bar number by 2
+ \override Score.BarNumber #'font-size = #2
+ % Print a bar number every second measure
+ \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
+ c1 | c1
+ % Center-align bar numbers
+ \override Score.BarNumber #'self-alignment-X = #CENTER
+ c1 | c1
+ % Left-align bar numbers
+ \override Score.BarNumber #'self-alignment-X = #LEFT
+ c1 | c1
+}
engravers-one-by-one.ly
mensurstriche-layout-bar-lines-between-the-staves.ly
nesting-staves.ly
+removing-bar-numbers-from-a-score.ly
use-square-bracket-at-the-start-of-a-staff-group.ly
vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
\new TabStaff {
\override Staff.Clef #'stencil = #(lambda (grob)
- ly:clef::print (grob-interpret-markup grob TAB))
+ (grob-interpret-markup grob TAB))
a
}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.13.1"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+Setting the property @code{'strict-grace-spacing} makes the musical
+columns for grace notes 'floating', i.e., decoupled from the non-grace
+notes: first the normal notes are spaced, then the (musical columns of
+the) graces are put left of the musical columns for the main notes.
+
+"
+ doctitle = "Positioning grace notes with floating space"
+} % begin verbatim
+
+\relative c'' {
+ <<
+ \override Score.SpacingSpanner #'strict-grace-spacing = ##t
+ \new Staff \new Voice {
+ \afterGrace c4 { c16[ c8 c16] }
+ c8[ \grace { b16[ d] } c8]
+ c4 r
+ }
+ \new Staff {
+ c16 c c c c c c c c4 r
+ }
+ >>
+}
+
+
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.13.1"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+Bar numbers can be printed at regular intervals by setting the property
+@code{barNumberVisibility}. Here the bar numbers are printed every two
+measures except at the end of the line.
+
+"
+ doctitle = "Printing bar numbers at regular intervals"
+} % begin verbatim
+
+\relative c' {
+ \override Score.BarNumber #'break-visibility = #'#(#f #t #t)
+ \set Score.currentBarNumber = #11
+ % Permit first bar number to be printed
+ \bar ""
+ % Print a bar number every second measure
+ \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
+ c1 | c | c | c | c
+ \break
+ c1 | c | c | c | c
+}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.13.1"
+
+\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
+ texidoc = "
+Bar numbers can also be printed inside boxes or circles.
+
+
+
+"
+ 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
+ \set Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
+
+ % Increase the size of the bar number by 2
+ \override Score.BarNumber #'font-size = #2
+
+ % Draw a box round the following bar number(s)
+ \override Score.BarNumber #'stencil
+ = #(make-stencil-boxer 0.1 0.25 ly:text-interface::print)
+ \repeat unfold 5 { c1 }
+
+ % Draw a circle round the following bar number(s)
+ \override Score.BarNumber #'stencil
+ = #(make-stencil-circler 0.1 0.25 ly:text-interface::print)
+ \repeat unfold 4 { c1 } \bar "|."
+}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.13.1"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+The global defaults for grace notes are stored in the identifiers
+@code{startGraceMusic}, @code{stopGraceMusic},
+@code{startAcciaccaturaMusic}, @code{stopAcciaccaturaMusic},
+@code{startAppoggiaturaMusic} and @code{stopAppoggiaturaMusic}, which
+are defined in the file @code{ly/grace-init.ly}. By redefining them
+other effects may be obtained.
+
+"
+ doctitle = "Redefining grace note global defaults"
+} % begin verbatim
+
+startAcciaccaturaMusic = {
+ s1*0(
+ \override Stem #'stroke-style = #"grace"
+ \slurDashed
+}
+
+stopAcciaccaturaMusic = {
+ \revert Stem #'stroke-style
+ \slurSolid
+ s1*0)
+}
+
+\relative c'' {
+ \acciaccatura d8 c1
+}
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.13.1"
+
+\header {
+ lsrtags = "rhythms, contexts-and-engravers"
+
+ texidoc = "
+Bar numbers can be removed entirely by removing the
+@code{Bar_number_engraver} from the @code{Score} context.
+
+"
+ doctitle = "Removing bar numbers from a score"
+} % begin verbatim
+
+\layout {
+ \context {
+ \Score
+ \remove "Bar_number_engraver"
+ }
+}
+
+\relative c'' {
+ c4 c c c \break
+ c4 c c c
+}
adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
adding-drum-parts.ly
+aligning-bar-numbers.ly
automatic-beam-subdivisions.ly
automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly
avoiding-collisions-with-chord-fingerings.ly
multi--measure-rest-markup.ly
non-default-tuplet-numbers.ly
permitting-line-breaks-within-beamed-tuplets.ly
+positioning-grace-notes-with-floating-space.ly
positioning-multi--measure-rests.ly
+printing-bar-numbers-at-regular-intervals.ly
+printing-bar-numbers-inside-boxes-or-circles.ly
printing-metronome-and-rehearsal-marks-below-the-staff.ly
printing-music-with-different-time-signatures.ly
printing-the-bar-number-for-the-first-measure.ly
+redefining-grace-note-global-defaults.ly
+removing-bar-numbers-from-a-score.ly
rest-styles.ly
reverting-default-beam-endings.ly
rhythmic-slashes.ly
stemlets.ly
sub-dividing-beams.ly
three-sided-box.ly
+tweaking-grace-layout-within-music.ly
using-beatlength-and-beatgrouping.ly
+using-grace-note-slashes-with-normal-heads.ly
using-ties-with-arpeggios.ly
--- /dev/null
+%% Do not edit this file; it is auto-generated from input/new
+%% This file is in the public domain.
+\version "2.13.1"
+
+\header {
+ lsrtags = "rhythms"
+ texidoc = "
+The layout of grace expressions can be changed throughout the
+music using the functions @code{add-grace-property} and
+@code{remove-grace-property}. The following example undefines
+the @code{Stem} direction for this grace, so that stems do not
+always point up, and changes the default note heads to crosses.
+"
+ doctitle = "Tweaking grace layout within music"
+} % begin verbatim
+
+
+\relative c'' {
+ \new Staff {
+ #(remove-grace-property 'Voice 'Stem 'direction)
+ #(add-grace-property 'Voice 'NoteHead 'style 'cross)
+ \new Voice {
+ \acciaccatura { f16 } g4
+ \grace { d16[ e] } f4
+ \appoggiatura { f,32[ g a] } e2
+ }
+ }
+}
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
proportional-strict-notespacing.ly
removing-the-first-empty-line.ly
--- /dev/null
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.13.1"
+
+\header {
+ lsrtags = "rhythms"
+
+ texidoc = "
+The slash through the stem found in acciaccaturas can be applied in
+other situations.
+
+"
+ doctitle = "Using grace note slashes with normal heads"
+} % begin verbatim
+
+\relative c'' {
+ \override Stem #'stroke-style = #"grace"
+ c8( d2) e8( f4)
+}
\new TabStaff {
\override Staff.Clef #'stencil = #(lambda (grob)
- ly:clef::print (grob-interpret-markup grob TAB))
+ (grob-interpret-markup grob TAB))
a
}
--- /dev/null
+\version "2.12.0"
+
+\header {
+ lsrtags = "rhythms"
+ texidoc = "
+The layout of grace expressions can be changed throughout the
+music using the functions @code{add-grace-property} and
+@code{remove-grace-property}. The following example undefines
+the @code{Stem} direction for this grace, so that stems do not
+always point up, and changes the default note heads to crosses.
+"
+ doctitle = "Tweaking grace layout within music"
+}
+
+\relative c'' {
+ \new Staff {
+ #(remove-grace-property 'Voice 'Stem 'direction)
+ #(add-grace-property 'Voice 'NoteHead 'style 'cross)
+ \new Voice {
+ \acciaccatura { f16 } g4
+ \grace { d16[ e] } f4
+ \appoggiatura { f,32[ g a] } e2
+ }
+ }
+}