Re: Bar line at beginning of piece

2022-11-20 Thread Jean Abou Samra
Le 20/11/2022 à 16:11, Lukas-Fabian Moser a écrit : Thank you very much - this works from 2.23.8 on, I assume because of Dan's additions. Great! There have been so many changes to bar lines that I have stopped tracking which happened in which version :-) I still have to read up on the bar

Re: Bar line at beginning of piece

2022-11-20 Thread Lukas-Fabian Moser
Hi Jean, Hm. \version "2.23.81" {   \once \set Timing.measureStartNow = ##t   \once \set Timing.measureBarType = "|-s"   c'1   \break   c'1 } Thank you very much - this works from 2.23.8 on, I assume because of Dan's additions. Great! I still have to read up on the bar type definition co

Re: Bar line at beginning of piece

2022-11-20 Thread Jean Abou Samra
Le 20/11/2022 à 14:51, Lukas-Fabian Moser a écrit : Hi, is there an "idiomatic" way of forcing LilyPond to print a bar line "|" at the beginning of the piece other than doing the hack of adding \grace s1 \bar "|" before the music? [...] Hm. \version "2.23.81" {   \once \set Timing.mea

Bar line at beginning of piece

2022-11-20 Thread Lukas-Fabian Moser
Hi, is there an "idiomatic" way of forcing LilyPond to print a bar line "|" at the beginning of the piece other than doing the hack of adding \grace s1 \bar "|" before the music? My problem is that I need to do this programmatically with a large number of short scores. If any of those start

Re: Bar line at beginning of piece

2011-01-31 Thread ornello
>> \new PianoStaff << \new Staff << \time 4/4 \new Voice { c''4 } >> \new Staff << \clef bass \time 4/4 \new Voice { c4 } >> >> >> } Robin Bannister wrote: > > You can make LSR 500 work by adding: >> \once \override

Re: Bar line at beginning of piece

2011-01-28 Thread Robin Bannister
ornello wrote: My solution is not working because it affects all line breaks (not just the beginning of the piece Having to affect all line breaks was what made was-empty.ly so cumbersome. You can make LSR 500 work by adding: \once \override Staff.BarLine #'glyph-name = "||" Cheer

Re: Bar line at beginning of piece

2011-01-28 Thread ornello
ion). > > I have now found another solution following an idea described here: > http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00908.html > -- View this message in context: http://old.nabble.com/Bar-line-at-beginning-of-piec

Re: Bar line at beginning of piece

2011-01-28 Thread ornello
(my-calc-glyph-name grob) (let* ( (glyph (ly:grob-property grob 'glyph)) (dir (ly:item-break-dir grob)) (result (assoc glyph my-bar-glyph-alist)) (glyph-name (if (= dir CENTER) glyph (if (and result (string? (index-cell (cdr result

RE: Bar line at beginning of piece

2011-01-28 Thread James Lowe
Hello > -Original Message- > From: lilypond-user-bounces+james.lowe=datacore@gnu.org > [mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On > Behalf Of Wilbert Berendsen > Sent: 28 January 2011 14:27 > To: lilypond-user@gnu.org > Subject: Re: Bar

Re: Bar line at beginning of piece

2011-01-28 Thread Wilbert Berendsen
Op vrijdag 28 januari 2011 schreef ornello: > Is there any chance to start a piece with a "||" bar line? See: http://lsr.dsi.unimi.it/LSR/Item?id=500 best regards, Wilbert Berendsen -- Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/ Nederlands LilyPond forum: http://www.lilyp

Re: Bar line at beginning of piece

2011-01-28 Thread Graham Percival
On Fri, Jan 28, 2011 at 05:07:58AM -0800, ornello wrote: > \version "2.12.2" > { > \time 4/4 > \grace s > \bar "||" > c''4 > } > > but this is not working for multiple staves. I suggest \partial 64 s64 \bar "||" and I'm pretty certain it'll work if you put it in all staves. Cheers, - Graham

Bar line at beginning of piece

2011-01-28 Thread ornello
2.2" { \time 4/4 \grace s \bar "||" c''4 } but this is not working for multiple staves. Any ideas how to avoid the removal of the "||" bar line? -- View this message in context: http://old.nabble.com/Bar-line-at-beginning-of-piece-tp307