|
|
Node:SpanBar,
Next:StanzaNumber,
Previous:SpacingSpanner,
Up:LilyPond backend
SpanBar
SpanBar grobs are created by: Span_bar_engraver
Bar line.
This is a request to print a special bar symbol. It replaces the
regular bar symbol with a special
symbol. The argument bartype is a string which specifies the
kind of bar to print. Options are ":|"
,
"|:"
, ":|:"
,
"||"
, "|."
,
".|"
, and ".|."
.
These produce, respectively, a right repeat, a left repeat, a double
repeat, a double bar, a start bar, an end bar, and a thick double bar.
If bartype is set to "empty" then nothing is printed,
but a line break is allowed at that spot.
bar-size-procedure (procedure):
- Procedure that computes the size of a bar line.
Default value:
#<primitive-procedure Span_bar::get_bar_size>
kern (number):
- amount of extra white space to add.
For text, this is `relative'(?) to the current alignment.
For barline, space after a thick line.
Default value: 3.0
thin-kern (number):
- space after a hair-line.
Default value:
3.0
hair-thickness (number):
- thickness, measured in stafflinethickness.
Default value:
1.6
thick-thickness (number):
- thickness, measured in stafflinethickness.
Default value:
6.0
glyph (symbol):
- a string determining what (style) of glyph is typeset. Valid choices depend on the function that is reading this property. .
Default value:
|
bar-size (number):
- size of a bar line.
Default value: (unset)
break-glyph-function (procedure):
- function taking glyph and break-direction, returning the glyph at a line break.
Default value: (unset)
A bar line that spans other barlines (typically used to get cross-staff barlines.
All grobs support this
X-offset-callbacks (list):
- list of functions, each taking an grob and axis argument. The function determine the position relative to this grob's parent. The last one in the list is called first.
Default value: (unset)
Y-offset-callbacks (list):
- see
X-offset-callbacks.
Default value: '(#<primitive-procedure Span_bar::center_on_spanned_callback>)
X-extent-callback (procedure):
- procedure taking an grob and axis argument, returning a number-pair. The return value is the extent of the grob.
Default value:
#<primitive-procedure Span_bar::width_callback>
Y-extent-callback (procedure):
- see
X-extent-callback.
Default value: (unset)
molecule-callback (procedure):
- Function taking grob as argument, returning a Scheme encoded Molecule.
Default value:
#<primitive-procedure Span_bar::brew_molecule>
font-relative-size (number):
- partial font definition: the relative size compared the `normal' size.
0 is style-sheet's normal size, -1 is smaller, +1 is bigger, -1 is smaller.
Default value: (unset)
extra-offset (pair of numbers):
- pair of reals
(a cons) forcing an extra offset before outputting.
extra-offset is added just before `printing' the grob, so the
typesetting engine is completely oblivious to it.
Default value: (unset)
interfaces (list):
- list of symbols indicating the interfaces supported by this object. Is initialized from the
meta field.
Default value: (unset)
dependencies (list):
- list of score-grob pointers that indicate who to compute first for certain global passes.
Default value: (unset)
no-spacing-rods (boolean):
- read from grobs: boolean that makes Separation_item ignore this item (MOVE ME TO ITEM).
Default value: (unset)
extra-extent-X (pair of numbers):
- enlarge in X dimension by this much, measured in staff space.
Default value: (unset)
extra-extent-Y (pair of numbers):
- see
extra-extent-Y.
Default value: (unset)
minimum-extent-X (pair of numbers):
- minimum size in X dimension, measured in staff space.
Default value: (unset)
minimum-extent-Y (pair of numbers):
- see
minimum-extent-Y.
Default value: (unset)
origin (input location):
- location in input file of the definition.
Default value: (unset)
transparent (boolean):
- This is almost the
same as setting molecule-callback to #f, but this retains the
dimensions of this grob, which means that you can erase grobs
individually. .
Default value: (unset)
|