lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: double bar at beginning


From: Mats Bengtsson
Subject: Re: double bar at beginning
Date: Mon, 06 Oct 2003 14:14:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

It should be possible to redefine the function
default-break-barline in your own input file, but when I
tried to just insert a new definition, the one from
output-lib.scm was still used.

How can these functions be redefined in the user files?

   Mats

José Luis Cruz wrote:
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:


Well, thanks for your reply. Changing the order enables the use of \bar ".|" at the beginning of 
the staff, yes. Great, that is perfect for another thing that i had also in mind, but what i really want in 
this case is to use a double bar "||" instead of the bar ".|" Is it possible?


I search the effect of a few compasses which starts with a \bar "||" and ends with a \bar 
"||" I didn't think it would be so complicated :o|


||------|------|------||
||------|------|------||
||------|------|------||
||------|------|------||
||------|------|------||
||------|------|------||



Thanks and regards,

José Luis Cruz


A Fri, 03 Oct 2003 14:03:23 +0200
Mats Bengtsson <address@hidden> escribió:


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
  )


   Mat

s


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

_______________________________________________
Lilypond-user mailing list
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]