Two time signatures

2017-06-26 Thread sailfox
Hi,

I would like to create a time signature with alla breve followed by a
single digit signature as shown in the attachment.

If setting two time signatures only the last one is taken. So I have to
add a hidden note between them which generates a big space.

Is there a more direct method to get the same result and is it possible
to reduce the space between the two signatures?


\version "2.19.61"

\new score \relative c'' {
  \time 2/2
  s8
  \set Timing.measurePosition = #(ly:make-moment 0)
  \once \override Staff.TimeSignature.style = #'single-digit
  \time 6/1
  \set Staff.timeSignatureFraction = 3/1
  \repeat unfold 12 c1
}


Regards,
sailfox
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Two time signatures

2017-06-26 Thread sailfox

Thank you Michael! I was not aware of the Lilypond snippet repository. I
changed the examples to

\version "2.19.61"

#(define ((double-time glyph a) grob)
   (grob-interpret-markup grob
 (markup #:override '(baseline-skip . 0) #:number
   (#:line ((markup (#:fontsize 0 #:musicglyph glyph))
   #:vcenter a )

\new score \relative c'' {
  \override Score.TimeSignature.stencil =
#(double-time "timesig.C22" "3")
  \time 6/1
  \repeat unfold 12 c1
}

and it works like expected.

Regards,
sailfox


On 26.06.2017 12:45, Michael Gerdau wrote:
> Hi sailfox,
>
>> I would like to create a time signature with alla breve followed by a
>
> maybe http://lsr.di.unimi.it/LSR/Item?id=725 or 
> http://lsr.di.unimi.it/LSR/Item?id=782 will give you a starting point?
>
> Kind regards,
>
> Michael
>
>
>
> ___
> 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


accidentalStyle modern

2016-10-12 Thread sailfox
Hi all,

the following remark is written in the lilypond docu for accidentalStyle modern:
"after temporary accidentals, cancellation marks are printed also in the 
following measure".
Is it possible to change the number of following measures where cancellation 
marks are written to more than one?

Thanks for any help,
Markus

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: accidentalStyle modern

2016-10-17 Thread sailfox
Thank you very much for your hint! I will try to change laziness variable.

Markus

> David Wright  hat am 15. Oktober 2016 um 05:29 
> geschrieben:
> 
> 
> On Fri 14 Oct 2016 at 06:32:11 (+0200), Pierre Perol-Schneider wrote:
> > e.g. :
> > http://lilypond.1069038.n5.nabble.com/Custom-accidental-styles-td190776.html
> > 
> > 2016-10-13 23:51 GMT+02:00 Simon Albrecht :
> > 
> > > On 12.10.2016 18:49, sail...@mailbox.org wrote:
> > >>
> > >> the following remark is written in the lilypond docu for accidentalStyle
> > >> modern:
> > >> "after temporary accidentals, cancellation marks are printed also in the
> > >> following measure".
> > >> Is it possible to change the number of following measures where
> > >> cancellation marks are written to more than one?
> > >>
> > >
> > > I’m afraid there is no easy solution; you’d have to create a custom
> > > accidental style, and even by that would be unusually difficult to achieve
> > > what you want, IIRC. You should be able to find an example of custom
> > > accidental style on the archives to this list.
> 
> Looking at, eg,
> lilypond-2.19.44-1/lilypond/usr/share/lilypond/current/scm/music-functions.scm
> I read:
> 
> "The @var{laziness} is the number of measures
> for which reminder accidentals are used (i.e., if @var{laziness} is zero,
> only cancel accidentals in the same measure; if @var{laziness} is three,
> we cancel accidentals up to three measures after they first appear."
> 
> which seems to imply that setting laziness > 1 will do what the OP
> wants and is all that's required.
> 
> I have no idea how one would do this nor where laziness gets its
> default value from.
> 
> Cheers,
> David.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user