]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/polyphony-in-tablature.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / polyphony-in-tablature.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "fretted-strings"
11
12   texidoc = "
13 Polyphony is created the same way in a @code{TabStaff} as in a regular
14 staff.
15
16 "
17   doctitle = "Polyphony in tablature"
18 } % begin verbatim
19
20 upper = \relative c' {
21   \time 12/8
22   \key e \minor
23   \voiceOne
24   r4. r8 e, fis g16 b g e e' b c b a g fis e
25 }
26
27 lower = \relative c {
28   \key e \minor
29   \voiceTwo
30   r16 e d c b a g4 fis8 e fis g a b c
31 }
32
33 \score {
34   <<
35     \new StaffGroup = "tab with traditional" <<
36       \new Staff = "guitar traditional" <<
37         \clef "treble_8"
38         \context Voice = "upper" \upper
39         \context Voice = "lower" \lower
40       >>
41       \new TabStaff = "guitar tab" <<
42         \context TabVoice = "upper" \upper
43         \context TabVoice = "lower" \lower
44       >>
45     >>
46   >>
47 }