Re: Procedure for set-paper-size in \paper ?

2018-05-18 Thread Aaron Hill
On 2018-05-18 16:03, Thomas Morley wrote: 2018-05-19 0:36 GMT+02:00 Aaron Hill : On 2018-05-18 14:24, Thomas Morley wrote: #(define (proc bool x y) (if bool x y)) Your `proc` function does not have this behavior, as the arguments passed in will be evaluated

Re: Procedure for set-paper-size in \paper ?

2018-05-18 Thread Thomas Morley
2018-05-19 0:36 GMT+02:00 Aaron Hill : > On 2018-05-18 14:24, Thomas Morley wrote: >> #(define (proc bool x y) >> (if bool x y)) > Your `proc` function does not have this behavior, as the arguments passed in > will be evaluated before you get to the inner `if`. Hm,

Re: Procedure for set-paper-size in \paper ?

2018-05-18 Thread Aaron Hill
On 2018-05-18 14:24, Thomas Morley wrote: Hi all, (1) consider the following code (working as expected): \paper { #(if #t (set-paper-size "a8" 'landscape) #(set-paper-size "a8")) } \score { { R1 } \layout { ragged-right = ##f } } Switching from #t to #f results in different paper-size, as

Procedure for set-paper-size in \paper ?

2018-05-18 Thread Thomas Morley
Hi all, (1) consider the following code (working as expected): \paper { #(if #t (set-paper-size "a8" 'landscape) #(set-paper-size "a8")) } \score { { R1 } \layout { ragged-right = ##f } } Switching from #t to #f results in different paper-size, as desired. (2) But trying to put it in a

Re: Large Time Signatures Within Staves?

2018-05-18 Thread Lukas-Fabian Moser
When I increase the grob, how (or can?) I adjust it on the fly for certain pages if the distance between instruments change for layout reasons? Otherwise the grob would look 'off'. Something like that? \version "2.19.80" noTimeSig = { \omit TimeSignature } largeTimeSig = {  

Re: Vertical space above ossia

2018-05-18 Thread Walter Garcia-Fontes
* Mats Bengtsson, mats.bengts...@ee.kth.se [18/05/18 16:43]: > On 2018-05-18 09:43, Walter Garcia-Fontes wrote: > > Thanks Carl and Ben for your suggestions. Let me provide a summary so > > far, since the discussion was a little messy. So we start from the > > example provided for a single ossia,

Re: Solution to have repeats with upbeat and different alternatives??

2018-05-18 Thread steve
Thats it!! thanx - steve > On 2018-05-17 10:22, st...@linuxsuite.org wrote: >> I posted a piece of simplified code to illustrate. This is what >> the default does >> isnt 'it?? >> >> >> https://ln.sync.com/dl/2d42a9350/ukfaa7s8-rpenm7ne-xqxv7mpk-x99vbzbw >> >> [

Re: Re: Vertical space above ossia

2018-05-18 Thread Mats Bengtsson
On 2018-05-18 09:43, Walter Garcia-Fontes wrote: Thanks Carl and Ben for your suggestions. Let me provide a summary so far, since the discussion was a little messy. So we start from the example provided for a single ossia, with more code to have the score extend over multiple lines: ... So

Re: Tick lines for beats in bar

2018-05-18 Thread Andrew Bernard
Solved my own problem. I had not realised the setting of the Timing properties has to come after the time signature, not before. Sure had me stumped. Andrew \version "2.19.81" \new Staff { \time 10/8 \set Timing.measureLength = #(ly:make-moment 1/8) \set Timing.defaultBarType = "'"

Re: Large Time Signatures Within Staves?

2018-05-18 Thread Ben
On 5/18/2018 10:06 AM, Lukas-Fabian Moser wrote: Hi Ben, I need to create a wind ensemble engraving where the time signatures are large and *within* the staves themselves, overlapping specific instruments/groups throughout the score. I know how to place the time signatures above the staff

Re: Changing default \partcombine rest behaviour

2018-05-18 Thread Brent Annable
Just bumping this up, since nobody has replied yet. Brent. On 17 May 2018 at 19:50, Brent Annable wrote: > Hi all, > > I've just started using \partcombine, and have noticed that, by default, > it doesn't print a rest in one part that coincides with a note of the same >

Re: Large Time Signatures Within Staves?

2018-05-18 Thread Lukas-Fabian Moser
Hi Ben, I need to create a wind ensemble engraving where the time signatures are large and *within* the staves themselves, overlapping specific instruments/groups throughout the score. I know how to place the time signatures above the staff but I can't find a way to place them within the

Re: Large Time Signatures Within Staves

2018-05-18 Thread Kieren MacMillan
Hi Ben, Since (at least in the first example) the time signatures are centered on a staff, why not just increase the size of the TimeSignature grob, and then \omit (or \hide) it from other staves? Hope that helps! Kieren. Kieren MacMillan, composer ‣ website:

Re: Maintaining font-size regardless of staff-size

2018-05-18 Thread David Sumbler
On Fri, 2018-05-18 at 13:37 +0200, David Kastrup wrote: > David Sumbler writes: > > > > > %% > > \version "2.19.81" > > > > #(set-global-staff-size 20) > > \book { > >   \bookOutputName "test1" > >   \header { title = \markup \fontsize #10 "fontsize 10" } >

Re: Large Time Signatures Within Staves?

2018-05-18 Thread Ben
On 5/18/2018 7:41 AM, Andrew Bernard wrote: Hi Ben, How curious - isn't this solved by the thread I just created today on essentially the same topic? Shifting time signatures must be in the wind! Andrew On 18 May 2018 at 21:20, Ben

Re: Large Time Signatures Within Staves?

2018-05-18 Thread Andrew Bernard
Hi Ben, How curious - isn't this solved by the thread I just created today on essentially the same topic? Shifting time signatures must be in the wind! Andrew On 18 May 2018 at 21:20, Ben wrote: > > Does anyone know a snippet or function that allows this? Is it

Re: Maintaining font-size regardless of staff-size

2018-05-18 Thread David Kastrup
David Sumbler writes: > %% > \version "2.19.81" > > #(set-global-staff-size 20) > \book { >   \bookOutputName "test1" >   \header { title = \markup \fontsize #10 "fontsize 10" } >   { c''1 } > } > > #(set-global-staff-size 10) > \book { >   \bookOutputName

Re: Maintaining font-size regardless of staff-size

2018-05-18 Thread David Sumbler
On Thu, 2018-05-17 at 12:30 +0200, David Kastrup wrote: > David Sumbler writes: > > > > > On Wed, 2018-05-16 at 16:55 +0200, David Kastrup wrote: > > > > > > David Sumbler writes: > > > > > > > > > > > > > > > At the moment I define variables for

Large Time Signatures Within Staves?

2018-05-18 Thread Ben
Good morning, I need to create a wind ensemble engraving where the time signatures are large and *within* the staves themselves, overlapping specific instruments/groups throughout the score. I know how to place the time signatures above the staff but I can't find a way to place them within

Re: Displace position of time signature

2018-05-18 Thread Andrew Bernard
Hi Aaron, Both of these solutions are excellent and useful and exactly what I am after. Thanks! Manual fiddling of this stuff is fine by me for the New Complexity scores that I do, which need lots of coaxing into shape. Andrew ___ lilypond-user

Re: Broken Hairpin

2018-05-18 Thread foxfanfare
Thomas Morley-2 wrote > No idea why alterBroken's not working, too late here to investigate. > > Anyway, below may give you a starting point for a different coding: > > \override Hairpin.after-line-breaking = > #(lambda (grob) > (let* ((orig (ly:grob-original grob)) >

Re: Combining full bar rests with omitted grobs in between

2018-05-18 Thread David Kastrup
Thomas Morley writes: > 2018-05-18 10:12 GMT+02:00 Davide Liessi : >> Dear all, >> is there a way to combine the two full bar rests in one multimeasure >> rest in the following example? >> >> \version "2.19.81" >> \new Staff << >>

Re: Combining full bar rests with omitted grobs in between

2018-05-18 Thread bobr...@centrum.is
I’m responding from my phone so I can’t create an example, but you use tags. See the docs: http://lilypond.org/doc/v2.19/Documentation/notation/different-editions-from-one-source - Davide Liessi wrote: > Dear all, > is there a way to combine the two full bar

Re: Combining full bar rests with omitted grobs in between

2018-05-18 Thread Thomas Morley
2018-05-18 10:12 GMT+02:00 Davide Liessi : > Dear all, > is there a way to combine the two full bar rests in one multimeasure > rest in the following example? > > \version "2.19.81" > \new Staff << > \compressFullBarRests > { > s1 > \once \omit

Combining full bar rests with omitted grobs in between

2018-05-18 Thread Davide Liessi
Dear all, is there a way to combine the two full bar rests in one multimeasure rest in the following example? \version "2.19.81" \new Staff << \compressFullBarRests { s1 \once \omit Score.MetronomeMark \tempo "test" } { R1*2 } >> Use case: I have all tempo marks for the

Re: lyluatex: captions and page breaks

2018-05-18 Thread Federico Bruni
Il giorno gio 17 mag 2018 alle 9:00, Urs Liska ha scritto: Am 17.05.2018 um 08:54 schrieb Federico Bruni: Hi all As lyluatex does not support captions¹, so far I've used \header{piece="Caption"} in the lilypond snippet to display a title before the music

Re: Displace position of time signature

2018-05-18 Thread Aaron Hill
On 2018-05-17 19:05, Andrew Bernard wrote: Thank you very much. The next logical (or stupid?) question is, can one snug the notes under the time signature, as though it occupied no space? \version "2.19.81" { \override Staff.TimeSignature.Y-offset = #4 \override