-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Freitag, 23. Januar 2009 21:29:40 schrieb Martin Tarenskeen:
> Hi,
>
> Just wondering. What's the difference between
>
>       \set Staff.instrumentName = #"Violin I "
>
> and
>
>       \set Staff.instrumentName = "Violin I "
>
> since both seem to work in my little experiments.

There is no fundamental difference. The # simply indicates that the following 
expression is a Scheme (the programming language that is used to tweak 
LilyPond) expression. For strings the parser treats them similar with and 
without the #. However, other expressions like numbers need the # in front of 
them, otherwise you'll get errors.
For this reason, our docs use the # also for strings, and everyone is advised 
to do the same for reasons of consistency. As you noticed, it is not strictly 
required, but still a good idea.

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJeiuLTqjEwhXvPN0RAjoAAJ4jfEKrzYw8alhx5qhDd+BZydWW3wCeOKhN
SUlN469JwlojixaUiJFUWok=
=RI9S
-----END PGP SIGNATURE-----


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to