lilypond-user
[Top][All Lists]
Advanced

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

Ossia with dashed span bars


From: Ralph Palmer
Subject: Ossia with dashed span bars
Date: Wed, 30 Dec 2015 20:22:57 -0500

Hi, LilyPonders -

I'm running LY 2.19.33 under Win7.

I thought I had the ossia thing licked, and I'm getting close, but I'm not quite there yet. I need dashed span bars between the lower normal staff and the ossia staff. I've tried everthing I could think of, using the LSR and the Notation Reference, but no luck. I could see what I want, but with only a single bar line, in the Notation Reference, and an even better one, but without the staff group in the LSR (http://lsr.di.unimi.it/LSR/Item?id=125, "Inserting a temporary ossia"). I couldn't figure out how to use either example in my situation. 

Here's my code (and I'm attaching the output "

%%%% start snippet %%%%%%%%%%%

\version "2.19.33"

% Ossia Problem

%%%%%%%%%%%% YAY!!!! WORKS!!!! %%%%%%%%%%%%%%%%%%

\language "english"

FourA =
\relative c'' { 
  \key fs \minor
  \time 4/4

  e4 e cs2 |
  d4 d b2 |
  cs4 cs8 b a4 d4 |
  cs4 cs8 b a4 d |
  cs4 e b2 |
  \break
  
  % bar 6
  b'4 b gs2 |  
  a4 a fs2 |
  gs4 gs8 fs e4 a |
  gs8 gs gs fs e4 a |
  gs4 b fs2 |
}



FourB =
\relative c'' {  
  \key fs \minor
  \time 4/4

  r2 a4 a |
  fs2 gs4 gs |
  e2 fs4 fs8 gs |
  a4 e fs fs8 gs |
  a4 e a gs8 fs |

  % bar 6  
  gs4 b e e8 ds |
  cs2 e4 ds8 cs |
  bs2 ds4 ds8 cs |
  bs4 bs e8 e ds cs |
  bs2. ds8 cs |
}

\defineBarLine "-dashedSpan" #'("" "" "!")

FourOssia =  
\relative c''' {  
  \key fs \minor
  \time 4/4
  
  s1*5
  
  % bar 6
  gs4 gs gs ds8 cs |
  b2 ds4 cs8 b |
  a2 ds4 cs8 b |
  a4 a~ a8 e' ds cs |
  b2. ds8 cs |
}


\score {
  <<
    \new GrandStaff <<
      \new Staff << \FourA >>
      \new Staff << \FourB >>    
    >>
    \new Staff \with {      
      \remove "Time_signature_engraver"
      fontSize = #-3
      \override StaffSymbol.staff-space = #(magstep -3)
      \override StaffSymbol.thickness = #(magstep -3)
      \override VerticalAxisGroup.remove-first = ##t      
    }
    << \FourOssia >>
  >>
  
  \header { 
    piece = "Song"

  }
  \layout { 
    \context {
      \Staff \RemoveEmptyStaves       
    } 
  }
}

%%%%% end snippet %%%%%%%

I'm grateful for any help!

All the best,

Ralph

--
Ralph Palmer
Brattleboro, VT
USA
address@hidden

Attachment: ossiaProblem.pdf
Description: Adobe PDF document


reply via email to

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