[ << Musical notation ] | [Anfang][Inhalt][Index][ ? ] | [ Specialist notation >> ] | ||
[ < Stems ] | [ Nach oben : Editorial annotations ] | [ Balloon help > ] |
1.7.2 Outside the staff
Dieser Abschnitt zeigt, wie man Elemente im System von außerhalb des Systems hervorhebt.
Balloon help | ||
Grid lines | ||
Analysis brackets |
[ << Musical notation ] | [Anfang][Inhalt][Index][ ? ] | [ Specialist notation >> ] | ||
[ < Outside the staff ] | [ Nach oben : Outside the staff ] | [ Grid lines > ] |
Balloon help
Notationselemente können bezeichnet und markiert werden, indem um sie eine rechteckige Blase gezeichnet wird. Dies ist vor allem dazu da, Notation zu erklären.
\new Voice \with { \consists "Balloon_engraver" } { \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" } a8 \balloonGrobText #'Rest #'(-4 . -4) \markup { "I'm a rest" } r <c, g'-\balloonText #'(-2 . -2) \markup { "I'm a note head" } c>2. }
Es gibt zwei Funktionen, balloonGrobText
und
balloonText
; die erste wird auf gleiche Art wie ein
\once \override
eingesetzt umd Text an einen Grob zu
hängen, die zweite funktioniert wie ein \tweak
und
wird üblicherweise innerhalb von Akkorden eingesetzt, um Text
an einzelne Noten zu hängen.
Textblasen beeinflussen normalerweise die Positionierung der Notation, aber das kann geändert werden.
\new Voice \with { \consists "Balloon_engraver" } { \balloonLengthOff \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" } a8 \balloonGrobText #'Rest #'(-4 . -4) \markup { "I'm a rest" } r \balloonLengthOn <c, g'-\balloonText #'(-2 . -2) \markup { "I'm a note head" } c>2. }
Predefined commands
\balloonLengthOn
,
\balloonLengthOff
.
See also
Schnipsel: Editorial annotations.
Referenz der Interna: Balloon_engraver, BalloonTextItem, balloon-interface.
[ << Musical notation ] | [Anfang][Inhalt][Index][ ? ] | [ Specialist notation >> ] | ||
[ < Balloon help ] | [ Nach oben : Outside the staff ] | [ Analysis brackets > ] |
Grid lines
Vertikale Linien können zwischen Systemen gesetzt werden, die mit den Noten synchronisiert sind.
Der Grid_point_engraver
muss benutzt werden, um die Endpunkte
der Linien zu definieren, und der Grid_line_span_engraver
wird
benutzt, um dann die Linien zu setzen. Der Standard ist, dass die
Gitterlinien unter den Noten und zur linken Seite des Notenkopfes
gesetzt werden. Sie reichen von der Mitte eines Systems bis zur
Mitte des anderen. Mit gridInterval
wird die Dauer zwischen
den Linien festgesetzt.
\layout { \context { \Staff \consists "Grid_point_engraver" gridInterval = #(ly:make-moment 1 4) } \context { \Score \consists "Grid_line_span_engraver" } } \score { \new ChoirStaff << \new Staff \relative c'' { \stemUp c4. d8 e8 f g4 } \new Staff \relative c { \clef bass \stemDown c4 g' f e } >> }
Selected Snippets
Grid lines: changing their appearance
The appearance of grid lines can be changed by overriding some of their properties.
\score { \new ChoirStaff << \new Staff { \relative c'' { \stemUp c'4. d8 e8 f g4 } } \new Staff { \relative c { % this moves them up one staff space from the default position \override Score.GridLine #'extra-offset = #'(0.0 . 1.0) \stemDown \clef bass \once \override Score.GridLine #'thickness = #5.0 c4 \once \override Score.GridLine #'thickness = #1.0 g'4 \once \override Score.GridLine #'thickness = #3.0 f4 \once \override Score.GridLine #'thickness = #5.0 e4 } } >> \layout { \context { \Staff % set up grids \consists "Grid_point_engraver" % set the grid interval to one quarter note gridInterval = #(ly:make-moment 1 4) } \context { \Score \consists "Grid_line_span_engraver" % this moves them to the right half a staff space \override NoteColumn #'X-offset = #-0.5 } } }
See also
Schnipsel: Editorial annotations.
Referenz der Interna: Grid_line_span_engraver, Grid_point_engraver, GridLine, GridPoint, grid-line-interface, grid-point-interface.
[ << Musical notation ] | [Anfang][Inhalt][Index][ ? ] | [ Specialist notation >> ] | ||
[ < Grid lines ] | [ Nach oben : Outside the staff ] | [ Text > ] |
Analysis brackets
Klammern über dem System werden in der Musikanalyse benutzt, um strukturelle Einheiten der Musik zu markieren. Einfache horizontale Klammern werden von LilyPond unterstützt.
\layout { \context { \Voice \consists "Horizontal_bracket_engraver" } } \relative c'' { c2\startGroup d\stopGroup }
Analysis brackets may be nested.
\layout { \context { \Voice \consists "Horizontal_bracket_engraver" } } \relative c'' { c4\startGroup\startGroup d4\stopGroup e4\startGroup d4\stopGroup\stopGroup }
See also
Schnipsel: Editorial annotations.
Referenz der Interna: Horizontal_bracket_engraver, HorizontalBracket, horizontal-bracket-interface, Staff.
[ << Musical notation ] | [Anfang][Inhalt][Index][ ? ] | [ Specialist notation >> ] | ||
[ < Grid lines ] | [ Nach oben : Outside the staff ] | [ Text > ] |