Le 1 mai 08 à 15:26, Kieren MacMillan a écrit :

Hi all,

Is there a possibility to add manual line breaks within the markup text?

Yes; it's

\markup {
 \column {
   Your first line
 }
 {
   Your second line
 }
}

Ouch. There must be a better way, no?

No, this is the way, although the example is not correct, it should read:

  \markup \column {
    \line { Your first line }
    \line { Your second line }
  }

or:

  \markup \column {
    "Your first line"
    "Your second line"
  }

Do any of the LaTeX commands work (e.g., \par, or \\, etc.)?

Please, this LilyPond, not LaTeX, why in the name of Mandos would LaTeX
commands work?

At the very least, take advantage of the new \markuplines command:

\version "2.11.41"
\markuplines
{
   "words in single file"
   "each line in double quote marks"
   "stanza nirvana"
}

Depending on whether you accept page breaks or not between verses,
you should use:

  \markuplines \column-lines {
    "First verse"
    "Second verse"
    "Third verse"
  }

or:

  \markup \column {
    "First verse"
    "Second verse"
    "Third verse"
  }

(the \column-lines command adds some space around the lines, otherwise
they may be unevenly vertically spaced)

nicolas



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to