Dear All,
Thanks to Peter Gentry and James pkx188h
for helpful suggestions regarding first and second
time repeat bars. I find that
\set Score.repeatCommands = #'((volta #f) (volta "1.") )
is easier to use than the usual method.
I've been trying to typeset a score which has an
initial repeat bar line *after* the time signature.
I know that it is not necessary to have this
bar line or maybe even deprecated but I thought
I'd duplicate it anyway. Lilypond's default seems
to be that the bar line will occur *before* the time
signature.
Using the following code achieves the desired result
and also enables control of the space
between key signature and bar line:
%%%%%%%%%%%%%%
\version "2.14.2"
\relative c'' {
\time 6/8
\once \override Score.BreakAlignment #'break-align-orders =
#(make-vector 3 '(instrument-name
left-edge
ambitus
breathing-sign
clef
key-signature
time-signature
staff-bar
custos))
\once \override Staff.TimeSignature #'space-alist =
#'((first-note . (fixed-space . 2.0))
(right-edge . (extra-space . 0.5))
;; free up some space between time signature
;; and repeat bar line
(staff-bar . (extra-space . 9 )))%increase this number for more space
%between time signature and bar line
\bar "|:"
c2.
d2.
d4 e8 f4 g8
}
%%%%%%%%%%
but when I use the code in my setting, the extra space
number doesn't work which is a shame, as the default
position looks too close to the time signature:
%%%%%%%%%%
\version "2.14.2"
#(set-global-staff-size 19.5)
\header {
title = "BLOW THE WIND SOUTHERLY"
composer = "Northumbrian folk-song"
arranger = "arr. Donald J. Hughes"
}
soprano =
\relative c' {
\key a \major
\time 6/8
\once \override Score.BreakAlignment #'break-align-orders =
#(make-vector 3 '(instrument-name
left-edge
ambitus
breathing-sign
clef
key-signature
time-signature
staff-bar
custos))
\once \override Staff.TimeSignature #'space-alist =
#'((first-note . (fixed-space . 2.0))
(right-edge . (extra-space . 0.5))
;; free up some space between time signature
;; and repeat bar line
(staff-bar . (extra-space . 90)))%increase this number for more space
%between time signature and repeat bar line
%Doesn't work.
\bar "|:"
cis'8.^\mp^\markup { \bold Moderato } b16 a8 e cis e
fis d fis e cis e
}
alto =
\relative c'
{
\key a \major
cis8. cis16 d8 e cis e
b d b e cis e}
tenor =
\relative c' {
\clef bass
\key a \major
e,8. e16 fis8 a a gis
fis fis gis b a gis}
bass =
\relative c' {
a,8._\mp a16 b8 cis8. d16 cis8
d8. e16 d8 cis8. d16 cis8}
altoLyrics = {
\lyricmode {
Blow the wind south -- er -- ly, south -- er -- ly, south -- er -- ly,
}}
\score {
\new ChoirStaff <<
\new Staff = women <<
\new Voice =
"soprano" { \voiceOne << \soprano >> }
\new Voice =
"alto" { \voiceTwo << \alto >> }
>>
\new Lyrics \with {alignBelowContext=women}
\lyricsto alto { \altoLyrics}
\new Staff = men <<
\new Voice =
"tenor" { \voiceOne << \tenor >> }
\new Voice =
"bass" { \voiceTwo << \bass >> }
>>
>>
\layout {}
\midi {}
}
%%%%%%%%%%%%
I have obviously missed something.
Thanks for any suggestions.
p.s sorry, I forgot to edit the subject line.