lilypond-user
[Top][All Lists]
Advanced

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

Re: Space between beams?


From: Mats Bengtsson
Subject: Re: Space between beams?
Date: Fri, 06 Feb 2004 10:07:41 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

If you read the source code of the function Beam::get_beam_translation
in ly/beam.cc, you'll see that this distance is hard-coded at the
moment.

  /Mats

donald_j_axel wrote:

   What is the name of the variable for the distance between
beam-lines?

   If there is such a variable it would improve the engraving
on which I am working, Chopin op. 28.1. I could need it for several other pieces too.

   The example shows the beams of the inner voice just keeping
distance from notes/lines, and all is well. It would be even
better with smaller beams, though. I tried \property Voice.fontSize = #-1
but that makes noteheads smaller too.

   I hope this is not too much of a beginner/FAQ question,
I have tried to find examples but cannot - maybe there isn't
and then that would be nice to know.


% force direction of stems
u = \stemUp
d = \stemDown
b = \stemBoth

% explicit staff change
su = \notes{ \translator Staff = upper}
sd = \notes{ \translator Staff = lower}

  %bar 5
  \times 2/3 {r16 \su \u e'    a'  }
  \once \property Voice.NoteColumn \set #'horizontal-shift = #1
  \once \property Voice.Beam \override #'thickness = #0.34
  \once \property Voice.Beam \override #'positions = #'( 2.1 . -0.4)
  %% no, no. \once \property Voice.fontSize = #-1
  \times 2/3 {   c'' a'        d'  }  |


   Regards
   /Donald



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


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

_______________________________________________
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]