Hi James,
Thanks for pointing out. I upgraded now and I took a look in the new
learning manual. You are right, once in a while one has to re-read
(parts of) the documentation although you might think you know it all,
and I didn't. Apologies.
I found clues on how to run the different \time commands in different
staves and take out the Timing_translator. But somehow I'm drifting
away from what I had in mind. Now I'm trying to find a way to
verticall align notes and the bar lines, because reading it now is
also no fun.
The sample below is how far I got untill now.
Regards,
Wim van Dommelen.
P.S. The alignment of the two small ossia's staffs themselves can
probably be done with a context, but I'm not there yet.
------ sample code: -----------------------------------------
\version "2.12.3"
\paper {
#(set-paper-size "a4")
#(define dump-extents #t)
indent = 0\mm
}
\book {
\score {
\new Staff = "main" {
\override Staff.TimeSignature #'style = #'()
\override Score.BarNumber #'break-visibility = #end-of-line-
invisible
\clef violin
\key d \major
\relative c' {
\time 3/2
c c d d es es |
e e fis fis
<<
{ g g | }
\new Staff = "ossia" \with {
alignAboveContext = #"main"
firstClef = ##f
}
{ \time 3/4 g4 g r | }
>>
\time 1/4
r |
\time 4/2
c, c d d es es
<<
{ e e | }
\new Staff = "ossia" \with {
alignAboveContext = #"main"
firstClef = ##f
}
{ \time 3/4 e!4 e r | }
>>
\time 1/4
r |
\time 3/2
r c d d es es |
}
\bar "|."
}
\layout {
\context {
\Score
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
}
\context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
}
}
}
}
-----------------------------------------------------------------
On 29 Oct 2010, at 23:07 , James Bailey wrote:
Hi, first of all, let me recommend you to upgrade to version 2.12.
It's the current stable version, and includes numerous bug fixes
over 2.10. Secondly, let me recommend you to read the Learning
Manual included in the new documentation. Even if you've been using
LilyPond for quite a while, it explains the features in an easy to
understand format, and will likely enable you to answer most of your
own questions in the future. Thirdly, to answer your question,
you'll find sections on having different time signatures in
different staves in (the 2.12 documentation) the Notation Reference,
section 1.2.3, and information on creating ossia staves in section
1.6.2. I hope these help you!
James
On Oct 29, 2010, at 10:01 PM, Wim van Dommelen wrote:
<snipped>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user