Can I use a boolean as an argument?

The solution I got is this. I would need a Boolean, but the manual says I
can't use it.


d'4^\markup \override #'(baseline-skip . 1.5) { \halign #1
                  \natural " "
  \column {   \draw-circle #0.5 #0.1 ##f
     \draw-circle #0.5 #0.1 ##t
     \draw-circle #0.5 #0.1 ##f
     \draw-circle #0.5 #0.1 ##t
     \draw-circle #0.5 #0.1 ##f
     \draw-circle #0.5 #0.1 ##f
\override #'(font-size . -2) " D#"
}
}



On 11 April 2010 20:03, Bernardo Barros <[email protected]> wrote:

> Thanks Nick,now it works with circles. I'll try to do a fuction with it.
>
>
> On 11 April 2010 19:31, Nick Payne <[email protected]> wrote:
>
>>  See the documentation:
>> http://lilypond.org/doc/v2.13/Documentation/notation/using-music-functions#Using-music-functions,
>> and search the LSR: http://lsr.dsi.unimi.it/.
>>
>>
>> On 12/04/10 08:08, Bernardo Barros wrote:
>>
>>
>>  How could I do a function in Lilypond? Do you have an example?
>>
>>  I get here one box for each number. Is it possible to have to
>> rectangular boxes, each one for one hand, 3+3 ?
>>
>>  something like this.
>>
>>  g'^\markup \column {  "D#" \box {"3" " " "1"} \box {"3" "2" "1"} "C#" }
>>
>> I don't know how to align the letters either.
>>
>>
>> On 11 April 2010 18:44, Nick Payne <[email protected]> wrote:
>>
>>> Try \column:
>>>
>>> ^\markup \column { \override #'(font-size . -2) "D#" \box { \finger "31"
>>> } \box \finger "21" \override #'(font-size . -2) "C#" }
>>>
>>> Needs some tweaking of the vertical spacing etc. For anything more than
>>> once-off use you'd want to wrap it up in a music function to minimise the
>>> amount of markup cluttering your score source.
>>>
>>> Nick
>>>
>>>
>>> On 11/04/10 23:33, Bernardo Barros wrote:
>>>
>>>> Thanks a lot to all,
>>>>
>>>> Yes Nick, this is closed to the idea. The other keys could be written
>>>> with letters.
>>>>
>>>> ^\markup { \override #'(font-size . -2) "D#  "   \box  \finger "3 1| 21"
>>>> \override #'(font-size . -2) "C#" }
>>>>
>>>> BUT... is it possible to make it VERTICAL instead of horizontal text??
>>>>
>>>
>>>
>>
>>
>
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to