bug-lilypond
[Top][All Lists]
Advanced

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

‘\note’ DURATION (string) DIR (number)


From: Sylvius Pold
Subject: ‘\note’ DURATION (string) DIR (number)
Date: Tue, 20 Dec 2016 20:10:13 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Hi,

I seem to have some problems understanding the manuals. In lilypond-notation (instrument specific markup) I read:


‘\note’ DURATION (string) DIR (number)

     This produces a note with a stem pointing in DIR direction, with
     the DURATION for the note head type and augmentation dots.  For
     example, ‘\note #"4." #-0.75’ creates a dotted quarter note, with a
     shortened down stem.


It's not clear to me how to achieve e.g. a dotted quarter note, with a shortened *up* stem. This does not work:

1. \markup { \note #"4" #UP #0.75 }
2. \markup { \note #"4" #UP #-0.75 }

It's also not clear to me why it is necessary to define a DIR direction in order to get a whole note. Example:

\markup { \note #"1" #UP }

Strange syntax but compiles fine with LP 2.19.50.

I'd expect to be able to write

\markup { \note #"1" }

in order to get a whole note but this results in the following error:

syntax error, unexpected STRING, expecting LOOKUP_IDENTIFIER or SCM_FUNCTION or SCM_IDENTIFIER or SCM_TOKEN

Is this a (tiny) bug or just an inconvenience and is it possible to alter the lengths of up stems in the context of the \note command?

Thanks for your help!

Sylvius




reply via email to

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