lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TabStaff arpeggio problem when first thing on line


From: Thomas Morley
Subject: Re: TabStaff arpeggio problem when first thing on line
Date: Fri, 5 Feb 2016 21:53:39 +0100

2016-02-05 17:00 GMT+01:00 banjo bits <address@hidden>:
> 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 <address@hidden> wrote:
>>
>> Il giorno ven 5 feb 2016 alle 14:08, banjo bits <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]