Grammostola Rosea schrieb:
Btw it's time to make tablature with invisible Ties, Slurs, Dots,
Stems etc. default imo.
I don't know whether this should be the default, but it should be
archieved with a simple
command, like \tabNumbersOnly (which isn't defined yet).
Marc
I agree, all though I'm thinking the other way around:
\tabNumbers
Uh no that is not what I meant. I meant that I rather have to set
things on instead of off...
So as I see it now, default is \tabNumersOnly and if you want to add
stems etc there is a command for it.
A command to set all such features (stems, dots, Tie etc.) on, would
be nice maybe?
\tabSignsAll (or something like that)
\r
I don't know how to make the stems and such disappear by default, but
using a simple command
isn't that much effort. I have attached my tablature.ly which allows to
switch between the "normal" and
the "numbers only" settings. Both versions feature a modern tab clef. I
don't know whether the
time signature should disappear by default, but I use the NumbersOnly
settings only when a normal
staff and a tab staff are displayed together.
Comments, improvements etc. are welcome!
Marc
% tablature.ly
% ein schönerer TAB-Schlüssel
% http://lsr.dsi.unimi.it/LSR/Item?id=323
gitTAB = \markup {
\raise #1.5 {
\override #'(font-family . sans)
\bold\huge
\override #'(baseline-skip . 2.5)
\column { "T" "A" "B" }
}
}
modernTABClef = {
\override TabStaff.Clef #'stencil = #ly:text-interface::print
\override TabStaff.Clef #'text = #gitTAB
}
tabNumbersOnly = {
% no time signature
\override TabStaff.TimeSignature #'transparent = ##t
% no stems, beams, dots
\override TabVoice.Stem #'transparent = ##t
\override TabVoice.Beam #'transparent = ##t
\override TabVoice.Dots #'transparent = ##t
\override TabVoice.Slur #'transparent = ##t
% no tuplet stuff
\override TabVoice.TupletBracket #'transparent = ##t
\override TabVoice.TupletNumber #'transparent = ##t
% modern TAB clef
\modernTABClef
}
tabNumbersAndStems = {
\revert TabStaff.TimeSignature #'transparent
\revert TabVoice.Stem #'transparent
\revert TabVoice.Beam #'transparent
\revert TabVoice.Dots #'transparent
\revert TabVoice.Slur #'transparent
\revert TabVoice.TupletBracket #'transparent
\revert TabVoice.TupletNumber #'transparent
\modernTABClef
}
\version "2.12.2"
\include "tablature.ly"
tab = {
\time 3/4
c4 d( e)
f g a
\times 3/4 { b c d c }
}
\score {
\new TabStaff = "guitar numbers only" { \tabNumbersOnly \tab }
}
\score {
\new TabStaff = "guitar full tab" { \tabNumbersAndStems \tab }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user