lilypond-devel
[Top][All Lists]
Advanced

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

Fw: markup and bar number


From: Mark Polesky
Subject: Fw: markup and bar number
Date: Thu, 30 Jul 2009 07:42:41 -0700 (PDT)

(forwarded from -user)

This should be mentioned in the docs.
- Mark



Alexander Kobel wrote:
> > If I use markup at the last note of a bar and the next bar has a bar
> > number appearing, then the bar number appears above the text of markup.
> > If I raise the text in markup, then the bar number is raised
> > automatically too. How could I put the markup text above the bar number?
> 
> Hi, Alexandros.
> 
> Bar numbers are created at score level, so usually everything's above all 
> staff-level stuff.
> But you can remove the Bar_number_engraver from the score, add it to the 
> topmost 
> staff, and fiddle around with the 'outside-staff-priority of the markups:
> 
> \new Score \with {
>   \remove Bar_number_engraver
> }{
>   <<
>     \new Staff \with {
>       \consists Bar_number_engraver
>     } \relative c''{
>       \override Score.BarNumber #'break-visibility = #'#(#f #t #t)
>       \set Score.currentBarNumber = #66
>       \bar ""
>       \partial 8 f8-\tweak #'outside-staff-priority #1000 ^\markup{Text} |
>       f f f f c c c c
>       \bar "||"
>     }
>   >>
> }



      




reply via email to

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