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: Xavier Scheuer
Subject: Re: Center a number above a measure
Date: Wed, 28 Mar 2012 00:59:00 +0200

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.
Why not use

  \set restNumberThreshold = #0


> I'll add this as a feature request. The code from David would make a good
> starting point.

As I said on the tracker (BTW, with the new "lilypond-auto" mailing list
should we send our comments as "comments" on the tracker (which would
be buried on "lilypond-auto") or reply as a normal e-mail to
bug-lilypond?), this is an advanced version of issue #146 .
http://code.google.com/p/lilypond/issues/detail?id=146

Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>



reply via email to

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