lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weirdo code?


From: David Kastrup
Subject: Re: Weirdo code?
Date: Sun, 28 Jan 2018 21:09:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Wol's lists <address@hidden> writes:

> I've just tried to do a cut-n-paste into a piece of music, from
> http://lilypond.org/doc/v2.19/Documentation/notation/bars
>
> At the very bottom you'll find
>
> \relative c' {
>   c1 \mark \markup { \musicglyph "scripts.segno" }
>   c1 \mark \markup { \musicglyph "scripts.coda" }
>   c1 \mark \markup { \musicglyph "scripts.ufermata" }
>   c1
> }
>
> Okay, I was only copying the markup bit - I wanted it as markup in the
> middle of the bar - but I had to add a # as follows:
>
> \markup { \musicglyph #"scripts.coda" }
>
> Looking at the code behind the web page, it looks like that is
> correct, so this is really just a curious enquiry - why is the #
> required if I want a markup, but it's not required if it's a markup
> within a mark ???

Different versions.  It's just recently that you could write strings
within a markup without # before them.  The Documentation is likely
newer than your version of LilyPond.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]