Node: Thread, Next: , Previous: TabVoice, Up: Contexts



Thread

Handles note heads, and is contained in the Voice context. You have to instantiate this explicitly if you want to adjust the style of individual note heads.

This context is also known as:

none

This context creates the following grobs: Dots, NoteHead and Rest.

This context sets the following properties:

This context is a `bottom' context; it can not contain other contexts.

This context is built from the following engravers:


Engraver_group_engraver
A group of engravers taken together
Output_property_engraver
Interpret Music of Output_property type, and apply a function to any Graphic objects that satisfies the predicate.

Music types accepted: layout-instruction

Rest_engraver

Music types accepted: rest-event

Properties (read)


centralCPosition (number)
Place of the central C, measured in half staffspaces. Usually determined by looking at clefPosition and clefGlyph.
This engraver creates the following grobs: Dots and Rest.
Note_heads_engraver
Generate noteheads.

Music types accepted: abort-event, ligature-event, busy-playing-event and note-event

Properties (read)


centralCPosition (number)
Place of the central C, measured in half staffspaces. Usually determined by looking at clefPosition and clefGlyph.
This engraver creates the following grobs: Dots and NoteHead.
Thread_devnull_engraver
Kill elements whenever we are Voice called `two' and either unison, unisilence or soloADue is set.1. This engraver works closely together with the part combiner. When the part combiner notices that two threads are identical, it tells the Thread_devnull_engraver to discard everything in the second thread.
Font_size_engraver
Puts fontSize into font-relative-size grob property.

Properties (read)


fontSize (integer)
Used to set the relative size of all grobs in a context. This is done using the Font_size_engraver.

Footnotes

  1. On unix systems, the file /dev/null is special device: anything written to it is discarded.



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

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