lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2 Questions: spacing-increment and bar numbers


From: Benjamin Esham
Subject: 2 Questions: spacing-increment and bar numbers
Date: Mon, 8 Mar 2004 15:56:27 -0500

(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!

--
Benjamin D. Esham      {      http://bdesham.net
address@hidden      }      AIM: bdesham 1 2 8
Wikipedia, the Free Encyclopedia - wikipedia.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]