]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/parent-alignment-synchronized-with-self-alignment.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / parent-alignment-synchronized-with-self-alignment.ly
1 \version "2.19.11"
2
3 \header {
4   texidoc = "When @code{parent-alignment-X} property is unset,
5 the value of @code{self-alignment-X} will be used as the factor
6 for parent alignment.  This happens e.g. for LyricTexts."
7 }
8
9 {
10   \time 4/2
11   % use breve noteheads because their refpoints aren't on their
12   % left edges - this may help catching subtle bugs.
13   \override NoteHead.style = #'altdefault
14   <>^"alignments “synchronized”:"
15   f'\breve f' f'
16   <>^"parent-alignment set to ##f:"
17   f' f' f'
18 }
19 \addlyrics {
20   \override LyricSpace.minimum-distance = 5
21
22   \override LyricText.self-alignment-X = #LEFT
23   left
24   \override LyricText.self-alignment-X = #CENTER
25   center
26   \override LyricText.self-alignment-X = #RIGHT
27   right
28
29   \override LyricText.parent-alignment-X = ##f
30   \override LyricText.self-alignment-X = #LEFT
31   left
32   \override LyricText.self-alignment-X = #CENTER
33   center
34   \override LyricText.self-alignment-X = #RIGHT
35   right
36 }