[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GrandStaff vertical distance
From: |
David Kastrup |
Subject: |
Re: GrandStaff vertical distance |
Date: |
Thu, 11 Oct 2018 17:57:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Lukas-Fabian Moser <address@hidden> writes:
> Hi David,
>
>>> Here is an implementation of that. Unfortunately I do not know if/how
>>> it is possible to define the function (which issues a \set) in such a
>>> way that it might be called in a \with block, which would be neater
>>> imho.
>> Have you tried just calling it in a \with block? Stuff like \set is
>> automatically converted into context modification there. Of course, you
>> can also define a scheme function _returning_ a \with block and use
>> that, but that has the disadvantage of not working as music as well.
>>
> Amazing!
>
> \new Staff \with {
> \set ...
> }
>
> throws an error, but a music function which issues \set ... is
> accepted. Wonderful, I would not have dreamed of it. So my example
> just becomes:
>
> \new StaffGroup \with {
> \setBraces #'((brace . 2) (noBrace . 2) (brace . 3))
> } <<
> ...
>>>
>
> Do I understand it correctly that while a music function can't return
> a \with block, a scheme function can?
Yes.
--
David Kastrup
- Re: GrandStaff vertical distance, (continued)
- Re: GrandStaff vertical distance, Lukas-Fabian Moser, 2018/10/11
- Re: GrandStaff vertical distance, Lukas-Fabian Moser, 2018/10/11
- Re: GrandStaff vertical distance, David Kastrup, 2018/10/11
- Re: GrandStaff vertical distance, Lukas-Fabian Moser, 2018/10/11
- Re: GrandStaff vertical distance,
David Kastrup <=
- Re: GrandStaff vertical distance, David Kastrup, 2018/10/11
- Re: GrandStaff vertical distance, foxfanfare, 2018/10/11
- Re: GrandStaff vertical distance, Lukas-Fabian Moser, 2018/10/11
- Re: GrandStaff vertical distance, foxfanfare, 2018/10/12
- Re: GrandStaff vertical distance, Lukas-Fabian Moser, 2018/10/12
- Re: GrandStaff vertical distance, Aaron Hill, 2018/10/12
- Re: GrandStaff vertical distance, foxfanfare, 2018/10/13
- Re: GrandStaff vertical distance, Lukas-Fabian Moser, 2018/10/13
- Re: GrandStaff vertical distance, foxfanfare, 2018/10/13
- Re: GrandStaff vertical distance, Thomas Morley, 2018/10/14