[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: # or not before a value
From: |
Mats Bengtsson |
Subject: |
Re: # or not before a value |
Date: |
Tue, 28 Nov 2006 10:50:00 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (X11/20060909) |
In most situations, the hash sign is optional but can be added without
chaning anythin. Unfortunately, the manual is a bit inconsequent,
for historical reasons. The hash sign indicates that the value should
be interpreted as within the Scheme language, but as I said, this is
normally done anyway.
In your specific examples, though, it seems that you cannot add a
hash sign in the first case (since the construct "2.0\cm" is specific
to LilyPond) and you cannot remove it in the second case (probably
since "-1" is used to add a fingering in constructs like "c-1"). However,
it does work to say \set fontSize = 2, so unfortunately there is no
simple rule,
except that if it doesn't work without the hash sign you should always
try to
add one, and vice versa.
/Mats
Christophe Dang Ngoc Chan wrote:
Hello
some variables are set with just the value after the equal sign, and some
require tu put a hash "#" before, e.g.
indent = 2.0\cm
but
\set fontSize = #-2
I'd like to know what is the general rule.
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================