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
[email protected]

Attachment: ossiaProblem.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to