Re: Introduction, and question on symbol placement

2011-11-07 Thread Peekay Ex
Hello,

On Mon, Nov 7, 2011 at 4:24 AM,  lilyp...@umpquanet.com wrote:
 Wow, what great software.  I've been looking for something
 like this, and am very glad to have found it.

 I use lilypond to write lead sheets.  I have a chart with a
 coda jump that occurs right after a second ending.  The coda
 symbol gets placed quite high above the staff, high enough to
 clear the second ending.

 Is there a way I can tweak the placement of the Coda symbol
 to bring it a little (or a lot) lower, and hopefully cause
 the software to spread the horizontal spacing a little to
 prevent crowding?  Even if it creates crowding, I'd like to
 learn how to tweak the 'altitude' of the Coda sign.

There are a few ways you could do this I guess.

Best place to start is here

http://lilypond.org/doc/v2.14/Documentation/notation/vertical-collision-avoidance

Regards

James

PS also take a look here

http://lsr.dsi.unimi.it/LSR/html/whatsthis.html

This often contains useful tweaks and hacks - although this is based
on the last 2.12 stable version the syntax hasn't changed *that* much
that most will still work with 2.14.x

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Introduction, and question on symbol placement

2011-11-07 Thread Federico Bruni

Il 07/11/2011 05:24, lilyp...@umpquanet.com ha scritto:

Is there a way I can tweak the placement of the Coda symbol
to bring it a little (or a lot) lower, and hopefully cause
the software to spread the horizontal spacing a little to
prevent crowding?


In order to spread the horizontal space a bit, you can use this:

\paper {
  ragged-last = ##f
}

This is more powerful:
\override Score.NonMusicalPaperColumn #'padding = #3


Notation Reference 4.5.3 shows other ways.

HTH,
Federico

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Chord symbols above staff

2011-11-07 Thread Steve Downes
I have been using the excellent jazzcombo template by Amelie Zapf,  I
am now doing my third fake sheet. So far just a bass staff  chords 
annotations above it. The first two,  all the examples in the
manuals, put the chords above the staff, where I want them. My third,
which I am working on now, puts the chords below the staff for no
reason I can spot. I have compared all manual examples I can find  my
previous fake sheets but can find no reason for this or a simple way
to reverse theis situation.

Any pointers please?

Steve 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chord symbols above staff

2011-11-07 Thread Steve Downes
On Mon, Nov 07, 2011 at 10:04:04AM +, Steve Downes wrote:
 I have been using the excellent jazzcombo template by Amelie Zapf,  I
 am now doing my third fake sheet. So far just a bass staff  chords 
 annotations above it. The first two,  all the examples in the
 manuals, put the chords above the staff, where I want them. My third,
 which I am working on now, puts the chords below the staff for no
 reason I can spot. I have compared all manual examples I can find  my
 previous fake sheets but can find no reason for this or a simple way
 to reverse theis situation.
 
 Any pointers please?
 
 Steve 

Further to above email the chords section is above the bass staff in
bo the the score section  the input section further up in all cases.

Steve

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chord symbols above staff

2011-11-07 Thread eluze
have a look at 'Vertically aligning ossias and lyrics' in  
http://lilypond.org/doc/v2.15/Documentation/notation/modifying-single-staves#ossia-staves


Eluze

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


How does lilypond choose fonts?

2011-11-07 Thread Frederick Bartlett
Hi!

I'm using lilypond 2.14.1 under CygWin 2.7, and have a large number of
fonts I've accumulated over the decades.

I have set up my lilypond files to use fonts I like in \paper:

  #(define fonts
(make-pango-font-tree Centaur MT
  ITC Eras
  Prestige Elite
   (/ myStaffSize 20)))

And this works exactly as expected, so long as I use standard ASCII
characters. Once I add Cyrillic (e.g., Был у Хри -- ста, мла -- ден -- ца
сад,), lilypond starts using Verdana.

I think I understand why -- the three old PFB fonts I selected don't
support Unicode. But I can't figure out how lilypond figured out that it
needed to override my font choice or how it chose the font it did
(Verdana). I would like to convince lilypond to use Times New Roman or
Garamond.

All clues gratefully received!
Thanks,
Fred



-- 
The things that make us happy make us wise.
-- John Crowley, Little, Big
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to change the stem-length?

2011-11-07 Thread David Nalesnik
Hi Harm,

On Sun, Nov 6, 2011 at 6:56 AM, harm6 thomasmorle...@googlemail.com wrote:

But when using it in a cross-staff
 example with kneed-beams, I've noticed a problem: Some stems are affected
 some not. Oddly enough, when changing the global-staff-size, I retrieve
 different results.


I don't have the answer to your question, but I have an observation.  The
function works significantly better when you use automatic beaming.
 Better, but not perfectly: as you will see, most but not all stems are
