[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: staff-space doesn't seem to work as documented
From: |
Phil Holmes |
Subject: |
Re: staff-space doesn't seem to work as documented |
Date: |
Sat, 27 Mar 2010 10:37:16 -0000 |
The user error was actually in the quoting in my email: I'd tried both #'1.5
and #1.5 and neither had worked. Thanks to those who pointed out the
requirement for white space between the font size specification and the
curly brace: #'1.5 } and #1.5 } both work. #1.5} doesn't work, and I'd not
picked this up from the documentation since I tend to put commands of this
sort on a single line, which the documentation doesn't.
--
Phil Holmes
----- Original Message -----
From: "Graham Percival" <address@hidden>
To: "Phil Holmes" <address@hidden>
Cc: "LilyPond User Group" <address@hidden>
Sent: Friday, March 26, 2010 6:42 PM
Subject: Re: staff-space doesn't seem to work as documented
There's a difference between
#'1.5
and
#1.5}
This is a user error, not a documentation problem.
- Graham
On Fri, Mar 26, 2010 at 4:22 PM, Phil Holmes <address@hidden> wrote:
In the PDF documentation for 2.12.3 and the online documentation for
2.13.16
it gives the syntax for reducing staff spacing as:
\override StaffSymbol #'staff-space = #1.5
If I use this syntax, I get an error:
error: syntax error, unexpected '{'
\new Staff \with {\override StaffSymbol #'staff-space = #'1.5}
{ c'' c'' c''
c'' }
If I use a syntax with parentheses (guessed by trial and error):
\override StaffSymbol #'staff-space = #'( . 1.5)
I compiles and runs successfully.
Code snippets are available if required.
Is this a bug in the documentation?
--
Phil Holmes
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user