lilypond-user
[Top][All Lists]

## Re: lilypond-book

 From: Erik Sandberg Subject: Re: lilypond-book Date: Mon, 11 Oct 2004 19:48:18 +0200 User-agent: Internet Messaging Program (IMP) 3.2.6

> Of course, I should have cross-posted already the previous email to
> bug-lilypond.
>
> I just came to think of yet another possible solution, namely to
> mimic the \verb command in LaTeX and let the user himself find a
> character to use as start and end of the example that's not included
> in the LilyPond snippet. Simply take the first character after
> \lilypond as the delimiter. Examples that would work then:
> \lilypond+\relative c'{c d e f}+
> \lilypond' c^+ d e f '
> \lilypond{c d e f{
>
> Of course, the final example looks ridiculous, but it's kind of logical
> anyway, once you've grasped the main idea.

It could be a good idea to force (or at least recommend) using \$ in this case,
like:
\lilypond \$c d e f\$
because \$ isn't used in lily, & it also looks nice as a language delimiter
within LaTeX code.

Erik