lengthened in the example.  There is other odd behavior, too.  When I
change the beatStructure line (in 2.15.16) to

\set Timing.beatStructure = #'(6 6 6 5 9)

the last stem of the third group is once again unaffected.

top = \change Staff = 1
bottom = \change Staff = 2

music = \relative c {
  \time 2/4
  \override Beam #'auto-knee-gap = #0
  \set Timing.baseMoment = #(ly:make-moment 1 64)
  \set Timing.beatStructure = #'(6 6 6 5 8 1)
  \override Beam #'stencil = #(stem-change 20)

  \bottom c32 g' \top eis''
  c b \bottom  g,
  \top e'' \bottom c,, \top  g''
  \bottom c,,64 \top g'' e' \bottom c,, \top  c''
  f,,32 f''' f,,, f'''
  s64
}

\score {
 \new PianoStaff 
   \new Staff = 1 {
 s2
   }
   \new Staff = 2 {
 \clef bass
 \music
   }
 
}

HTH,
David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How does lilypond choose fonts?

2011-11-07 Thread Werner LEMBERG

 I have set up my lilypond files to use fonts I like in \paper:

   #(define fonts
 (make-pango-font-tree Centaur MT
   ITC Eras
   Prestige Elite
(/ myStaffSize 20)))

 And this works exactly as expected, so long as I use standard ASCII
 characters. Once I add Cyrillic (e.g., Был у Хри -- ста, мла -- ден
 -- ца сад,), lilypond starts using Verdana.

 I think I understand why -- the three old PFB fonts I selected don't
 support Unicode.  But I can't figure out how lilypond figured out
 that it needed to override my font choice or how it chose the font
 it did (Verdana).  I would like to convince lilypond to use Times New
 Roman or Garamond.

Fallback fonts, this is, fonts not exactly set up by LilyPond, are
handled by the FontConfig library.  It seems that FontConfig's
searching algorithm finds Verdana before Times New Roman.

Two solutions:

  . Define a command, say, \russian, which sets up the proper font in
Lilypond.  This is what I recommend.

  . Fix FontConfig's configuration files.


  Werner

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


official way to have a MultiMeasureRest force appearance of a french-ed Staff

2011-11-07 Thread Kieren MacMillan
Hello all,

Situation:
Lilypond 2.15.x
Staff has been french-ed by \RemoveEmptyStaves
one particular MultiMeasureRest needs to be visible

What's the current best practice for doing this?
(At one point it was to mess with keep-alive-interfaces, but I know a lot of 
changes have been made in this area, so I thought there might now be a more 
elegant way.)

Thanks!
Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chord symbols above staff

2011-11-07 Thread Steve Downes
On Mon, Nov 07, 2011 at 01:17:12PM +0100, eluze wrote:
 have a look at 'Vertically aligning ossias and lyrics' in 
 http://lilypond.org/doc/v2.15/Documentation/notation/modifying-single-staves#ossia-staves
 
 Eluze
 


Sorted now, thanks very much for your help

Steve

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to change the stem-length?

2011-11-07 Thread m...@apollinemike.com

On Nov 6, 2011, at 4:56 AM, harm6 wrote:

 
 Hi,
 
 using a beam-stencil-override, I'd wish to adjust the stem-length within the
 beam-stencil-override. The following (boiled down) function works fine in
 most cases, even with kneed-beams. But when using it in a cross-staff
 example with kneed-beams, I've noticed a problem: Some stems are affected
 some not. Oddly enough, when changing the global-staff-size, I retrieve
 different results.
 
 

I love how that looks!!
I need to find a way to work it into a piece...

The function will be consistent if you hijack a different property.  To wit, 
quantized-positions.  By the time you call ly:beam::print, the stencil values 
for the stem may have already been cached, in which case they will not be 
recalculated for length.

Cheers,
MS

\version 2.15.16


#(set-global-staff-size 20)

#(define ((stem-change y) grob)
  (let ((pos (ly:beam::set-stem-lengths grob)))
 (begin
   (ly:grob-set-property! grob 'color red)
   (map 
 (lambda (n)
   (ly:grob-set-property! n 'length y))
 (ly:grob-array-list (ly:grob-object grob 'stems
  pos))

% Test

top = \change Staff = 1
bottom = \change Staff = 2

music = \relative c {

   \override Beam #'auto-knee-gap = #0

   \override Beam #'quantized-positions = #(stem-change 20)

\bottom c32[ g' \top eis'']
c[ b \bottom  g,]
\top e''[ \bottom c,, \top  g'']
\bottom c,,64[ \top g'' e' \bottom c,, \top  c'']
f,,32 [f''' f,,, f''']
}

\score {
 \new PianoStaff 
   \new Staff = 1 {
 s4 s8 s16
   }
   \new Staff = 2 {
 \clef bass
 \music
   }
  
}


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user