]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/analysis-brackets-with-labels.ly
makelsr for previous commit
[lilypond.git] / Documentation / snippets / analysis-brackets-with-labels.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.19.55
8 \version "2.19.55"
9
10 \header {
11   lsrtags = "editorial-annotations, tweaks-and-overrides"
12
13   texidoc = "
14 Text may be added to analysis brackets through the @code{text} property
15 of the @code{HorizontalBracketText} grob.  Adding different texts to
16 brackets beginning at the same time requires the @code{\\tweak} command.
17 Bracket text will be parenthesized after a line break.
18
19 "
20   doctitle = "Analysis brackets with labels"
21 } % begin verbatim
22
23
24 \layout {
25   \context {
26     \Voice
27     \consists "Horizontal_bracket_engraver"
28     \override HorizontalBracket.direction = #UP
29   }
30 }
31
32 {
33   \once\override HorizontalBracketText.text = "a"
34   c''\startGroup d''\stopGroup
35   \once\override HorizontalBracketText.text = "a'"
36   e''\startGroup d''\stopGroup
37   c''
38   -\tweak text \markup \bold \huge "b" \startGroup
39   -\tweak text "a" \startGroup
40   d''\stopGroup
41   e''-\tweak text "a'" \startGroup
42   d''\stopGroup\stopGroup
43   c''-\tweak text foo \startGroup d'' e'' f''
44   \break
45   g'' a'' b'' c'''\stopGroup
46 }