Hi Kieren,

I'm not sure you'll like it since it is no incantation but a workaround.
Though it's well centered, so here it goes:

shortTSmusic = {
  \tweak layer #-1
  \tweak stencil
      #(lambda (grob)
         (grob-interpret-markup grob
           #{
               \markup
               \center-column {
                 \with-color #white
                 \number "12345"
                 \vspace #-1
                 \musicglyph #"timesig.C44"
               }
           #}))
  \time 4/4 g'4
}

Cheers,
Pierre

2015-04-11 20:46 GMT+02:00 Kieren MacMillan <kieren_macmil...@sympatico.ca>:

> Hi all,
>
> In the snippet included below, I’d like to have the two time signatures
> center-aligned, but haven’t found the correct incantation.
> (Gould has nothing specific to say about this situation, but her
> polymetric time signatures *appear* to be centre-aligned, and not
> left-aligned like Lily’s default.)
> Any help would be appreciated.
>
> Thanks,
> Kieren.
> ________________________
>
> \version "2.19.18"
>
> \layout {
>   \context {
>     \Score
>     \remove "Timing_translator"
>     \remove "Default_bar_line_engraver"
>   }
>   \context {
>     \Staff
>     \consists "Timing_translator"
>     \consists "Default_bar_line_engraver"
>   }
> }
>
> shortTSmusic = {
>   \time 4/4 g'4
> }
>
> longTSmusic = {
>   \time 12345/4 g'4
> }
>
> \score {
>   <<
>     \new Staff \shortTSmusic
>     \new Staff \longTSmusic
>   >>
> }
> _______________________
>
> Kieren MacMillan, composer
> www:  <http://www.kierenmacmillan.info>
> email:  i...@kierenmacmillan.info
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to