bug-lilypond
[Top][All Lists]
Advanced

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

Re: Fonts included in all lilypond-book snippets


From: Mats Bengtsson
Subject: Re: Fonts included in all lilypond-book snippets
Date: Mon, 29 Jan 2007 10:35:01 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061206)

Then you have found yet another reason not to use the extra-offset
property. In general, LilyPond does not take extra-offset into account
when it handles collisions and apparently not when it calculates the
bounding boxes either. Better methods to obtain the same result are
described in a generic way in the section on "Vertical spacing inside
a system". The details for the case of ChordName or Lyrics contexts
can be found in the mailing list archives.

  /Mats

Georg Dummer wrote:
I think, I narrowed the problem down to the line:
\override Score.ChordName #'extra-offset = #'(0.0 . 1.5)

I use this sometimes for better readability if a song has lyrics above the
soprano voice.

Georg

-----Original Message-----
From: Mats Bengtsson [mailto:address@hidden Sent: Monday, January 29, 2007 9:05 AM
To: Georg Dummer
Cc: address@hidden
Subject: Re: Fonts included in all lilypond-book snippets

I can't repeat the problem here. Could you please send a small example including the input file.

Also, I hope you made sure to remove all temporary lily-* files when you switched from using --psfonts to --pdf.

  /Mats

Georg Dummer wrote:
I discovered a problem with this straight PDF "route". Some
(not all)
snippets are cropped at the top. The missing part is printed to the eps-part of the snippet that is not included in the tex-file.

Georg


Also, I would recommend to use
lilypond-book --pdf ...
pdflatex ...
instead of the latex + dvips + ps2pdf route. Actually, because of some bugs, the pdflatex version is the only one that works on Windows.

  /Mats
--
=============================================
        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
=============================================

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

\version "2.9.13"
melody = \relative c' {
  \clef treble
  \key c \major
  \time 4/4
f4 e8[ c] d4 g |
  a2 ~ a2 |
}

harmonies = \chordmode {
  c4:m f:min7 g:maj c:aug d2:dim b:sus
}

\score {
  <<
    \override Score.ChordName #'extra-offset = #'(0.0 . 1.5)
    \new ChordNames {
      \set chordChanges = ##t
      \harmonies
    }
    \new Staff \melody
  >>
  \layout{ }
}

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