lilypond-user
[Top][All Lists]
Advanced

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

Re: disabling \break


From: Aaron Hill
Subject: Re: disabling \break
Date: Tue, 08 May 2018 05:01:46 -0700
User-agent: Roundcube Webmail/1.3.6

On 2018-05-07 22:50, Herbert Liechti wrote:
Is it possible to add a command that skips/disables/avoids the manual
breaks when creating the tablet version?

Tags are probably the best option here:

%%%
\version "2.19.80"
tagBreak = \tag #'withBreaks { \break }
someMusic = { c'2 d' \tagBreak e1 }
\score { << \keepWithTag #'withBreaks \someMusic >> }
\score { << \keepWithTag #'withoutBreaks \someMusic >> }
%%%

You could also just define your own variable as either \break or {}.

%%%
\version "2.19.80"
condBreak = {} %or% \break
someMusic = { c'2 d' \condBreak e1 }
\score { << \someMusic >> }
%%%

-- Aaron Hill



reply via email to

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