[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: override default bar width for only one bar
From: Klaus Blum <BenBigNoise () gmx ! de>
Date: 2016-01-31 16:11:16
Message-ID: 1454256676619-186691.post () n5 ! nabble ! com
[Download RAW message or body]
Hi Ryan,
the command you are looking for is \newSpacingSection.
If the effect is not enough, you could simply add another voice and do some
invisible stuff to consume additional space:
% -----------------------------------------------------
\version "2.19.25"
\score {
\relative c'' {
g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 |
g4 e e2 | f4 d d2 | c4 e g g | c,1 |
\newSpacingSection
\override Score.SpacingSpanner.base-shortest-duration = #(ly:make-moment
1/64)
<<
{d4 d d d |}
{
\new Voice
\hideNotes
\repeat unfold 4 { s8 \hide r16 \hide r16 }
\unHideNotes
}
>>
\newSpacingSection
\revert Score.SpacingSpanner.base-shortest-duration
d4 e f2 | e4 e e e | e4 f g2 |
g4 e e2 | f4 d d2 | c4 e g g | c,1 |
}
\layout {
\context {
\Score
}
}
}
% -----------------------------------------------------
Cheers,
Klaus
--
View this message in context: \
http://lilypond.1069038.n5.nabble.com/override-default-bar-width-for-only-one-bar-tp186661p186691.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic