Re: printing bar numbers on every odd measure

2010-09-24 Thread Alexander Kobel
On 2010-09-24 13:56, eluze wrote: Am 23.09.2010, 16:52 Uhr, schrieb Phil Holmes : Snippets need to be marked approved before they are visible. I can do this, so if you want one checking and approving, please ask here. yes, please - is it usual to mention the author? if yes, then Alexander Kobe

Re: printing bar numbers on every odd measure

2010-09-24 Thread eluze
Am 23.09.2010, 16:52 Uhr, schrieb Phil Holmes : - Original Message - From: "-Eluze" i have modified it now - i have no idea how long it takes to be "officialy" reachable, but in case you can look for ⌂ printing odd bar numbers only or http://lsr.dsi.unimi.it/LSR/Item?u=1&id=712

Re: printing bar numbers on every odd measure

2010-09-23 Thread Phil Holmes
- Original Message - From: "-Eluze" i have modified it now - i have no idea how long it takes to be "officialy" reachable, but in case you can look for ⌂ printing odd bar numbers only or http://lsr.dsi.unimi.it/LSR/Item?u=1&id=712 http://lsr.dsi.unimi.it/LSR/Item?u=1&id=712 It's now vi

Re: printing bar numbers on every odd measure

2010-09-22 Thread Lia Zito
Whoops! Sorry for the double post. I hit the wrong button - Lia On Sep 21, 2010, at 10:08 AM, Lia Zito wrote: > Hello, > > I'm trying to get bar numbers to print on every odd measure: 1,3,5 etc. > > The \set Score.barNumberVisibility = > #(first-and-every-nth-bar-number-visible 2) comman

Re: printing bar numbers on every odd measure

2010-09-22 Thread -Eluze
Alexander Kobel wrote: > >> now - will you modify the snippet or shall i try to do that? > > Well, I don't think I actually found your snippet; IIRC, the two I > quoted have been there for a longer time now. (I think LSR needs a > while to update the search index.) So, if you've already wri

Re: printing bar numbers on every odd measure

2010-09-22 Thread Alexander Kobel
On 2010-09-22 12:45, -Eluze wrote: indeed - much nicer! so you can put nearly everything in the layout block and keep the music part "clean" except for the \bar "" in the beginning - and to suppress the first bar number, just omit the \bar "" ! [...] Ah, clever - shame on me, I didn't know ri

Re: printing bar numbers on every odd measure

2010-09-22 Thread -Eluze
indeed - much nicer! so you can put nearly everything in the layout block and keep the music part "clean" except for the \bar "" in the beginning - and to suppress the first bar number, just omit the \bar "" ! the code then could be: \layout { \context { \Score barNumberVisibility =

Re: printing bar numbers on every odd measure

2010-09-22 Thread Alexander Kobel
On 2010-09-22 12:06, Alexander Kobel wrote: On 2010-09-22 11:47, -Eluze wrote: On Tue, Sep 21, 2010 at 01:31:00PM -0700, -Eluze wrote: there is also this (quite hidden& undocumented, but working!): \override Score.BarNumber #'break-visibility = #end-of-line-invisible \set Score.barNumberVisibi

Re: printing bar numbers on every odd measure

2010-09-22 Thread Alexander Kobel
On 2010-09-22 11:47, -Eluze wrote: On Tue, Sep 21, 2010 at 01:31:00PM -0700, -Eluze wrote: there is also this (quite hidden& undocumented, but working!): \override Score.BarNumber #'break-visibility = #end-of-line-invisible \set Score.barNumberVisibility = #(modulo-bar-number-visible 2 1

Re: printing bar numbers on every odd measure

2010-09-22 Thread -Eluze
Graham Percival-3 wrote: > > On Tue, Sep 21, 2010 at 01:31:00PM -0700, -Eluze wrote: >> >> there is also this (quite hidden & undocumented, but working!): >> >> \override Score.BarNumber #'break-visibility = #end-of-line-invisible >> \set Score.barNumberVisibility = #(modulo-bar-number-vi

Re: printing bar numbers on every odd measure

2010-09-21 Thread Lia Zito
Wow! It works! Thank you so much! I had to put it with the music ( \relative c'' { \set Score. etc) , not in my \layout \context { \Score \set barNumberVisibility etc. block, for some reason, but I don't care - it works. :-D Lia On Sep 21, 2010, at 12:31 PM, -Eluze wrote: > > there is al

Re: printing bar numbers on every odd measure

2010-09-21 Thread Graham Percival
On Tue, Sep 21, 2010 at 01:31:00PM -0700, -Eluze wrote: > > there is also this (quite hidden & undocumented, but working!): > > \override Score.BarNumber #'break-visibility = #end-of-line-invisible > \set Score.barNumberVisibility = #(modulo-bar-number-visible 2 1 ) Please add it to LSR. Ch

Re: printing bar numbers on every odd measure

2010-09-21 Thread -Eluze
there is also this (quite hidden & undocumented, but working!): \override Score.BarNumber #'break-visibility = #end-of-line-invisible \set Score.barNumberVisibility = #(modulo-bar-number-visible 2 1 ) cheers! Lia Zito wrote: > > Hello, > > I'm trying to get bar numbers to print on every