lilypond-user
[Top][All Lists]
Advanced

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

Re: inconsistent bar number placement


From: Jeffery Shivers
Subject: Re: inconsistent bar number placement
Date: Fri, 17 Mar 2017 19:49:58 -0400

On Fri, Mar 17, 2017 at 7:16 PM, Juan Cristóbal Cerrillo
<address@hidden> wrote:
> Thank you Jeffery.
>
> If I change the TimeSignature.break-align-symbol override to #’staff-bar and 
> get rid of the after-line-breaking override, bar number placement is 
> consistent, but is too high.
>
> Is there a way of specifying that the bar number should be placed just above 
> the StaffGroup bracket other that doing a score override for 
> BarNumber.Y-offset ?
>

If I understand, does making the following two changes do what you want?

1) remove bar numbers from the score:
  \context {\Score
            \accepts TimeSig
            tupletFullLength = ##t
            \remove "Bar_number_engraver"
  }

2) include the bar number engraver only with the staff you want:
\score {
  \new StaffGroup
  <<
    \new TimeSig
    \new Staff \with {
      \consists "Bar_number_engraver"
    }
    \music
    \new Staff \music
  >>
}

Best,
Jeffery

> Many thanks for your insight!
>
> jc
>
>
>
>
> \version "2.18.2"
>
> \paper {
>   ragged-bottom = ##t
>   ragged-right = ##t
> }
>
> \layout {
>   \context {\type "Engraver_group"
>             \consists "Time_signature_engraver"
>             \consists "Axis_group_engraver"
>             \name "TimeSig"
>             \alias "Staff"
>             \override TimeSignature.style = #'numbered
>             \override TimeSignature.font-size = #6
>             \override TimeSignature.break-align-symbol = #'staff-bar
>             \override TimeSignature.X-offset =
>             #ly:self-alignment-interface::x-aligned-on-self
>             \override TimeSignature.self-alignment-X = #CENTER
>   }
>   \context {\Score
>             \accepts TimeSig
>             tupletFullLength = ##t
>   }
>   \context {\StaffGroup
>             \accepts TimeSig
>   }
>   \context {\Staff
>             \remove "Time_signature_engraver"
>             tupletFullLength = ##t
>   }
> }
>
> music = \relative c''
> {
>   \tupletUp
>   \repeat unfold 5 {
>     \time 4/4
>       c2 c
>     \pageBreak
>     \time 3/4
>       c4 c c
>     \break
>   }
> }
>
> \score {
>   \new StaffGroup
>   <<
>     \new TimeSig
>     \new Staff \music
>     \new Staff \music
>   >>
> }
>
>
>
> How could I get rid of the staff space under the time signatures
>
>> On Mar 17, 2017, at 4:32 PM, Jeffery Shivers <address@hidden> wrote:
>>
>> On Fri, Mar 17, 2017 at 5:59 PM, Malte Meyn <address@hidden> wrote:
>>>
>>>
>>> Am 17.03.2017 um 22:54 schrieb Juan Cristóbal Cerrillo:
>>>> Yes, my version is 2.18.2
>>>> This is what the top of page 3 looks like with ragged-right and
>>>> ragged-bottom ##t
>>>
>>> The code you posted doesn’t contain these settings.
>>>
>>>> Are you not seeing the same?
>>>
>>> No, even if I add
>>>
>>> \paper {
>>>  ragged-right = ##t
>>>  ragged-bottom = ##t
>>> }
>>>
>>> to your code there’s no problem. You should provide code that actually
>>> produces the output you describe, else it’ll be difficult to help ;)
>>
>> I *do* get the output they describe.
>>
>> It looks like it is caused by:
>>
>>  \override TimeSignature.after-line-breaking = #shift-right-at-line-begin
>>
>>>
>>> _______________________________________________
>>> lilypond-user mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>>
>> --
>>
>> Jeffery Shivers
>> jefferyshivers.com
>> soundcloud.com/jefferyshivers
>



-- 

Jeffery Shivers
 jefferyshivers.com
 soundcloud.com/jefferyshivers



reply via email to

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