X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdefine-grob-properties.scm;h=0acc741f1cb93ad13ffa151b8fafc745df9037f0;hb=8cf69a467ad7650f5ca9da6fe2dfd4c7c088b239;hp=d55ab4c8c788449af838d45b2afd55b9b1e8247c;hpb=7738c6fa2759373c05e34b003a7ed521e9382f37;p=lilypond.git diff --git a/scm/define-grob-properties.scm b/scm/define-grob-properties.scm index d55ab4c8c7..0acc741f1c 100644 --- a/scm/define-grob-properties.scm +++ b/scm/define-grob-properties.scm @@ -327,6 +327,7 @@ approximately 12% larger; 6@tie{}steps are exactly a factor@tie{}2 larger. If the context property @code{fontSize} is set, its value is added to this before the glyph is printed. Fractional values are allowed.") + (font-features ,list? "Opentype features.") (footnote ,boolean? "Should this be a footnote or in-note?") (footnote-music ,ly:music? "Music creating a footnote.") (footnote-text ,markup? "A footnote for the grob.") @@ -372,6 +373,9 @@ Default @code{none} for markup fret diagrams, @code{below-string} for @item @code{fret-count} -- The number of frets. Default@tie{}4. @item +@code{fret-distance} -- Multiplier to adjust the distance between frets. +Default@tie{}1.0. +@item @code{fret-label-custom-format} -- The format string to be used label the lowest fret number, when @code{number-type} equals to @code{custom}. Default@tie{}\"~a\". @@ -412,6 +416,9 @@ Default @code{normal}. @item @code{string-count} -- The number of strings. Default@tie{}6. @item +@code{string-distance} -- Multiplier to adjust the distance between strings. +Default@tie{}1.0. +@item @code{string-label-font-mag} -- The magnification of the font used to label fingerings at the string, rather than in the dot. Default value 0.6 for @code{normal} orientation, 0.5 for @code{landscape} and @@ -524,13 +531,7 @@ left and one to the right of this grob.") ;;; ;;; i ;;; - (id ,string? "An id string for the grob. Depending on the typestting -backend being used, this id will be assigned to a group containing all of -the stencils that comprise a given grob. For example, in the svg backend, -the string will be assigned to the @code{id} attribute of a group () -that encloses the stencils that comprise the grob. In the Postscript -backend, as there is no way to group items, the setting of the id property -will have no effect.") + (id ,string? "An id string for the grob.") (ignore-ambitus ,boolean? "If set, don't consider this notehead for ambitus calculation.") (ignore-collision ,boolean? "If set, don't do note collision @@ -617,6 +618,8 @@ visual output is influenced by changes to to beams from this stem. Further beams are typeset as beamlets.") (maximum-gap ,number? "Maximum value allowed for @code{gap} property.") + (max-symbol-separation ,number? "The maximum distance between +symbols making up a church rest.") (measure-count ,integer? "The number of measures for a multi-measure rest.") (measure-length ,ly:moment? "Length of a measure. Used in some @@ -720,6 +723,14 @@ different voices. Default value@tie{}1.") ;;; ;;; o ;;; + (output-attributes ,list? "An alist of attributes for the grob, to +be included in output files. When the SVG typesetting backend is used, +the attributes are assigned to a group () containing all of the +stencils that comprise a given grob. For example, +@code{'((id . 123) (class . foo) (data-whatever . @qq{bar}))} will produce +@code{ @dots{} }. +In the Postscript backend, where there is no way to group items, the +setting of the output-attributes property will have no effect.") (outside-staff-horizontal-padding ,number? "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 @@ -873,9 +884,10 @@ of the staff-position at which each clef places C: If the list contains a single element it applies for all clefs. A single number in place of a pair sets accidentals within the octave ending at that staff-position.") - (shorten-pair ,number-pair? "The lengths to shorten a -text-spanner on both sides, for example a pedal bracket. Positive -values shorten the text-spanner, while negative values lengthen it.") + (shorten-pair ,number-pair? "The lengths to shorten on both sides +a hairpin or text-spanner such as a pedal bracket. Positive values +shorten the hairpin or text-spanner, while negative values lengthen +it.") (shortest-duration-space ,number? "Start with this multiple of @code{spacing-increment} space for the shortest duration. See also @rinternals{spacing-spanner-interface}.") @@ -1156,11 +1168,15 @@ one below this grob.") printed over a white background to white-out underlying material, if the grob is visible. A number indicates how far the white background extends beyond the bounding box of the grob as a multiple of the -staff-line thickness. The shape of the background is determined by -@code{whiteout-style}. Usually @code{#f} by default.") +staff-line thickness. The @code{LyricHyphen} grob uses a special +implementation of whiteout: A positive number indicates how far the +white background extends beyond the bounding box in multiples of +@code{line-thickness}. The shape of the background is determined by +@code{whiteout-style}. Usually @code{#f} by default. ") (whiteout-style ,symbol? "Determines the shape of the @code{whiteout} background. Available are @code{'outline}, -@code{'rounded-box}, and the default @code{'box}.") +@code{'rounded-box}, and the default @code{'box}. There is one +exception: Use @code{'special} for @code{LyricHyphen}.") (width ,ly:dimension? "The width of a grob measured in staff space.") (word-space ,ly:dimension? "Space to insert between words in @@ -1239,6 +1255,7 @@ for positioning elements that align with a column.") column as start/@/begin point. Only columns that have grobs or act as bounds are spaced.") (bracket ,ly:grob? "The bracket for a number.") + (bracket-text ,ly:grob? "The text for an analysis bracket.") (c0-position ,integer? "An integer indicating the position of middle@tie{}C.")