Next: , Previous: HorizontalBracket, Up: All layout objects



InstrumentName

InstrumentName objects are created by: Instrument_name_engraver

Standard settings:

breakable (boolean):
#t

Can this object appear at a line break, like clefs and bar lines?

Y-offset-callbacks (list):
'(#<primitive-procedure Self_alignment_interface::aligned_on_self> #<primitive-procedure Side_position_interface::aligned_on_support_refpoints>)

see X-offset-callbacks.

direction (direction):
0

Up or down, left or right?

space-alist (list):
'((left-edge extra-space . 1.0))

A table that specifies distances between prefatory items, like clef and time-signature. The format is an alist of spacing tuples: (break-align-symbol type . distance), where type can be the symbols minimum-space or extra-space.

self-alignment-Y (number):
0

like self-alignment-X but for Y axis.

print-function (procedure):
Text_item::print

Function taking grob as argument, returning a Stencil object.

break-align-symbol (symbol):
'instrument-name

This key is used for aligning and spacing breakable items.

break-visibility (procedure):
begin-of-line-visible

A function that takes the break direction and returns a cons of booleans containing (transparent . empty). The following variables are predefined: all-visible, begin-of-line-visible, end-of-line-visible, begin-of-line-invisible, end-of-line-invisible, all-invisible.

baseline-skip (dimension, in staff space):
2

Distance between base lines of multiple lines of text.

This object supports the following interfaces: item-interface, break-aligned-interface, text-interface, side-position-interface, self-alignment-interface, font-interface and grob-interface

Read comments on this page, or add one.

This page is for LilyPond-2.2.6 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.