[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/stable
lilypond.org/development
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
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)
see instrument
instrument (markup)
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.
Vertical_align_engraver
Catch Vertical axis groups and stack them.

This engraver creates the following grobs: VerticalAlignment.

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.
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_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.


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.7.14 (development-branch) by

Buchan Milne <(address unknown)>, Thu Mar 6 21:11:35 2003 CET.