|
Examples:
(title center "Ave Maria (Ellen's Gesang III), D. 839" (font bold 14pt)) (title left "Words by Walter Scott" (font italic 12pt)) (title right "Franz Schubert") (title left "Translation by F.Green")
center alignment forces to center the string in current line, without taking into account the space consumed by any possible existing left title. That is, center always means 'centered in the line'.
The font settings are stored as new default settings for coming title elements.
The title text string will be printed at current location; therefore, the location tag is not normally required. A new line is forced only if not enough space in current line for the text-string.
If a location is specified, the text will be positioned so that the lower edge of the text is located at the specified y location. And alignment takes place relative to the given x location. For example:
(title right "Franz Schubert" x:40mm y:30mm)
The y location given is 30mm. Since this is an absolute location the lower edge of the text will be at 30 millimetres from the top margin of the page. As the x location given is 40mm and, again, this is an absolute location, the current horizontal position will be 40 millimetres from the left edge of the page. Since right justification is indicated, the string "Franz Schubert" will be placed such that the right edge of the final "t" will be 40 millimetres from the left margin of the page. If "center" had been specified, the middle of the string "Franz Schubert" would be at 40 millimetres from the left margin of the page.
If a relative location is specified (dx or dy) they will refer always to current location. It, normally, will be the right bottom corner of rectangle bounding the previous title.
As titles are not positioned on staves, relative location units (tenths) are not possible as no staff is involved. You must always use absolute units, such as inches or millimetres.