diff --git a/doc/style.css b/doc/style.css index 696dd74..6d46b05 100644 --- a/doc/style.css +++ b/doc/style.css @@ -69,6 +69,10 @@ code { font-family: Courier; font-size: 14px; color: green; } table.tabstave-keywords { font-family:monospace; margin:20px;} table.tabstave-keywords td {padding-right:30px;} + +table.fingering-keywords { font-family:monospace; margin:20px;} +table.fingering-keywords td { padding-right:30px; vertical-align:top; } + div.vex-canvas { background-color: white; -} \ No newline at end of file +} diff --git a/doc/tutorial.html b/doc/tutorial.html index 84f554c..1ebec09 100644 --- a/doc/tutorial.html +++ b/doc/tutorial.html @@ -564,6 +564,68 @@

Step 15: Tablature can have stems too.

notes :8 5/5 5/4 5/3 ^3^ :16 5-6-7-8/1 :8 9s10/1 :h s9v/1 +

Step 16: Add multiple voices for polyphonic music.

+
+ Add multiple voice lines before notes lines to correctly notate polyphonic music. The stem directions are inferred from the voice order: the first voice (soprano) has stems up, and the last (bass) stems down. The voices are combined onto a single staff. +
+ +
+
options stave-distance=30 +tabstave notation=true + time=4/4 +voice +notes :8 6/4 h7/4 :q 0/2 :8 T0/2 5/3 :q 3/2 | :q T3/2 :16 3/2 0/1 :8 6/2 :q T6/2 :q 0/1 | +voice +notes :w ## | :8 ## 5/3 :8 0/2 7/4 6/4 7/4 :q 0/2 | +voice +notes :q ## :8 0/4 7/5 :qd 3/4 :8 0/4 | :q 2/4 | +voice +notes :q 7/6 7/6 0/5 0/5 | 4/6 0/5 7/6 4/6 | +
+ +

Step 17: Add fingerings.

+
+ You can also add fingering after a given note. +

+ The format for a fingering is: +

+ fingering/[note number]:[position]:[type]:[value] + + + + + + + + + + + + + + + + + + + + + + + +
elementvalues
note numberThe index of the note you for which you're adding the notation. For single notes, this will be 1, and for chords it will be the position of the note in the notated chord
positionThe position that the annotation will appear. One of a, b, l, or r (for above, below, right or left).
typeThe type of annotation. f or s (finger or string)
valueThe annotation to add to the rendered staff
+ +

+ +
+
options stave-distance=30 +tabstave notation=true +notes :8 6/4 $.fingering/1:l:f:2.$ h7/4 $.fingering/1:l:f:3.$ :q 0/2 :8 T0/2 5/3 $.fingering/1:l:f:4.$ :q 3/2 $.fingering/1:r:f:3.$ +

Step N + 1: Coming soon