Next: grace-spacing-interface, Previous: font-interface, Up: Graphical Object Interfaces
A fret diagram
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
(list)- An alist of detailed grob properties for fret diagrams. Each alist entry consists of a (
property
.value
) pair. The properties which can be included in fret-diagram-details include the following:
barre-type
– Type of barre indication used. Choices includecurved
,straight
, andnone
. Defaultcurved
.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-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-label-font-mag
– The magnification of the font used to label the lowest fret number. Default 0.5fret-label-vertical-offset
– The vertical offset of the fret label from the fret. Default -0.2label-dir
– Side to which the fret label is attached.-1
,#LEFT
, or#DOWN
for left or down;1
,#RIGHT
, or#UP
for right or up. Default#RIGHT
.mute-string
– Character string to be used to indicate muted string. Default "x".number-type
– Type of numbers to use in fret label. Choices includeroman-lower
,roman-upper
, andarabic
. Defaultroman-lower
.open-string
– Character string to be used to indicate open string. Default "o".orientation
– Orientation of fret-diagram. Options includenormal
andlandscape
. Defaultnormal
.string-count
– The number of strings. Default 6.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.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)- Size of object, relative to standard size.
thickness
(number)- Line thickness, generally measured in
line-thickness
.
This grob interface is used in the following graphical object(s): FretBoard.
This page is for LilyPond-2.11.58 (development-branch).
Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.