lilypond-user
[Top][All Lists]
Advanced

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

Re: Why a \score inside \markup doesn't allow breaks?


From: M Watts
Subject: Re: Why a \score inside \markup doesn't allow breaks?
Date: Thu, 29 Jan 2009 22:15:42 +1000
User-agent: Thunderbird 2.0.0.18 (X11/20081105)

Risto Vääräniemi wrote:
Hi again,

Has no-one else encountered this issue?


BR,

Risto

2009/1/21 Risto Vääräniemi <address@hidden>:

I was wondering why a \score inside \markup doesn't allow breaks. If I
insert a \break everything after it is ignored. If I want to have a
multi-line piece inside a \markup I have to put multiple \scores in a
column. Is there another way?

-Risto

%%%% start %%%%
\version "2.12.1"

\markup
{
   \score
   {
       {c'1 c' c' c' \break c' c' c' c'}
       \layout {}
   }
}
%%%% END %%%%


Hmm, I can see how this could be annoying -- I guess \markup's ability to include a \score was originally intended for short phrases and alternative readings etc., although the docs provide an example of some length.
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Music#Music

I've tried:
----------------------
\version "2.12.1"

\markup
{
  \score
  {
\new Voice \with { \remove Forbid_line_break_engraver } % intended for allowing \breaks at 'wrong' places in the bar
       { c'1 c' c' c' \break c' c' c' c' }
      \layout {}
  }
}

--------------------------

and

--------------------------
\version "2.12.1"

\markup
{
  \score
  {
      \new Staff {c'1 c' c' << c' { s1 \break } >>  c' c' c' c'}
      \layout {}
}
}
-----------------------------

Terminal output insists that Lily's "Calculating line breaks... " but everything after \break is ignored in both cases.






reply via email to

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