You might want to add the following line to your score: \set Score.timing = ##f
This will remove the automatic creation of barlines. You can add barlines manually using \bar "|". But it will also change the behavour of the use of accidentals. Therefor you might want to add the following code before your score: increaseBarNumber = \applyContext #(lambda (x) (let ((measurepos (ly:context-property x 'measurePosition))) ; Only increase bar number if not at start of measure. ; This way we ensure that you won't increase bar number twice ; if two parallel voices call increaseBarNumber simultanously: (if (< 0 (ly:moment-main-numerator measurepos)) ; ugh. ignore grace part (begin (ly:context-set-property! (ly:context-property-where-defined x 'internalBarNumber) 'internalBarNumber (1+ (ly:context-property x 'internalBarNumber))) (ly:context-set-property! (ly:context-property-where-defined x 'currentBarNumber) 'currentBarNumber (1+ (ly:context-property x 'currentBarNumber))) ; set main part of measurepos to zero, leave grace part as it is: (ly:context-set-property! (ly:context-property-where-defined x 'measurePosition) 'measurePosition (ly:make-moment 0 1 (ly:moment-grace-numerator measurepos) (ly:moment-grace-denominator measurepos))))))) % Named Increasing BAR nibar = #(define-music-function (parser location x) (string?) #{ \bar $x \increaseBarNumber #}) % Increasing BAR ibar = \nibar "|" with the command \nibar you can place every possible barline you like \ibar is a shortcut for \nibar "|" Op Thursday 29 July 2010 23:32:45 Urs Liska schreef: > If you try solution 3. you won't be able to show individual barlines > anymore. > So you probably will want to try 2. > > Best > Urs > > Am 29.07.2010 23:29, schrieb Éditions IN NOMINE: > > Well several issues : > > > > 1. \cadenzaOn, and you place the barlines where you want. But you'll > > have to force the breaks too (don't do it, and your staff will jump > > out of your page on the right !) > > 2. use \override BarLine #'transparent = ##t or ##f when you want > > 3. in the layout block, you can remove the Barline engraver like this : > > \layout{ > > \context { > > \Score > > \override BarLine #'transparent = ##t > > } > > } > > Hope that helps you ! > > > > JMarc > > > > TheOldFellow a écrit : > >> Hi, > >> Sorry about the newbie question. I need to suppress all bar lines > >> (except those explicit with /bar). I have tried adding > >> automaticBars, e.g.: > >> > >> \version "2.12.3" > >> \score { > >> > >> \new StaffGroup \relative c'' { > >> \set automaticBars = ##f > >> c4 d e c c d e c > >> c d e c c d e c c1 > >> } > >> } > >> > >> to a score, but this seems to have no effect. I am probably putting > >> it in the wrong place, or have the syntax wrong. Could some kind > >> soul give me an example. > >> > >> Richard. > >> ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> lilypond-user mailing list > >> lilypond-user@gnu.org > >> http://lists.gnu.org/mailman/listinfo/lilypond-user > > > > _______________________________________________ > > lilypond-user mailing list > > lilypond-user@gnu.org > > http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user