A simpler solution is to move the \mark command to after
the appoggiatura:
...
partone = \relative c' {
\clef treble
\time 2/4
\key c \major
\mark \default
c''2 |
\acciaccatura {d8} \mark \default c8[ h16 a] a'8 g |
After all, the source of this problem (as well as all the other
grace note alignment problems) is that the grace note
happens before the moment where the bar line happens
in the other staves.
/Mats
Mark Polesky wrote:
You could add a spacer acciaccatura to every voice
(by the way, "\clef treble" and "\key c \major" are
defaults, so I removed them):
parttwo = \relative c' {
\clef treble
\time 2/4
\key c \major
\mark \default
c''2 |
\mark \default
\acciaccatura {s8} c,2 |
\bar "|."
}
but if you have a lot of voices, that's burdensome.
A better solution would be to define a global music
block that contains everything that is the same for
both parts:
global = {
\time 2/4
\mark \default
s2 |
\mark \default
%% spacer acciaccatura aligns mark to barline:
\acciaccatura s8 s2*2 |
\bar "|."
}
Then you can "funnel two music expressions into one
context". For individual parts, you would use:
<< \global \partone >>
And for the score, you would use:
<<
{ \global }
{ \partcombine \partone \parttwo }
>>
For an explanation, see:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Creating-contexts#index-_005ccontext
See the attached files. Also, if you're still using
2.11.65, you should upgrade to 2.12.1.
- Mark
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user