[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No volta printed at the beginning
From: |
Erik Sandberg |
Subject: |
Re: No volta printed at the beginning |
Date: |
Tue, 26 Oct 2004 11:41:14 +0200 |
User-agent: |
KMail/1.6.2 |
On Monday 25 October 2004 19.49, Nicolas Sceaux wrote:
> \layout { raggedright = ##t }
>
> <<
> \new Staff {
> c'4 d' e' f'
> \set Score . repeatCommands = #'((volta "1."))
> g'1
> \set Score . repeatCommands = #'((volta #f))
> g'
> \set Score . repeatCommands = #'((volta "2."))
> << \new Staff {b'2 b' b' b'}
> { g'1
> \set Score . repeatCommands = #'((volta #f))
> g'1 } >>
> }
> \new Staff {
> g'2 g'
> g' g'
> g' g' \break
> g' g' g' g' }
>
>
> would be closer to what I would like (ie, no ":|" bar)
> But the new staff should be above the 2 former ones, instead of
> below. How can I chose where the new staff is placed?
It should be possible using \RemoveEmptyStaffContext, but unfortunately there
is a bug that stops this from working now:
\layout {
raggedright = ##t
\context { \RemoveEmptyStaffContext }
}
<<
\new Staff {R1*3 b'2 b' b' b'}
\new Staff {
c'4 d' e' f'
\set Score . repeatCommands = #'((volta "1."))
g'1
\set Score . repeatCommands = #'((volta #f))
g'
\set Score . repeatCommands = #'((volta "2."))
g'1
\set Score . repeatCommands = #'((volta #f))
g'1
}
\new Staff {
g'2 g'
g' g'
g' g' \break
g' g' g' g' }
>>
It seems to me that all new staves are added at the bottom; I don't know if
there is a way to add them at the top instead.
Erik