Re: \context for named Staff

2009-08-23 Thread Marc Hohl
Trevor Daniels schrieb: Marc Hohl wrote Saturday, August 22, 2009 7:30 PM Jay Anderson schrieb: [...] So what do you think? Should the "SmallStaff" just be left as a snippet? If it is a snippet ideally I'd want to do something like: \include "small_staff.lyi" \score { \new SmallStaff {.

Re: \context for named Staff

2009-08-23 Thread Trevor Daniels
Marc Hohl wrote Saturday, August 22, 2009 7:30 PM Jay Anderson schrieb: [...] So what do you think? Should the "SmallStaff" just be left as a snippet? If it is a snippet ideally I'd want to do something like: \include "small_staff.lyi" \score { \new SmallStaff {...} } How would one make

Re: \context for named Staff

2009-08-22 Thread Marc Hohl
Jay Anderson schrieb: [...] So what do you think? Should the "SmallStaff" just be left as a snippet? If it is a snippet ideally I'd want to do something like: \include "small_staff.lyi" \score { \new SmallStaff {...} } How would one make small_staff.lyi so this worked? This way it would be

Re: \context for named Staff

2009-08-10 Thread Mark Polesky
(sorry for the duplicate message, the first one bounced) My 2 cents... 1) The 1891 Breitkopf & Härtel edition of Brahms' Piano Trio Op.8 (1889 version) has the smaller staves exactly 2/3 the height of the larger staves. Click "Complete score": http://imslp.org/wiki/Piano_Trio_No.1,_Op

Re: \context for named Staff

2009-08-09 Thread Trevor Daniels
Kieren MacMillan Sunday, August 09, 2009 4:47 AM From my point of view the main use for smallStaff (or whatever it gets called) is for ossia staves. Except IIRC ossia staves and solo/cue staves are usually of different sizes, yes? In scores for a capella vocal music a piano accompaniment

Re: \context for named Staff

2009-08-08 Thread Kieren MacMillan
Hi Nick, From my point of view the main use for smallStaff (or whatever it gets called) is for ossia staves. Except IIRC ossia staves and solo/cue staves are usually of different sizes, yes? Cheers, Kieren. ___ lilypond-user mailing list lilyp

RE: \context for named Staff

2009-08-08 Thread Nick Payne
; Behalf Of Jay Anderson > Sent: Sunday, 9 August 2009 10:18 AM > To: Alexander Kobel; Dan Eble > Cc: lilypond-user@gnu.org; Jonathan Wilkes; lilypond-devel > Subject: Re: \context for named Staff > > On Sat, Aug 8, 2009 at 12:57 PM, Dan Eble wrote: > > Doesn't this mix up me

Re: \context for named Staff

2009-08-08 Thread Graham Percival
On Sat, Aug 08, 2009 at 05:18:12PM -0700, Jay Anderson wrote: > If it is a snippet ideally I'd want to do something like: > > \include "small_staff.lyi" BTW, the latest discussion was to use .ily > How would one make small_staff.lyi so this worked? This way it would > be bundled with the other g

Re: \context for named Staff

2009-08-08 Thread Jay Anderson
On Sat, Aug 8, 2009 at 12:57 PM, Dan Eble wrote: > Doesn't this mix up meaning and appearance? What will you do when people > come asking for LargeStaff, TinyStaff, LittleGreenStaff (for Martian music), > and so forth? On Sat, Aug 8, 2009 at 1:45 PM, Alexander Kobel wrote: > Oh, and by the way...

Re: \context for named Staff

2009-08-08 Thread Alexander Kobel
Kieren MacMillan wrote: Just a small point: has anyone confirmed that -3 is a "standard" magstep? Just my thought. I used some values between -2 and -3, depending on what fits for this very score and page size. In "The Essential Dictionary of Music Notation" (Gerou and Lusk) - well, admitte

Re: \context for named Staff

2009-08-08 Thread Kieren MacMillan
Hi Jay (et al.): Attached is a patch which adds "SmallStaff" to engraver-init.ly. Everywhere that \accepts "Staff" was used I just added \accepts "SmallStaff". Let me know if this looks good. Just a small point: has anyone confirmed that -3 is a "standard" magstep? 1. When looking at hand-en

