bug-lilypond
[Top][All Lists]
Advanced

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

Time signature and acciaccatura


From: Sergio
Subject: Time signature and acciaccatura
Date: Fri, 10 Jan 2014 10:05:53 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting

If printed alone, the two parts of Flutes and Trumpets are ok, but if I
merge them into a score the result is ugly.

%--------------------%
% PART: Flutes, OK IF ALONE
%--------------------%
\version "2.18.0"
PbMusic= {
 % Bar 1 
\clef treble \key ees \major \time 2/4
 R2
  | % Bar 2
     \time 3/4 R2.
  | % Bar 3
     \time 2/4 R2
} 
  \header {
     tagline=""
     title="Test"
   }
% --------------------
% score container
% --------------------
\score {
<<
   \new Staff = "Staff_b" {
        \set Staff.instrumentName=#"Flutes"
        \set Staff.shortInstrumentName=#"Fl"
        #(set-accidental-style 'modern)
        \PbMusic
     } % end staff
>>
\layout { }
}


This is the part of the trumpets:

%--------------------%
% PART: Trumpets 12 OK IF ALONE
%--------------------%
\version "2.18.0"
PdMusic= {
  % Bar 1 
\clef treble \key ees \major      \time 2/4
 \acciaccatura a8 bes8 r8 \acciaccatura a8 bes8 r8
  | % Bar 2 
     \time 3/4 \acciaccatura a8 bes8 r8 r2
  | % Bar 3 
     \time 2/4 R2
} 

  \header {
     tagline=""
     title="Test"
   }
% --------------------
% score container
% --------------------
\score {
<<
   \new Staff = "Staff_d" {
        \set Staff.instrumentName=#"Trumpets 12"
        \set Staff.shortInstrumentName=#"Tpts 12"
        #(set-accidental-style 'modern)
        \PdMusic
     } % end staff
>>
\layout { }
}


This is the score:
%--------------------
% SCORE 
%--------------------%
% PART: Flutes
%--------------------%
\version "2.18.0"
PbMusic= {
 % Bar 1 
\clef treble \key ees \major \time 2/4 R2
  | % Bar 2
     \time 3/4 R2.
  | % Bar 3
     \time 2/4 R2
} 

%--------------------%
% PART: Trumpets 12
%--------------------%
PdMusic= {
  % Bar 1 
\clef treble \key ees \major \time 2/4
 \acciaccatura a8 bes8 r8 \acciaccatura a8 bes8 r8
  | % Bar 2 
     \time 3/4 \acciaccatura a8 bes8 r8 r2
  | % Bar 3 
     \time 2/4 R2
} 

  \header {
     tagline=""
     title="Score"
   }
% --------------------
% score container
% --------------------
\score {
<<
   \new Staff = "Staff_b" {
        \set Staff.instrumentName=#"Flutes"
        \set Staff.shortInstrumentName=#"Fl"
        #(set-accidental-style 'modern)
        \PbMusic
     } % end staff
   \new Staff = "Staff_d" {
        \set Staff.instrumentName=#"Trumpets 12"
        \set Staff.shortInstrumentName=#"Tpts 12"
        #(set-accidental-style 'modern)
        \PdMusic
     } % end staff
>>
\layout { }
}

Thanks,
Sergio




reply via email to

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