Here is the 'close--- but not quite ready for cigar time' code that
I've cobbled together:
\version "2.13.7"
%
% malaguena.ly -- q&d testbed for mixed notation score and tab.
%
\header {
title = "Malaguena"
subtitle = "none"
composer = "Music by Unknown"
}
eMinor = < e b gis e b e, >
firstMono = { \eMinor \eMinor \eMinor }
firstPoly = {
<< { b c d } \\ { < gis, d e, >2. } >>
<< { d'4 c b } \\ { e,,2. } >>
<< { c''4 a b} \\ { a,2. } >>
<< { \acciaccatura d'8 c4 b a } \\ { a,2. } >>
<< { b'4 a c } \\ { g,2. } >>
<< { a'4 g f } \\ { f,2. } >>
}
firstPolyRepeat = {
<< { r4 \times 2/3 {gis'8 b e } e,4 \times 2/3 {gis8 b e} e,2 }\\ {e,2.~e} >>
}
secondMono = {
{ e'8 [e'] gis, [e'] b [e] }
{ e,8 [e'] gis, [e'] b [e] }
{ a,8 [e'] c [e] b [e] }
{ a,8 [e'] g, [e'] f, [e'] }
}
thirdMono = {
{ e,8 [e'] gis, [e'] b [e] }
}
{
\time 3/4
\set Score.barNumberVisibility = #all-bar-numbers-visible
\bar ""
<<
\new Staff \relative c'' {
\firstMono
\repeat volta 2 {
\firstPoly
}
\alternative {
{ \firstPolyRepeat }
{ \secondMono }
}
\thirdMono
}
\new TabStaff \relative c' {
\firstMono
\repeat volta 2 {
\firstPoly
}
\alternative {
{ \firstPolyRepeat }
{ \secondMono }
}
\thirdMono
}
}
If you run this, you will see that the bar between the alternates is
single sided where it should be double sided. Likewise there is no bar
concluding the second alternative. Also a nit-pick, but the volta bars
are two long, should be one bar, not 'N' bars.