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: Colin Hall
Subject: Re: Center a number above a measure
Date: Wed, 28 Mar 2012 09:16:24 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

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

Cheers,
Colin.

-- 

Colin Hall



reply via email to

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