lilypond-user
[Top][All Lists]
Advanced

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

Re: Make an invisible measure?


From: Shamus
Subject: Re: Make an invisible measure?
Date: Tue, 15 Apr 2008 20:48:53 -0500
User-agent: Thunderbird 2.0.0.9 (X11/20080224)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stan Mulder wrote:
| In my last measure before the CODA I have a "DS al Coda". Immediately
after this
| is the CODA. The problem is lilypond says there are two simultaneous
marks here.
| So I inserted a skip measure "s1" just before the CODA section. This
works, but
| now I've got a small empty measure. IS there a better way to do this
or can I
| make that empty measure invisible?

Hi Stan,

The short answer is yes. I think there's even a concise example in the
Lilypond Snippet Repository as well. Here's how I do it:

...

g1 \bar "||"   % 23

\once \override Score.RehearsalMark #'self-alignment-X = #right
\mark \markup { \italic { D.S. al Coda (2nd end.) } }

\stopStaff s1 \startStaff
\set Score.currentBarNumber = #24

% Coda

\once \override Score.RehearsalMark #'self-alignment-X = #left
\mark \markup { { \musicglyph #"scripts.coda" } "Coda" }

...

The current bar number is reset in order to make the bar count on
subsequent lines display correctly. Otherwise, your bar count will be
off by one. ;-)

- -- Shamus

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBVsFmE5b/O3JjkYRAi8rAKDXMngGoolYgqfKpl0cNBcxIgUfIgCfa9Wh
czRpnF06prr4PXTFl71amXM=
=BRzx
-----END PGP SIGNATURE-----




reply via email to

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