Greetings. How would one best control the horizontal spacing/length of a
multi-measure rest?
I am compiling a book filled with numerous, shorter exercises that
would, ideally, be placed all on one line. Many of them begin and end
with a two measure rest and I need make those as horizontally short as
possible to give the notes and dynamics enough room on the page.
I have tried using the method here -
https://lilypond.org/doc/v2.23/Documentation/notation/writing-rests#full-measure-rests
- but it didn't work.
I have an example attached.
--
-josh
\version "2.24.4"
BFLATMAJORworkoutblowbrassnotes = {
\time 4/4
\override Glissando.style = #'zigzag
R1*2 \bar "||" |
bes2\glissando f'\glissando |
bes,\glissando f'\glissando |
bes,1 |
R1 |
a2\glissando e'\glissando |
a,\glissando e'\glissando |
a,1 |
R1 |
as2\glissando es'\glissando |
as,\glissando es'\glissando |
as,1 |
R1 |
g2\glissando d'\glissando |
g,\glissando d'\glissando |
g,1
R1*2 |
\bar "|."
}
BFLATMAJORworkoutbeuphoniumpart = \new Staff { \compressMMRests \relative c { \clef bass \BFLATMAJORworkoutblowbrassnotes }}
\score {
<<
\BFLATMAJORworkoutbeuphoniumpart
% \new Dynamics { \ensemblewarmupadynamics }
>>
\layout {
system-count = #1
ragged-last = ##f
ragged-right = ##f
indent = 0
short-indent = 0
\override MultiMeasureRest.expand-limit = #1
\set Score.rehearsalMarkFormatter = #format-mark-box-letters
\context {
\Score
\override InstrumentName.self-alignment-X = #RIGHT
\override InstrumentName.padding = #1.5
\override BarNumber.direction= #down }
\context {
\Staff
\remove "Instrument_name_engraver"
}
\context {
\Dynamics
\consists #Measure_counter_engraver
\override MeasureCounter.direction = #DOWN
\override MeasureCounter.font-encoding = #'latin1
\override MeasureCounter.font-shape = #'italic
}}}