On Saturday, 25 December 1999, Laurent Martelli writes:
> I'm trying to tell Lilypond to print the number of the bars on each
> line with `barNumberDirection'. I tried something like this, but no
barNumberDirection?
> number is printed. Am I doing it wrong ?
You must turn bar numbering on first.
add:
\translator {\BarNumberingStaffContext }}
to \paper (see input/test/bar-number.ly).
> --------
> \header {
> \include "header.ly";
> filename = "bwv1020.ly";
> }
>
> global = \notes {
> \key g \minor;
> \time 3/4;
> }
>
> \include "clavecin_1.ly";
>
> \score {
>
> \notes { \property Score.barNumberDirection = \up
>
>
> \context GrandStaff <
>
> \context Staff = treble <
> \global
> \clef treble;
> \top
> >
> \context Staff = bass <
> \global
> \clef bass;
> \bottom
> >
> > }
>
> }
> --------
>
> --
> Laurent Martelli
> [EMAIL PROTECTED]
>
>
Jan.
--
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien/ | http://www.lilypond.org/