[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < TabNoteHead ] | [ Up : All layout objects ] | [ TextScript > ] |
3.1.142 TextMark
An arbitrary textual mark.
See also SectionLabel
and JumpScript
for grobs with a
more specific intent.
TextMark
objects are created by the following engraver(s): Text_mark_engraver
.
Standard settings:
after-line-breaking
(boolean):
ly:side-position-interface::move-to-extremal-staff
Dummy property, used to trigger callback for
after-line-breaking
.baseline-skip
(dimension, in staff space):
2
Distance between base lines of multiple lines of text.
break-align-symbols
(list): '(staff-bar key-signature clef)A list of break-align symbols that determines which breakable items to align this to. If the grob selected by the first symbol in the list is invisible due to
break-visibility
, we will align to the next grob (and so on). Choices are listed in break-alignment-interface.break-visibility
(vector):
text-mark-interface::calc-break-visibility
A vector of 3 booleans,
#(end-of-line unbroken begin-of-line)
.#t
means visible,#f
means killed.direction
(direction):
1
If
side-axis
is0
(orX
), then this property determines whether the object is placedLEFT
,CENTER
orRIGHT
with respect to the other object. Otherwise, it determines whether the object is placedUP
,CENTER
orDOWN
. Numerical values may also be used:UP
=1
,DOWN
=-1
,LEFT
=-1
,RIGHT
=1
,CENTER
=0
.extra-spacing-width
(pair of numbers): '(+inf.0 . -inf.0)In the horizontal spacing problem, we pad each item by this amount (by adding the ‘car’ on the left side of the item and adding the ‘cdr’ on the right side of the item). In order to make a grob take up no horizontal space at all, set this to
(+inf.0 . -inf.0)
.font-size
(number):
0.5
The font size, compared to the ‘normal’ size.
0
is style-sheet’s normal size,-1
is smaller,+1
is bigger. Each step of 1 is approximately 12% larger; 6 steps are exactly a factor 2 larger. If the context propertyfontSize
is set, its value is added to this before the glyph is printed. Fractional values are allowed.non-musical
(boolean):
#t
True if the grob belongs to a
NonMusicalPaperColumn
.outside-staff-horizontal-padding
(number):
0.2
By default, an outside-staff-object can be placed so that is it very close to another grob horizontally. If this property is set, the outside-staff-object is raised so that it is not so close to its neighbor.
outside-staff-priority
(number):
1250
If set, the grob is positioned outside the staff in such a way as to avoid all collisions. In case of a potential collision, the grob with the smaller
outside-staff-priority
is closer to the staff.padding
(dimension, in staff space):
0.8
Add this much extra space between objects that are next to each other.
self-alignment-X
(number):
text-mark-interface::calc-self-alignment-X
Specify alignment of an object. The value
-1
means left aligned,0
centered, and1
right-aligned in X direction. Other numerical values may also be specified - the unit is half the object width. If not a number, align on the object’s reference point.stencil
(stencil):
ly:text-interface::print
The symbol to print.
text
(markup):
#<procedure at lily/output-lib.scm:1645:0 (grob)>
Text markup. See Formatting text.
vertical-skylines
(pair of skylines):
#<unpure-pure-container #<procedure ly:grob::vertical-skylines-from-stencil (_)> >
Two skylines, one above and one below this grob.
X-offset
(number):
self-alignment-interface::self-aligned-on-breakable
The horizontal amount that this object is moved relative to its X-parent.
Note that many objects have special positioning considerations, which cause any setting of
X-offset
to be ignored or modified, even though the object supports theself-alignment-interface
.Y-extent
(pair of numbers):
#<unpure-pure-container #<procedure ly:grob::stencil-height (_)> >
Extent (size) in the Y direction, measured in staff-space units, relative to object’s reference point.
Y-offset
(number):
#<unpure-pure-container #<procedure ly:side-position-interface::y-aligned-side (_ #:optional _)> #<procedure ly:side-position-interface::pure-y-aligned-side (_ _ _ #:optional _)> >
The vertical amount that this object is moved relative to its Y-parent.
Note that many objects have special positioning considerations, which cause any setting of
Y-offset
to be ignored or modified, even though the object supports theself-alignment-interface
.
This object supports the following interface(s):
accidental-switch-interface
, break-alignable-interface
, font-interface
, grob-interface
, item-interface
, mark-interface
, outside-staff-interface
, self-alignment-interface
, side-position-interface
, text-interface
and text-mark-interface
.
This object is of class Item (characterized by item-interface
).
[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < TabNoteHead ] | [ Up : All layout objects ] | [ TextScript > ] |