lilypond-user
[Top][All Lists]
Advanced

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

Re:align ossia per system


From: MING TSANG
Subject: Re:align ossia per system
Date: Fri, 19 Jul 2013 05:35:42 -0700 (PDT)

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 <address@hidden>
To: address@hidden
Subject: Re: align ossia per system
Message-ID: <address@hidden>
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
Description: PNG image


reply via email to

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