[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: unicode fractions for barre indications
From:       Federico Bruni <fedelogy () gmail ! com>
Date:       2012-12-24 14:08:59
Message-ID: 50D861FB.70503 () gmail ! com
[Download RAW message or body]

Il 24/12/2012 09:43, David Kastrup ha scritto:
> Federico Bruni<fedelogy@gmail.com>  writes:
>
>>> Thinking twice... I prefer using \startTextSpan and \stopTextSpan.
>>> Using \barreX {} is handy but when the barré spans for many notes which
>>> have some other construct (like \repeat) the input is not that clear.
>>>
>>> But I still want to use minimumFret for tablature. So I would use:
>>>
>>> barre = #(define-music-function (parser location fretnum partial)
>>> (number? number?)
>>> #{
>>> \set minimumFret = $fretnum
>>> \set restrainOpenStrings = ##t
>>> \once \override TextSpanner.bound-details.left.text =
>>> \markup\small\bold\concat { #(format #f "~@r" fretnum)
>>> \raise #0.8 \sub #(number->string partial) }
>>> \once \override TextSpanner.style = #'line
>>> \once \override TextSpanner.font-shape = #'upright
>>> \once\override TextSpanner.bound-details.right.text = \markup {
>>> \draw-line #'(0 . -1) }
>>> \once\override TextSpanner.bound-details.left.stencil-align-dir-y = #0.35
>>> \once\override TextSpanner.bound-details.left.padding = #-0.25
>>> \once\override TextSpanner.bound-details.right.padding = #-1
>>> \once\override TextSpanner.bound-details.right-broken.padding = #0.5
>>> \once\override TextSpanner.bound-details.left-broken.padding = #2
>>> \once\override TextSpanner.bound-details.left-broken.text = ##f
>>> \once\override TextSpanner.bound-details.right-broken.text = ##f
>>> \unset minimumFret
>>> \unset restrainOpenStrings
>>> #})
>>
>> minimumFret doesn't work here.
>
> Possibly TabStaff.minimumFret to avoid opening a non-tab Staff?
>

No, it doesn't work either.
Also, as I wrote in another thread this morning, I don't want to use 
TabStaff or Staff for minimumFret, otherwise partial barré in polyphonic 
music won't work.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic