[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

External sites
lilypond.org/development
lilypond.org/stable
savannah.gnu.org
ftp.lilypond.org
Mutopia
Other music online

Node:PianoStaff, Next:, Previous:NoteNames, Up:Contexts



PianoStaff

Just like GrandStaff but with minVerticalAlign set equal to maxVerticalAlign so that interstaff beaming and slurring can be used.

This context creates the following grobs: Arpeggio, InstrumentName, SpanBar, SystemStartBar, SystemStartBrace, SystemStartBracket and VerticalAlignment.

This context sets the following properties:

  • Set translator property instr to '()
  • Set translator property instrument to '()
  • Set grob-property self-alignment-Y in VerticalAlignment to 0
  • Set grob-property forced-distance in VerticalAlignment to 12
  • Set translator property verticalAlignmentChildCallback to Align_interface::fixed_distance_alignment_callback
  • Set translator property systemStartDelimiter to 'SystemStartBrace
  • Set translator property localKeySignature to '()

Context PianoStaff can contain Staff

This context is built from the following engravers:

Engraver_group_engraver

A group of engravers taken together

Engraver_group_engraver is part of contexts: Voice, StaffGroup, PianoStaff, InnerStaffGroup, LyricsVoice, RhythmicStaff, NoteNames, TabVoice, FiguredBass, Thread, Staff, StaffContainer, ChordNames, GrandStaff, InnerChoirStaff, Lyrics, ChoirStaff and TabStaff

Instrument_name_engraver

Prints the name of the instrument (specified by Staff.instrument and Staff.instr) at the left of the staff.

Properties (read)

instr (markup (list or string)):
see instrument
instrument (markup (list or string)):
If Instrument_name_engraver is added to the Staff translator, then the instrument property is used to label the first line of the staff and the instr property is used to label subsequent lines. If the midiInstrument property is not set, then instrument is used to determine the instrument for MIDI output.
This engraver creates the following grobs: InstrumentName.

Instrument_name_engraver is part of contexts: PianoStaff, RhythmicStaff, Staff and TabStaff

Vertical_align_engraver

Catch Vertical axis groups and stack them.

This engraver creates the following grobs: VerticalAlignment.

Vertical_align_engraver is part of contexts: PianoStaff, Score and Lyrics

System_start_delimiter_engraver

Creates a system start delimiter (ie. SystemStart{Bar,Brace,Bracket} spanner

Properties (read)

systemStartDelimiter (symbol):
Which grob to make for the start of the system/staff?
This engraver creates the following grobs: SystemStartBar, SystemStartBrace and SystemStartBracket.

System_start_delimiter_engraver is part of contexts: StaffGroup, PianoStaff, InnerStaffGroup, Score, GrandStaff, InnerChoirStaff and ChoirStaff

Span_arpeggio_engraver

Properties (read)

connectArpeggios (boolean):
If set, connect all arpeggios that are found. In this way, you can make arpeggios that cross staves.
This engraver creates the following grobs: Arpeggio.

Span_arpeggio_engraver is part of contexts: StaffGroup, PianoStaff, InnerStaffGroup, Score and GrandStaff

Span_bar_engraver

This engraver makes cross-staff barlines: It catches all normal bar lines, and draws a single span-bar across them.

This engraver creates the following grobs: SpanBar.

Span_bar_engraver is part of contexts: StaffGroup, PianoStaff, InnerStaffGroup and GrandStaff


Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.6.6 (stable-branch) by

<(address unknown)>, Thu Dec 26 14:15:44 2002 MSK.