[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invisible slurs in tablature

From: Marc Hohl
Subject: Re: invisible slurs in tablature
Date: Tue, 31 Mar 2009 11:07:23 +0200
User-agent: Thunderbird (X11/20090318)

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).

I agree, all though I'm thinking the other way around:


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)


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 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!



% ein schönerer TAB-Schlüssel
gitTAB = \markup { 
  \raise #1.5 {
    \override #'(font-family . sans)
    \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

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
\version "2.12.2"
\include ""

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 }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]