--- /dev/null
+\version "2.11.59"
+
+\header {
+ lsrtags = "text, paper-and-layout, titles"
+ texidoc = "The horizontal alignment of instrument names is tweaked
+by changing the @code{Staff.InstrumentName #'self-alignment-X} property.
+The @code{\\layout} variables @code{indent} and @code{short-indent}
+define the space in which the instrument names are aligned before the
+first and the following systems, respectively."
+ doctitle = "Aligning and centering instrument names"
+}
+
+\paper { left-margin = 3\cm }
+\score {
+ \new StaffGroup <<
+ \new Staff {
+ \override Staff.InstrumentName #'self-alignment-X = #LEFT
+ \set Staff . instrumentName = \markup \left-column {
+ "Left aligned"
+ "instrument name"
+ }
+ \set Staff.shortInstrumentName = #"Left"
+ c''1
+ \break
+ c''1
+ }
+ \new Staff {
+ \override Staff.InstrumentName #'self-alignment-X = #CENTER
+ \set Staff.instrumentName = \markup \center-column {
+ "Centered"
+ "instrument name"
+ }
+ \set Staff.shortInstrumentName = #"Centered"
+ g'1
+ g'1
+ }
+ \new Staff {
+ \override Staff.InstrumentName #'self-alignment-X = #RIGHT
+ \set Staff.instrumentName = \markup \right-column {
+ "Right aligned"
+ "instrument name"
+ }
+ \set Staff.shortInstrumentName = #"Right"
+ e'1
+ e'1
+ }
+ >>
+ \layout {
+ ragged-right = ##t
+ indent = 4\cm
+ short-indent = 2\cm
+ }
+}
--- /dev/null
+\version "2.11.59"
+
+\header {
+ lsrtags = "text"
+ texidoc = "If specified, text marks may be aligned with notation
+objects other than bar lines. These objects include @code{ambitus},
+@code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
+@code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
+@code{time-signature}.
+
+In such cases, text marks will be horizontally centered above the
+object. However this can be changed, as demonstrated on the second
+line of this example (in a score with multiple staves, this setting
+should be done for all the staves)."
+ doctitle = "Aligning marks with various notation objects"
+}
+
+\relative c' {
+ e1
+
+ % the RehearsalMark will be centered above the Clef
+ \override Score.RehearsalMark #'break-align-symbols = #'(clef)
+ \key a \major
+ \clef treble
+ \mark "↓"
+ e1
+
+ % the RehearsalMark will be centered above the TimeSignature
+ \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
+ \key a \major
+ \clef treble
+ \time 3/4
+ \mark "↓"
+ e2.
+
+ % the RehearsalMark will be centered above the KeySignature
+ \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
+ \key a \major
+ \clef treble
+ \time 4/4
+ \mark "↓"
+ e1
+
+ \break
+ e1
+
+ % the RehearsalMark will be aligned with the left edge of the KeySignature
+ \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
+ \mark "↓"
+ \key a \major
+ e1
+
+ % the RehearsalMark will be aligned with the right edge of the KeySignature
+ \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
+ \key a \major
+ \mark "↓"
+ e1
+
+ % the RehearsalMark will be aligned with the left edge of the KeySignature
+ % and then shifted right by one unit.
+ \once \override Score.KeySignature #'break-align-anchor = #1
+ \key a \major
+ \mark "↓"
+ e1
+}
--- /dev/null
+\version "2.11.59"
+
+\header {
+ lsrtags = "keyboards, tweaks-and-overrides"
+ texidoc = "The appearance of pedal brackets may be altered in
+different ways, using the relevant properties as shown in the
+following example."
+ doctitle = "Fine-tuning pedal brackets"
+}
+
+\paper { ragged-right = ##f }
+\relative c'' {
+ c2\sostenutoOn c
+ c2\sostenutoOff c
+ \once \override Staff.PianoPedalBracket #'shorten-pair = #'(-7 . -2)
+ c2\sostenutoOn c
+ c2\sostenutoOff c
+ \once \override Staff.PianoPedalBracket #'edge-height = #'(0 . 3)
+ c2\sostenutoOn c
+ c2\sostenutoOff c
+}