I've had some trouble with changing parameters in LilyPond, so I tried out
some example code from the manual.
In section 4.2.1
<http://www.lilypond.org/doc/v2.17/Documentation/learning/properties-of-layout-objects>
of the LilyPond Learning Manual, I found the following example code, which
is meant to demonstrate how to change a property of a layout object (this
is
directly copy-and-pasted from the manual):
{
\key es \major
\time 6/8
{
% Increase thickness of all following slurs from 1.2 to 5.0
\override Slur.thickness = #5.0
r4 bes8 bes[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
}
\addlyrics {
The man who | feels love's sweet e -- | mo -- tion
}
}
When commenting out the \override line, everything compiles fine for me in
LilyPond 2.16.2. However, when uncommenting it (and therefore, running the
example code in its entirety) I get the following error message:
Test.ly:6:29: error: syntax error, unexpected '=', expecting SCM_FUNCTION
or
SCM_IDENTIFIER or SCM_TOKEN
\override Slur.thickness
= #5.0
Test.ly:6:31: warning: Ignoring non-music expression
\override Slur.thickness =
#5.0
Test.ly:1:0: error: errors found, ignoring music expression
What is going on here?