lilypond-devel
[Top][All Lists]
Advanced

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

Re: Quoted text (was Re: When is "-" required in articulations?)


From: Trevor Daniels
Subject: Re: Quoted text (was Re: When is "-" required in articulations?)
Date: Fri, 23 May 2008 21:19:56 +0100


So, in summary, might we have something like this?

Entering text

Text may be entered in three ways:
o delimited by curly brackets, let's call this "bracketed text"
o delimited by double quotes, let's call this "quoted text"
o delimited by spaces, let's call this "bare text"

but there are restrictions on each of these:

o Bracketed text is only valid when preceded by \markup,
  but can contain other commands and even quoted text
o Quoted text cannot contain other commands, but can
  contain special characters which will be interpreted
  literally as simple characters
o Bare text must be a single word containing only alphabetic characters
o More?

The \markup command will accept all three forms, and these
illustrate the increasing facilities available:
o \markup accelerando
o \markup "gradually speeding up"
o \markup {\italic {poco a poco stringendo}}

Other commands are more selective.  For example, text for
ottava brackets can only be entered as quoted text.

etc

Trevor

----- Original Message ----- From: "John Mandereau" <address@hidden>
To: "Mats Bengtsson" <address@hidden>
Cc: "lily-devel" <address@hidden>
Sent: Friday, May 23, 2008 9:43 AM
Subject: Re: Quoted text (was Re: When is "-" required in articulations?)


On 2008/05/23, Mats Bengtsson wrote:
Graham Percival wrote:
>
> *as far as I know*, anything in lilypond that accepts "blah blah"
> also accepts \markup.
> This is almost true. However, I seem to recall a few exceptions. For example, you cannot use a \markup expression as the value when you set a property in \lyricmode.

There is another exception: text for ottava brackets (Staff.ottavation
property) can only be a string, not a markup.  I guess it should be easy
to make it accept a markup, though.

Cheers,
John



_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel





reply via email to

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