Re: \context for named Staff

2009-08-08 Thread Jay Anderson
> Jay, Mark, anyone: are you interested in submitting a full patch, with > appropriate documentation, NEWS item etc? If so, we can officially > submit it for inclusion. Attached is a patch which adds "SmallStaff" to engraver-init.ly. Everywhere that \accepts "Staff" was used I just added \accepts

Re: \context for named Staff

2009-08-08 Thread Valentin Villenave
2009/8/8 Mark Polesky : > > Jay Anderson wrote: > >>     \context >>     { >>       \Staff >>       \type "Engraver_group" >>       \name "SmallStaff" >>       \alias "Staff" >> >>       fontSize = #-3 >>       \override StaffSymbol #'staff-space = #(magstep -3) >>     } > > I like it. Jay, Mark,

Re: \context for named Staff

2009-08-08 Thread Mark Polesky
Jay Anderson wrote: > \context > { > \Staff > \type "Engraver_group" > \name "SmallStaff" > \alias "Staff" > > fontSize = #-3 > \override StaffSymbol #'staff-space = #(magstep -3) > } I like it. - Mark _

Re: \context for named Staff

2009-08-08 Thread Jay Anderson
On Sat, Aug 8, 2009 at 8:01 AM, Mark Polesky wrote: > > Valentin Villenave wrote: > >> How about creating a FluteStaff context, and invoke it with >> \new FluteStaff >> instead of \with? > > I think "SmallStaff" is more accurate. > - Mark It would be nice if something like this were included in th

Re: \context for named Staff

2009-08-08 Thread Mark Polesky
Valentin Villenave wrote: > How about creating a FluteStaff context, and invoke it with > \new FluteStaff > instead of \with? I think "SmallStaff" is more accurate. - Mark ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gn

Re: \context for named Staff

2009-08-08 Thread Valentin Villenave
2009/8/7 Mark Polesky : > At the moment, this is the best I can come up with. > smallStaff = { >  #(define factor 3/4) >  \set Staff.fontSize = #(inverse-magstep factor) >  \override Staff.StaffSymbol #'staff-space = #factor > } How about creating a FluteStaff context, and invoke it with \new Flu

Re: \context for named Staff

2009-08-07 Thread Jonathan Wilkes
Thanks, Mark, I'll try this out and let you know how it works. -Jonathan --- On Fri, 8/7/09, Mark Polesky wrote: > From: Mark Polesky > Subject: Re: \context for named Staff > To: "Mark Polesky" , "Jonathan Wilkes" > , lilypond-user@gnu.org >

Re: \context for named Staff

2009-08-07 Thread Mark Polesky
Mark Polesky wrote: > #(define (inverse-magstep x) > (* 6 (/ (log x) (log 2 Just noticed the scheme procedure "magnification->font-size" already defined in font.scm... Use that and get rid of my "inverse-magstep". - Mark ___ lilypond

Re: \context for named Staff

2009-08-07 Thread Mark Polesky
Jonathan Wilkes wrote: > But I guess it's not possible to refer to a specific instance of > a Staff in the layout block (at least I couldn't find any > reference to doing this). Not that I know of, but I've always silently wished for this. I'll ask the developers. > If this is true, then how do

Re: \context for named Staff

2009-08-07 Thread Jonathan Wilkes
ed utilizing it so maybe I'm wrong. -Jonathan --- On Fri, 8/7/09, James E. Bailey wrote: > From: James E. Bailey > Subject: Re: \context for named Staff > To: "Jonathan Wilkes" > Cc: lilypond-user@gnu.org > Date: Friday, August 7, 2009, 9:40 PM > If it's j

Re: \context for named Staff

2009-08-07 Thread James E. Bailey
If it's just for the piano score, I would just make that change in the piano score \new Staff \with { resize }. Is there more than one score that needs this adjustment? On 07.08.2009, at 21:18, Jonathan Wilkes wrote: Hello again, I'm trying to resize one staff in a flute/piano duet,