|
|
GNU LilyPondWelcome to the home of the GNU Music Typesetter |
||||||||||||||||||||||
|
Node:Molecules, Next:Font metrics, Previous:Grobs, Up:Internals MoleculesThe objective of any typesetting system is to put ink on paper in the
right places. For LilyPond, this final stage is left to the TeX and
the printer subsystem. For lily, the last stage in processing a score is
outputting a description of what to put where. This description roughly
looks like
PUT glyph AT (x,y)
PUT glyph AT (x,y)
PUT glyph AT (x,y)
you merely have to look at the tex output of lily to see this. Internally these instructions are encoded in Molecules.1 A molecule is what-to-print-where information that also contains dimension information (how large is this glyph?). Conceptually, Molecules can be constructed from Scheme code, by
translating a Molecule and by combining two molecules. In BNF
notation:
Molecule :: COMBINE Molecule Molecule
| TRANSLATE Offset Molecule
| GLYPH-DESCRIPTION
;
If you are interested in seeing how this information is stored, you
can run with the All visible, i.e. non-transparent, grobs have a callback to create a
Molecule. The name of the property is
Footnotes
|
||||||||||||||||||||||
|
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 lilypond@packages.debian.org Copyright (c) 1997--2001 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.4.12 (stable-branch) by