]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/let-tabstaff-print-the-topmost-string-at-bottom.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / let-tabstaff-print-the-topmost-string-at-bottom.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, staff-notation"
11
12   texidoc = "
13 In tablatures usually the first string is printed topmost. If you want
14 to have it at the bottom change the
15 @code{stringOneTopmost}-context-property. For a context-wide setting
16 this could be done in @code{layout} as well.
17
18 "
19   doctitle = "Let TabStaff print the topmost string at bottom"
20 } % begin verbatim
21
22 %
23 %\layout {
24 %  \context {
25 %    \Score
26 %    stringOneTopmost = ##f
27 %  }
28 %  \context {
29 %    \TabStaff
30 %    tablatureFormat = #fret-letter-tablature-format
31 %  }
32 %}
33
34 m = {
35   \cadenzaOn
36   e, b, e gis! b e'
37   \bar "||"
38 }
39
40 <<
41   \new Staff { \clef "G_8" <>_"default" \m <>_"italian (historic)"\m }
42   \new TabStaff
43   {
44     \m
45     \set Score.stringOneTopmost = ##f
46     \set TabStaff.tablatureFormat = #fret-letter-tablature-format
47     \m
48   }
49 >>