lilypond-user
[Top][All Lists]
Advanced

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

Re: Markup problem


From: Thomas Morley
Subject: Re: Markup problem
Date: Wed, 4 Dec 2019 12:11:00 +0100



Am Mi., 4. Dez. 2019 um 11:03 Uhr schrieb Jacques Menu <address@hidden>:
Hello folks,

In the following example, the markup doesn’t show up in the score, one only gets:

Removing the \book around the \score avoids this problem, though. I’ve missed something it seems...

Thanks for your help!

JM

--

%%%%%%%%%%%%%%
\version "2.19.83"

\markup {
  \fill-line {
    \hspace #5
    \column {
      \line {Joshua fit the battle of Jericho, Jericho, Jericho,}
      \line {Joshua fit the battle of Jericho, An' the wall came tumblin' down. (Repeat)}
      \line {You can talk about your king of Gideon, You can talk about your men of Saul,}
      \line {But there's none like good old Joshua, At the battle of Jericho! (Repeat 1st 2 lines)}
    }
  }
}

\book {
  \score {
    <<
      { c }
    >>
  }
}
%%%%%%%%%%%%%%

Hi Jacques,

your code creates _two_ books and thus two pdf.
One with the content of the eplicitely stated \book { .. }
And another one with all the remaining toplevel stuff.

As you are surprised by that, I think it's not what you want ;)
Probably put the markup into the book:

\book {
\markup "whatever"
\score { c4 }
}

HTH,
  Harm

reply via email to

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