* input/regression/fret-boards.ly: new file.
2006-10-27 Han-Wen Nienhuys <hanwen@lilypond.org>
+ * Documentation/topdocs/NEWS.tely (Top): add FretBoards example.
+
+ * input/regression/fret-boards.ly: new file.
+
* po/de.po: new po courtesy translation team.
* scripts/lilypond-book.py (get_option_parser): add newline to doc string.
@end ignore
+@item The @code{FretBoards} context will generate guitar frettings
+automatically,
+
+@lilypond[fragment,relative=0,verbatim,ragged-right]
+\new FretBoards { <d\5 fis a d fis> }
+@end lilypond
+
+This feature was sponsored by Rick Hansen.
+
@item Horizontal and vertical spacing are now done at the same time
so that pages are filled more evenly.
--- /dev/null
+
+\header {
+
+ texidoc = "Frets can be assigned automatically. The results will be
+best when one string number is indicated in advance "
+
+}
+
+\version "2.9.27"
+
+foo = \relative c {
+ <d\5 fis a d fis>_\markup {
+ \fret-diagram-terse #"x;5;4;2;3;2;"
+ }
+}
+
+<<
+ \new FretBoards {
+ \set instrumentName = "autofrets"
+ \foo
+
+ }
+ \new Staff {
+ \clef "G_8"
+ \set stringNumberOrientations = #'(left)
+ \set fingeringOrientations = #'(right)
+ \foo
+ }
+
+>>
+
+
\consists "Fretboard_engraver"
\consists "Separating_line_group_engraver"
\consists "Font_size_engraver"
+ \consists "Instrument_name_engraver"
}
+
\context {
\type "Engraver_group"
\name "Staff"