[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

item-interface

Grobs can be distinguished in their role in the horizontal spacing. Many grobs define constraints on the spacing by their sizes. For example, note heads, clefs, stems, and all other symbols with a fixed shape. These grobs form a subtype called Item.


break-visibility (procedure)
a function that takes the break direction and returns a cons of booleans containing (TRANSPARENT . EMPTY).

Some items need special treatment for line breaking. For example, a clef is normally only printed at the start of a line (i.e. after a line break). To model this, `breakable' items (clef, key signature, bar lines, etc.) are copied twice. Then we have three versions of each breakable item: one version if there is no line break, one version that is printed before the line break (at the end of a system), one version that is printed after the line break.

Whether these versions are visible and take up space, is determined by the outcome of the break-visibility. This grob property is a function taking a direction (-1, 0 or 1) as argument. It returns a cons of booleans, signifying whether this grob should be transparent and have no extent.

breakable (boolean)
boolean indicating if this is a breakable item (clef, barline, key sig, etc.).
no-spacing-rods (boolean)
read from grobs: boolean that makes Separation_item ignore this item (MOVE ME TO ITEM).

This grob interface is used in the following graphical objects: UnaCordaPedal, TimeSignature, TextScript, TabNoteHead, SustainPedal, StemTremolo, Stem, StanzaNumber, StaffSpacing, SpanBar, SostenutoPedal, SeparationItem, ScriptColumn, Script, RestCollision, Rest, RepeatSlash, RehearsalMark, PaperColumn, OctavateEight, NoteSpacing, NoteName, NoteHead, NoteColumn, NoteCollision, NonMusicalPaperColumn, LyricText, LeftEdge, KeySignature, InstrumentName, HaraKiriVerticalGroup, Fingering, DynamicText, DoublePercentRepeat, Dots, DotColumn, Custos, Clef, ChordName, BreathingSign, BreakAlignment, BreakAlignGroup, BreakAlignGroup, BassFigure, BarNumber, BarLine, Arpeggio, Ambitus, AccidentalPlacement and Accidental


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.