There are two issues involved here:

- At line breaks, you often don't want the same bar type at the end of a
  line and at the beginning of the next line. For example, if you have a
  "|:", it should only be printed at the beginning of the next line and
  not at the end of the previous line. LilyPond has built-in rules about
  these things, see the end of /usr/share/lilypond/*/scm/output-lib.scm.
  For example, a "||" is split into a "||" at the end of the first line
  and nothing at all at the beginning of the next line.
  What you probably want is \bar ".|".

- LilyPond also knows about common typesetting practice when it comes
  to the order of clefs, time signatures, bar lines and so on at the
  beginning of the line. If you want to break the common typesetting
  rules and put the ".|" at the beginning of the line, you could easily
  change the order using:
\property Score.breakAlignOrder = #'(
          instrument-name
          left-edge
          staff-bar  ; Between clef and key-signature by default
          ambitus
          breathing-sign
          clef
          key-signature
          time-signature
          custos
  )


Mats


José Luis Cruz wrote:
Hello list,


Does anybody knows how to put a double bar at the beginning of the Staff? The nearest that i have approached to solution is this:


\score{
  \notes{
    \partial 256 s256 \bar"||" c'1 | e'1 | f'1 | s1 \bar"||"

  }
\paper{
  raggedright = ##t
  \translator {
    \StaffContext
    \remove "Clef_engraver"
    \remove "Time_signature_engraver"
  }
}
}


But this is not good loooking. How could i enable the visibility of the first bar, without being any notes before it? :S



Thanks a lot, José Luis



------------------------------------------------------------------------


_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================



_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to