lilypond-user
[Top][All Lists]
Advanced

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

Double ossia with tabulature issue


From: Neo Anderson
Subject: Double ossia with tabulature issue
Date: Fri, 8 Jul 2022 00:23:20 +0000 (UTC)

Hi!

I've been trying to add an ossia to an existing guitar part with the tabulature. However, I run into this issue that the ossia gets doubled as long as the tab part is uncommented. As soon as I don't use the tab staff, everything is fine.

I guess it's all because of my /score block, but I can't figure it out. 

The ossia itself doesn't have to have its own tab, but if, as an extra, someone could make it happen, I would be happy, too.

MWEs:
a) Minimal reproducible example included as an attachement
b) https://www.hacklily.org/?edit=Aelfstone/sheet-music/ossia_issue_mwe.ly
c) The code itself

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.23.10"

gtrOne = {
  d'1~ d'1
  \break  
 
  <<
    { f'1 }
    \new Staff 
    \with { alignAboveContext = "gtrOne" }
    { c''1 }
  >>
  
  g'1
}


\score {
  <<
    \new Staff = "gtrOne" \with { }
    { \gtrOne }
    
    \new TabStaff
    { \gtrOne }      
  >>
  \layout {
    \context { }
  }
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Attachment: ossia_issue_mwe.ly
Description: Text Data


reply via email to

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