[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: passing music symbols to define-music-function
From: |
Han-Wen Nienhuys |
Subject: |
Re: passing music symbols to define-music-function |
Date: |
Sun, 03 Dec 2006 16:15:18 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061107) |
Orm Finnendahl escreveu:
> Hi,
>
> how is it possible to write music functions which use symbols as
> parameters which get interpreted as pitch entities by the function?
>
> I made three examples below to illustrate the problem. The third works
> but is less than ideal in the lilypond source as the main purpose of
> the definition is to get rid of the \parenthesize and the enclosing
> chord brackets.
>
> --
> Orm
>
> P.S.: Can anybody point me to reference on how to enlarge the
> parenthesis or how to turn them into square brackets? I'm quite
> comfortable writing scheme code and don't mind to delve into the
> depths of lilypond as long as I get a hint on where to start and what
> to change where.
The parenthesis code is in output-lib.scm ; Check define-grobs.scm
(ParenthesesItem)
to see how it is wired into LilyPond ; I would expect that setting font-size on
that
grob will change the size.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com