lilypond-user
[Top][All Lists]
Advanced

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

Re: show bar number


From: David Kastrup
Subject: Re: show bar number
Date: Sat, 15 Dec 2012 16:09:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Mark Mathias <address@hidden> writes:

> The manual shows how to show bar numbers on every bar:
> http://www.lilypond.org/doc/v2.17/Documentation/notation/bars#bar-numbers.

2.17 documentation.

> This works when the code is pasted into a new lilypond file, but I
> must still not understand something pretty fundamental about LilyPond
> because no matter where I've placed it, I can't get it to work in this
> file:
> \version "2.16.1"

2.16 version header.

> % Here is the line I can't place correctly:
>
> \override Score.BarNumber.break-visibility = #'#(#t #t #t)

2.17 syntax.  What version are you using?

> \layout {
>
> \context {
>
> \Score

You could put

    \override #'(BarNumber break-visibility) = #all-visible

right here.

>
> }
>
> }
>
> global = {
>
> }
>
> violinI = \relative c'' {
>
> \repeat volta 2 {
>
> \global
>
> c c c c
>
> } 
>
> }
>
> violinIPart = \new Staff \with {
>
> } \violinI
>
> \score {
>
> \violinIPart
>
> \layout { 
>
> }
>
> }
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
David Kastrup




reply via email to

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