Is it possible to line up all bar number just above the staff / bar line,
especially bar 2, 4 and 5 which is on top of the phrase curve?
Here is a simpler example.
\version "2.13.40"
\header {
title = "Walking in Winter Wonderland"
}
#(set-global-staff-size 30)
\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
}
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
}
\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.1)
\clef "treble"
\tempo 4 = 118
\TimeKey
\new Voice = "Sop" { \voiceOne \SopMusic }
\new Lyrics \lyricsto "Sop" { \VerseOne }
\new Lyrics \lyricsto "Sop" { \VerseTwo }
>>
>>
>>
\layout {
\context {
\RemoveEmptyStaffContext
\override VerticalAxisGroup #'remove-first = ##t
}
\context {
\Voice
}
}
\midi { \context { \Staff \remove "Dynamic_performer" } }
}
________________________________
From: James <james.l...@datacore.com>
To: Jan Warchoł <lemniskata.bernoulli...@gmail.com>
Cc: MING TSANG <tsan...@rogers.com>; lilypond-user@gnu.org
Sent: Wed, December 15, 2010 11:18:57 AM
Subject: Re: bar number printed above the phrase (slur) curve
Ming
On 15/12/2010 16:09, Jan Warchoł wrote:
> 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).
Yes, I get compilation errors too.
---snip--
# -*-compilation-*-
Processing `C:/Users/jlowe/Desktop/test.ly'
Parsing...
C:/Users/jlowe/Desktop/test.ly:78:30: error: unknown escaped string: `\EzNum'
\new Voice = "Sop" { ...
---snip---
James
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user