[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chord and slur shape in TabStaff
From: |
David Kastrup |
Subject: |
Re: chord and slur shape in TabStaff |
Date: |
Fri, 02 May 2014 10:02:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Federico Bruni <address@hidden> writes:
> I may use \shape to draw the slur in TabStaff, but it would break the slur
> shape in Staff:
>
> \shape #'((0 . -3) (0 . -1) (1 . -1) (0 . 0)) Slur
> <a e'>8( ais a g)
Well, in this case you are lucky to be using the override mode of
\shape. Making it tab-specific (as opposed to non-tab-specific) is
easy:
\version "2.18.2"
upper = \relative c' {
%\slurDown
\shape #'((0 . -3) (0 . -1) (1 . -1) (0 . 0)) TabVoice.Slur
<a e'>8( ais a g)
}
lower = \relative c {
a1
}
\score {
\new StaffGroup <<
\new Staff = "guitar" <<
\context Voice = "first voice" { \clef "G_8" \voiceOne \upper }
\context Voice = "second voice" { \clef "G_8" \voiceTwo \lower }
>>
\new TabStaff = "tab" <<
\context TabVoice = "tab first voice" { \clef "moderntab" \voiceOne
\upper }
\context TabVoice = "tab second voice" { \clef "moderntab" \voiceTwo
\lower }
>>
>>
}
--
David Kastrup