[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: first bar width
From: |
Federico Bruni |
Subject: |
Re: first bar width |
Date: |
Tue, 08 Dec 2009 09:32:34 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090706) |
Neil Puttock wrote:
> 2009/12/7 Federico Bruni <address@hidden>:
>> I'm writing a blank sheet to be used for hand writing (see attached file).
>> The problem is that the first bar of each line is too large compared
>> with the other bars. I guess this is due to a default padding value of
>> some property.. I don't know which..
>
> It's due to a bug introduced before 2.13.4:
>
> http://code.google.com/p/lilypond/issues/detail?id=917
>
> You'll probably have to use hidden notes as a workaround (i.e.,
> \hideNotes in the Staff and \override TabNoteHead #'transparent =
> ##t).
>
Yes, that's the reason.
I wrote two versions (attached), one for 2.12 and one for 2.13.
2.12 version works better. 2.13 version now has a very slightly
smaller first bar for each line, but it's a minor detail.
I'm satisfied :-)
Regards,
Federico
--
http://gnurag.net/blog/
http://fsfe.org/
http://groups.fsf.org/wiki/LibrePlanetItalia
\version "2.13"
\paper {
indent= 0
tagline= ##f
top-system-spacing = #'((space . 10))
between-system-spacing = #'((space . 13))
}
hideFretNumber = { \once \override TabNoteHead #'transparent = ##t
\once \override NoteHead #'transparent = ##t
\once \override Stem #'transparent = ##t
\once \override NoteHead #'no-ledgers = ##t
}
sheet= {
\repeat unfold 7 { \hideFretNumber c1*3 \break }
}
\new StaffGroup <<
\new Staff \with { \remove "Time_signature_engraver" } { \clef "G_8" \sheet }
\new TabStaff { \clef "moderntab" \sheet }
>>
\version "2.12"
\paper {
indent= 0
tagline= ##f
top-margin= 10\mm
between-system-padding = 8\mm
}
sheet= {
\repeat unfold 7 { s1*3 \break }
}
\new StaffGroup <<
\new Staff \with { \remove "Time_signature_engraver" }
{ \clef "G_8" \sheet }
\new TabStaff \with { \remove "Time_signature_engraver" } %% redundant since
2.13.4
{ \sheet }
>>