[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < footnote-interface ] | [ Up : Graphical Object Interfaces ] | [ glissando-interface > ] |
3.2.53 fret-diagram-interface
A fret diagram
User-settable properties:
align-dir
(direction)Which side to align?
-1
: left side,0
: around center of width,1
: right side.dot-placement-list
(list)List consisting of
(description string-number fret-number finger-number)
entries used to define fret diagrams.fret-diagram-details
(alist, with symbols as keys)An alist of detailed grob properties for fret diagrams. Each alist entry consists of a
(property . value)
pair. The properties which can be included infret-diagram-details
include the following:
barre-type
– Type of barre indication used. Choices includecurved
,straight
, andnone
. Defaultcurved
.capo-thickness
– Thickness of capo indicator, in multiples of fret-space. Default value 0.5.dot-color
– Color of dots. Options includeblack
andwhite
. Defaultblack
.dot-label-font-mag
– Magnification for font used to label fret dots. Default value 1.dot-position
– Location of dot in fret space. Default 0.6 for dots without labels, 0.95-dot-radius
for dots with labels.dot-radius
– Radius of dots, in terms of fret spaces. Default value 0.425 for labeled dots, 0.25 for unlabeled dots.finger-code
– Code for the type of fingering indication used. Options includenone
,in-dot
, andbelow-string
. Defaultnone
for markup fret diagrams,below-string
forFretBoards
fret diagrams.fret-count
– The number of frets. Default 4.fret-distance
– Multiplier to adjust the distance between frets. Default 1.0.fret-label-custom-format
– The format string to be used label the lowest fret number, whennumber-type
equals tocustom
. Default "~a".fret-label-font-mag
– The magnification of the font used to label the lowest fret number. Default 0.5.fret-label-vertical-offset
– The offset of the fret label from the center of the fret in direction parallel to strings. Default 0.fret-label-horizontal-offset
– The offset of the fret label from the center of the fret in direction orthogonal to strings. Default 0.handedness
– Print the fret-diagram left- or right-handed.-1
,LEFT
for left ;1
,RIGHT
for right. DefaultRIGHT
.paren-padding
– The padding for the parenthesis. Default 0.05.label-dir
– Side to which the fret label is attached.-1
,LEFT
, orDOWN
for left or down;1
,RIGHT
, orUP
for right or up. DefaultRIGHT
.mute-string
– Character string to be used to indicate muted string. Default"x"
.number-type
– Type of numbers to use in fret label. Choices includearabic
,roman-ij-lower
,roman-ij-upper
,roman-lower
,roman-upper
,arabic
andcustom
. In the last case, the format string is supplied by thefret-label-custom-format
property. Defaultroman-lower
.open-string
– Character string to be used to indicate open string. Default"o"
.orientation
– Orientation of fret-diagram. Options includenormal
,landscape
, andopposing-landscape
. Defaultnormal
.string-count
– The number of strings. Default 6.string-distance
– Multiplier to adjust the distance between strings. Default 1.0.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 fornormal
orientation, 0.5 forlandscape
andopposing-landscape
.string-thickness-factor
– Factor for changing thickness of each string in the fret diagram. Thickness of string k is given bythickness
* (1+string-thickness-factor
) ^ (k-1). Default 0.top-fret-thickness
– The thickness of the top fret line, as a multiple of the standard thickness. Default value 3.xo-font-magnification
– Magnification used for mute and open string indicators. Default value 0.5.xo-padding
– Padding for open and mute indicators from top fret. Default value 0.25.size
(number)The ratio of the size of the object to its default size.
thickness
(number)For grobs made up of lines, this is the thickness of the line. For slurs and ties, this is the distance between the two arcs of the curve’s outline at its thickest point, not counting the diameter of the virtual “pen” that draws the arcs. This property is expressed as a multiple of the current staff-line thickness (i.e., the visual output is influenced by changes to
Staff.StaffSymbol.thickness
).
This grob interface is used in the following graphical object(s): FretBoard
.
[ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < footnote-interface ] | [ Up : Graphical Object Interfaces ] | [ glissando-interface > ] |