You need to create a tiny example of your problem (see http://lilypond.org/tiny-examples.html), or else the chance of getting help is (very) small. In my case the file failed to compile at all (i'm running latest development version, 2.13.43) so i don't even know if i can help you (i don't have the time to fix compile errors).
cheers, Janek 2010/12/13 MING TSANG <tsan...@rogers.com> > Please note the bar number #2,4,8 is printed very far from the bar line. > Is is possible to have it printed close to the bar line? > > Below is the lilypond code: > \version "2.13.40" > > date = #(strftime "%d-%m-%Y" (localtime (current-time))) > % #(ly:set-option 'delete-intermediate-files #f) > > \header { > title = "Walking in Winter Wonderland" > subtitle = \date > } > > \paper { > > indent = #(* mm 0) > line-width = #(* mm 180) > interscoreline = 2.\mm > between-system-space = 36\mm > ragged-bottom = ##t > print-first-page-number = ##t > > } > > \include "english.ly" > TimeKey = { \time 4/4 \key ef \major } > SopMusic = \relative c' { > % Draw a box round the following bar number(s) > \override Score.BarNumber #'stencil > = #(make-stencil-boxer 0.1 0.25 ly:text-interface::print) > \partial 4 > bf'8.\( bf16 \repeat volta 2 { \bar "|:" bf2^\markup {E \flat}\) > r4 bf8.\( bf16 | g8 bf4.\) r4 bf8.\( bf16 | %bar 00-02 > bf2^\markup {Fm}\) r4^\markup {Fm+5} bf8.\( bf16 | af8^\markup > {Fm7} bf4.\) r4^\markup {B\flat 7} bf4\( | d8. d16 d8 c8~ c4\) r8. c16\( > | %bar 03-05 > g8.^\markup {E\flat} gf16 f8 e8~^\markup {C7+5} e4\) r4 | > g8.^\markup {F9}\( g16 g8. g16 f8.^\markup{B\flat 7} f16 f8. f16 | } > \alternative { { ef2^\markup{E\flat}\) r4 bf'8. bf16 \bar ":|" } > %bar 06-08 > { ef,2^\markup{E\flat} r4 s4 || } } > \label #'lastPage > } > AltoMusic = \relative c' { > \override NoteHead #'color = #blue > } > TenorMusic = \relative c { > } > BassMusic = \relative c { > \override NoteHead #'color = #red > } > > PianoRHand = \relative c' { > } > PianoLHand = \relative c { > } > > VerseOne = \lyricmode { > Sleigh bells ring, are you list- 'nin? In the > lane snow is glist- 'nin'. A beau- ti- ful sight, we're > hap- py to- night. walk- in' in a win- ter won- der- land! Gone a- > } > VerseTwo = \lyricmode { > "" "" way is the blue bird, here to stay is a > new bird He sings a love song, as we go a- long > walk- in' in a win- ter won- der "" "" "" land > } > %VerseThree = \lyricmode { } > %VerseFour = \lyricmode { | > > > > > \score { > \new GrandStaff = "GrandStaff_score" << > \new ChoirStaff << > \new Staff << > \override Score.BarNumber #'break-visibility = #all-visible > \override Score.BarNumber #'self-alignment-X = #0 > \override Score.BarNumber #'Y-offset = #0 > % \override Score.BarNumber #'extra-offset = #'(0 . 0.3) > \clef "treble" > \tempo 4 = 118 > \TimeKey > \new Voice = "Sop" { \EzNum \voiceOne \SopMusic } > > \new Lyrics \lyricsto "Sop" { \VerseOne } > \new Lyrics \lyricsto "Sop" { \VerseTwo } > > >> > \new Staff << > \clef "bass" > \TimeKey > \new Voice = "Tenor" { \EzNum \voiceOne \TenorMusic } > \new Voice = "Bass" { \EzNum \voiceTwo \BassMusic } > >> > >> > > >> > \layout { > \context { > \RemoveEmptyStaffContext > \override VerticalAxisGroup #'remove-first = ##t > %{ % Draw a circle round the following bar number(s) > \override Score.BarNumber #'stencil > = #(make-stencil-circler 0.1 0.25 ly:text-interface::print) > %} > } > \context { > \Voice > \consists \Ez_numbers_engraver > } > } > \midi { \context { \Staff \remove "Dynamic_performer" } } > } > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user