[EMAIL PROTECTED] writes:
> Citerar Mats Bengtsson <[EMAIL PROTECTED]>:
> 
> > 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   |   [EMAIL PROTECTED]   |   http://www.xs4all.nl/~hanwen 



_______________________________________________
bug-lilypond mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to