[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond-book
From: |
Han-Wen Nienhuys |
Subject: |
Re: lilypond-book |
Date: |
Mon, 11 Oct 2004 21:10:59 +0200 |
address@hidden writes:
> Citerar Mats Bengtsson <address@hidden>:
>
> > 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.
We would shoot ourselves in the foot if we ever decide to use $ in the
language. I second Mats' suggestion.
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen