It seems the new syntax has not made it into the manual yet, the
correct syntax is
\paper{
  \context{
    \ScoreContext
    \override SpacingSpanner #'spacing-increment = #3.0
  }
}

For the bar numbers, why not use the \once feature and also combine both
settings in a single identifier?
bigBar = {
\once \override Score.BarNumber #'print-function = #(make-stencil-boxer 0.1 0.25 0.25 Text_item::print)
\once \override Score.BarNumber #'font-size = #2
}


Then you can just use \bigBar and don't have to revert the settings.

/Mats


Benjamin Esham wrote:
(I'm sorry if I sent this twice; I didn't receive a copy of the message
even though I am set to receive copies of my own messages, so I
thought that maybe it hadn't been delivered.)

Hello,

I am using Lilypond 2.1.28 on Mac OS X 10.3.2.  I can't manually set
the horizontal spacing of my music.  The example given in the
reference manual,

  \paper { \translator  {
      \ScoreContext SpacingSpanner \override #'spacing-increment = #3.0
  } }

does not work for me.  I also tried putting a \set before
"SpacingSpanner" and removing the \override, but neither of these
seemed to work.

Also— I would like to display bar numbers for every bar in my piece,
and I'd like some of them (rehearsal numbers) to be larger and have
boxes around them.  These latter have no pattern.  What is the easiest
way to do this?  I came up with the following solution:

  bigBarA = \override Score.BarNumber #'print-function =
      #(make-stencil-boxer 0.1 0.25 0.25 Text_item::print)
  bigBarB = \override Score.BarNumber #'font-size = #2
  resetBarsA = \revert Score.BarNumber #'print-function
  resetBarsB = \revert Score.BarNumber #'font-size

and then:

  \bar "||"
  \bigBarA \bigBarB
  c1   % this is the bar with the large number before it
  \resetBarsA \resetBarsB

I was hoping that someone here would be able to think of a better way.

Thanks for any responses to these questions!


-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to