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



      
\version "2.11.65"
\include "deutsch.ly"

global = {
  \time 2/4
  \mark \default
  s2 |
  \mark \default
  %% spacer acciaccatura needed to align mark to barline:
  \acciaccatura s8 s2*2 |
  \bar "|."
}
partone = \relative c' {
  c''2 |
  \acciaccatura {d8} c8[ h16 a] a'8 g |
  c,8[ h16 a] a'8 g |
}
parttwo = \relative c' {
  c''2 |
  c,2 |
  R2
}

\score {
  <<
    \new Staff {
      <<
        { \global }
        { \partcombine \partone \parttwo }
      >>
    }
  >>
  \layout {
    \context {
      \Staff
      instrumentName = #"score"
      printPartCombineTexts = ##f
    }
  }
}

\score {
  <<
    \new Staff { << \global \partone >> }
  >>
  \layout {
    \context {
      \Staff
      instrumentName = #"partone"
      printPartCombineTexts = ##f
    }
  }
}

\score {
  <<
    \new Staff { << \global \parttwo >> }
  >>
  \layout {
    \context {
      \Staff
      instrumentName = #"parttwo"
      printPartCombineTexts = ##f
    }
  }
}

<<attachment: double-mark.png>>

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

Reply via email to