bug-lilypond
[Top][All Lists]
Advanced

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

Re: Center a number above a measure


From: Clément Ryder
Subject: Re: Center a number above a measure
Date: Wed, 28 Mar 2012 11:38:09 +0200

Le 28 mars 2012 10:16, Colin Hall <address@hidden> a écrit :

>
> On Wed, Mar 28, 2012 at 12:59:00AM +0200, Xavier Scheuer wrote:
> > On 28/03/2012, Colin Hall <address@hidden> wrote:
> > >
> > > Looking at that horn part I only see the number "1" above single bar
> rests.
> > > So, does the following code meet your needs?
> > >
> > > Documented here:
> > >
> http://lilypond.org/doc/v2.14/Documentation/notation/writing-rests#full-measure-rests
> > >
> > > {
> > >   \set Staff.instrumentName = \markup \column { \line {With} \line
> {markup}
> > > }
> > >   R1*1^\markup \huge \bold "1" | R1*1^\markup \huge \bold "1" |
> R1*1^\markup
> > > \huge \bold "1"
> > > }
> > >
> >
> > This is complicated and tricky, IMHO.
>
> I agree.
>
> > Why not use
> >
> >   \set restNumberThreshold = #0
>
> Yes, that's much better. Armed with that knowledge I dug up a couple of
> references:
>
> http://lists.gnu.org/archive/html/lilypond-user/2011-12/msg00122.html
>
> And it is documented here:
>
> http://kainhofer.com/~lilypond/Documentation/notation/all-context-properties.html
>
>
It should also be indicated in the section about multi-measure-rests
(1.2.2).
http://lilypond.org/doc/v2.14/Documentation/notation/writing-rests#full-measure-rests


> Cheers,
> Colin.
>
> --
>
> Colin Hall
>


reply via email to

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