[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Function to add a "-" before finger number
From: |
James Bailey |
Subject: |
Re: Function to add a "-" before finger number |
Date: |
Tue, 3 Aug 2010 17:41:09 +0200 |
Is that them em or en dash? On a macintosh, I would just type them directly,
either – or —, if you absolutely have to use the unicode, I would do it:
\version "2.12.3"
shiftTwo=\markup \finger "–2"
shiftThree = \markup \concat {\char ##x2012 3}
{ a4-\shiftTwo g-\shiftThree}
On Aug 3, 2010, at 3:58 PM, Antheo wrote:
>
>
> James Bailey-4 wrote:
>>
>> I realize it's not exactly what you want, but what about:
>> \version "2.12.3"
>> shiftTwo=\markup \finger "-2"
>> { c''4-\shiftTwo }
>>
>
> Yep not exactly but could be a workaround. I'd like to replace the short "-"
> by a middle one like with the character \char ##x2012. I tried this
> shiftIV=\markup \finger "\char ##x2012 4"
> but that printed the command and not the character.
>
> Any idea how to make the function more generic? I tried
>
>
> sf = #(define-music-function (parser location finger) ( integer? ) #{
> \mark \markup { \tiny \concat {\char ##x2012 $finger }}
> #})
>
> {c''4^\sf#3 d''4^\sf#4}
>
> but it failed.
>
>
> --
> View this message in context:
> http://old.nabble.com/Function-to-add-a-%22-%22-before-finger-number-tp29331036p29335731.html
> Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Function to add a "-" before finger number, Nick Payne, 2010/08/03
Re: Function to add a "-" before finger number, Neil Puttock, 2010/08/03