Hi mark, Thank you for the replay. I modify your code to show what i try to accomplish. I like the ossia2 align up horizontally of measure 4. Ossia1 is for measure 2. Here is the modified code
\version "2.16"
\language "english"
\score {
\new StaffGroup \with {
\remove "System_start_delimiter_engraver"
\override SpanBar #'glyph-name = #":"
% \override SpanBar #'glyph-name = #"dashed"
}
<<
\relative c'' {
\key d \major
\partial 4
b8 a
| fs8[ b] b[ a] b4.\turn d8
%% Measure with Ossia - Start
<<
% measure that runs in parallel of the ossia
{ fs2 d}
% ossia 1
\new Staff \with { \remove "Time_signature_engraver"
\override StaffSymbol #'staff-space = #(magstep -2) }
{
\key d \major
d4^"ossia 1" fs a fs
}
>>
g1
a
<<
% ossia 2
\new Staff \with { \remove "Time_signature_engraver"
\override StaffSymbol #'staff-space = #(magstep -2) }
{
\key d \major
d,4^"ossia 2" fs a %fs
}
%% Measure with Ossia - End
{b,2. \bar "|."}
>>
}
>>
}
Thank you,
Ming.
________________________________
3. Re:align ossia per system (MarcM)
Message: 3
Date: Thu, 18 Jul 2013 17:44:59 -0700 (PDT)
From: MarcM <[email protected]>
To: [email protected]
Subject: Re: align ossia per system
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
I thought my computer could handle Chinese but i could not edit your code.
I was able to get 2 ossias aligned. Check out the following code.
\version "2.16"
\language "english"
\score {
\new StaffGroup \with {
\remove "System_start_delimiter_engraver"
\override SpanBar #'glyph-name = #":"
% \override SpanBar #'glyph-name = #"dashed"
}
<<
\relative c'' {
\key d \major
\partial 4
b8 a
| fs8[ b] b[ a] b4.\turn d8
%% Measure with Ossia - Start
<<
% measure that runs in parallel of the ossia
{ fs2 d}
% ossia 1
\new Staff \with { \remove "Time_signature_engraver"
\override StaffSymbol #'staff-space = #(magstep
-2) }
{
\key d \major
d4^"ossia 1" fs a fs
}
% ossia 2
\new Staff \with { \remove "Time_signature_engraver"
\override StaffSymbol #'staff-space = #(magstep
-2) }
{
\key d \major
d4^"ossia 2" fs a fs
}
%% Measure with Ossia - End
>>
g1 \break a b }
>>
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/align-ossia-per-system-tp147934p148175.html
Sent from the User mailing list archive at Nabble.com.<<attachment: 2013-07-19_083459.png>>
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
