[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line breaks in text markups
From: |
Nicolas Sceaux |
Subject: |
Re: Line breaks in text markups |
Date: |
Thu, 1 May 2008 16:24:13 +0200 |
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