Thank you. Works great!

On Fri, Feb 5, 2016 at 3:53 PM, Thomas Morley <[email protected]>
wrote:

> 2016-02-05 17:00 GMT+01:00 banjo bits <[email protected]>:
> > Thank you. That worked however the transparent clef is a little too
> wide. Is
> > there an easy way to make the transparent clef a little thinner?
> >
> >
> >
> > On Fri, Feb 5, 2016 at 8:43 AM, Federico Bruni <[email protected]>
> wrote:
> >>
> >> Il giorno ven 5 feb 2016 alle 14:08, banjo bits <[email protected]>
> ha
> >> scritto:
> >>>
> >>> When an arpeggio is the first thing on a line, it doesn't push over and
> >>> overwrites the first bar line. When the same arpeggio is in the middle
> of
> >>> the page it does push over and formats correctly.
> >>>
> >>> Is this a bug or am I doing something wrong here? Is there a work
> around?
> >>
> >>
> >> This happens because you removed the stencil of the clef.
> >> As a workaround, you may make the clef transparent in all TabStaff and
> >> force the stencil removal at the beginning:
> >>
> >> \version "2.19.22"
> >>
> >> \header { title = "Arpeggio Test" }
> >>
> >>
> >> MUSIC = {
> >>  \once\override TabStaff.Clef #'stencil = ##f
> >>  \arpeggioArrowUp <g b d'>2\arpeggio \arpeggioArrowUp <g b
> d'>2\arpeggio |
> >>  \arpeggioArrowUp <g b d'>2\arpeggio \arpeggioArrowUp <g b
> d'>2\arpeggio |
> >>  \arpeggioArrowUp <g b d'>2\arpeggio \arpeggioArrowUp <g b
> d'>2\arpeggio |
> >>  \arpeggioArrowUp <g b d'>2\arpeggio \arpeggioArrowUp <g b
> d'>2\arpeggio |
> >>  \arpeggioArrowUp <g b d'>2\arpeggio \arpeggioArrowUp <g b
> d'>2\arpeggio |
> >> }
> >>
> >> \score
> >> {
> >>  <<
> >>  %\new Staff \MUSIC
> >>  \new TabStaff \with { \omit StringNumber }
> >>  {
> >>    \tabFullNotation
> >>    \numericTimeSignature
> >>    \set TabStaff.tablatureFormat = #fret-number-tablature-format-banjo
> >>    \set TabStaff.stringTunings = #banjo-open-g-tuning
> >>
> >>    \set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
> >>    \override Score.SystemStartBar.collapse-height = #4
> >>    %\override TabStaff.Clef #'stencil = ##f
> >>    \override TabStaff.Clef #'transparent = ##t
> >>
> >>    \numericTimeSignature
> >>
> >>    \new TabVoice
> >>    {
> >>      \voiceOne
> >>      \stemDown
> >>      \MUSIC
> >>    }
> >>  }
> >>  >>
> >> }
>
>
> How about:
>
> \version "2.18.2"
>
> myLayout =
>   \layout {
>     \context {
>       \TabStaff
>       \tabFullNotation
>       \numericTimeSignature
>       tablatureFormat = #fret-number-tablature-format-banjo
>       stringTunings = #banjo-open-g-tuning
>       \override Clef.stencil = #point-stencil
>     }
>     \context {
>       \Score
>       proportionalNotationDuration = #(ly:make-moment 1/16)
>       \override SystemStartBar.collapse-height = #4
>       \override Clef.space-alist.time-signature = #'(minimum-space . 0)
>       \override Clef.space-alist.first-note = #'(minimum-space . 3.0)
>       \override LeftEdge.space-alist.clef = #'(minimum-space . 0.5)
>     }
>   }
>
> MUSIC = \repeat unfold 10 { \arpeggioArrowUp <g b d'>2\arpeggio }
>
> \score {
>   \new TabVoice { \stemDown \MUSIC }
>   \layout { \myLayout }
> }
>
> Cheers,
>   Harm
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to