lilypond-user
[Top][All Lists]
Advanced

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

Re: Older bar type.


From: Tim Nowaczyk
Subject: Re: Older bar type.
Date: Mon, 5 May 2003 23:46:50 -0500
User-agent: Mutt/1.3.28i

  Well, here's a patch that does what I want, but I'd rather do this in
scheme in the header.  The included patch adds a new barline ":4|" that
creates the correct symbol.

  I'm trying to learn all this, but I've never used lisp before.  Here's the
scheme code I have so far.  I'm trying to override the ':|' symbol with
a custom one.

  #(define (brew-custom-barline grob)
   (if (string=? (ly:get-grob-property grob 'glyph) ":|" )
     '()
     (Bar_line::brew_molecule grob)
   )
 )

  Now, I need to replace the '() with something that creates some
molecules and puts them on the staff, but I'm stuck.  

  Does anyone have any pointers?

  Tim

 
-- 
----------Tim address@hidden
| <>< Truth
|
| GPG fingerprint = 1612 3E41 D649 63ED 222D  EB27 E84D 4274 392C A50A




reply via email to

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