Re: opening Ly-files

2007-06-19 Thread Valentin Villenave

2007/6/19, Hombergh Henri van den GTZ VN <[EMAIL PROTECTED]>:


Thanks Valentin, but I do not need the score, I need the individual parts so 
that we (a small amateur quartet here in Hanoi, Vietnam, can play without 
having to turn the page every 30 seconds. So if you have time, please teach me 
how to download from Mutopia.com the individual parts.



Of course; as a pianist, I hadn't thought at all that you might want
to print the individual parts!
My bad.

The point is: music expressions which are defined as an identifier, as
I told you:
instrumentName = {music...}
...can't be compiled "as is".
The easiest solution would be to edit each file, and delete what comes
before the opening curly brace (the instrumentName, and the equal
sign):
{ music...}

Another solution, somehow more elaborate, is to rewrite the main
"QuartetOpus18_No4_1.ly" file, to make *four* \score blocs instead of
one single. It might become something like:




\include "violinoone.ly"
\include "violinotwo.ly"
\include "viola.ly"
\include "cello.ly"

\header {
 title = "Quartet No. 4 in C Minor - Opus 18 No. 4"
 subtitle = "Allegro ma non tanto"
 composer = "Ludwig van Beethoven"
}

\book {

   \score{
   \new Staff {
\set Staff.instrumentName = "Violino 1"
\violinoone  \pageBreak } }

\score{
   \new Staff {
\set Staff.instrumentName = "Violino 2"
\violinotwo \pageBreak } }

\score{
   \new Staff {
\set Staff.instrumentName = "Viola"
\viola \pageBreak } }

\score{
   \new Staff {
\set Staff.instrumentName = "Violoncello"
   \cello }
   }
}

%%%

I hope this will help you (it should work for the other movements as
well); and as Mats already told you, I strongly advise you to read our
tutorial as soon as you can, to fully understand how LilyPond works;
then you'll be able not only to print your parts the way you like, but
also to contribute yourself to Mutopia, or improve the existing
scores. I can assure you the Lilypond community will be very pleased
to welcome you!

Regards,
Valentin


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


RE: opening Ly-files

2007-06-19 Thread Hombergh Henri van den GTZ VN
Dear Colleagues,
 
you have convinced me! I need to dive into the documentation and the tutorial 
of Lilypond. Obvioulsy no easy shortcuts here to quickly get my individual 
parts. I do appreciate your cordial and frank replies!!
 
If in Hanoi, do call, we will make or listen to music together, plenty  options 
here.
 
Henri



From: Valentin Villenave [mailto:[EMAIL PROTECTED]
Sent: Tue 19.06.2007 09:54
To: Hombergh Henri van den GTZ VN; lilypond-user
Subject: Re: opening Ly-files



2007/6/19, Hombergh Henri van den GTZ VN <[EMAIL PROTECTED]>:

> Thanks Valentin, but I do not need the score, I need the individual parts so 
> that we (a small amateur quartet here in Hanoi, Vietnam, can play without 
> having to turn the page every 30 seconds. So if you have time, please teach 
> me how to download from Mutopia.com the individual parts.


Of course; as a pianist, I hadn't thought at all that you might want
to print the individual parts!
My bad.

The point is: music expressions which are defined as an identifier, as
I told you:
instrumentName = {music...}
...can't be compiled "as is".
The easiest solution would be to edit each file, and delete what comes
before the opening curly brace (the instrumentName, and the equal
sign):
{ music...}

Another solution, somehow more elaborate, is to rewrite the main
"QuartetOpus18_No4_1.ly" file, to make *four* \score blocs instead of
one single. It might become something like:




\include "violinoone.ly"
\include "violinotwo.ly"
\include "viola.ly"
\include "cello.ly"

\header {
  title = "Quartet No. 4 in C Minor - Opus 18 No. 4"
  subtitle = "Allegro ma non tanto"
  composer = "Ludwig van Beethoven"
}

\book {

\score{
\new Staff {
 \set Staff.instrumentName = "Violino 1"
 \violinoone  \pageBreak } }

\score{
\new Staff {
 \set Staff.instrumentName = "Violino 2"
\violinotwo \pageBreak } }

\score{
\new Staff {
 \set Staff.instrumentName = "Viola"
\viola \pageBreak } }

 \score{
\new Staff {
 \set Staff.instrumentName = "Violoncello"
\cello }
}
}

%%%

I hope this will help you (it should work for the other movements as
well); and as Mats already told you, I strongly advise you to read our
tutorial as soon as you can, to fully understand how LilyPond works;
then you'll be able not only to print your parts the way you like, but
also to contribute yourself to Mutopia, or improve the existing
scores. I can assure you the Lilypond community will be very pleased
to welcome you!

Regards,
Valentin



Deutsche Gesellschaft fuer Technische Zusammenarbeit (GTZ) GmbH; Sitz der 
Gesellschaft/Registered Office Eschborn/Taunus, Germany; 
Registergericht/Registered at Amtsgericht Frankfurt am Main, Germany; 
Eintragungs-Nr./Registration no. HRB 12394; Vorsitzender des 
Aufsichtsrates/Chairman of the Supervisory Board: Erich Stather, State 
Secretary; Geschaeftsfuehrer/Managing Directors: Dr. Bernd Eisenblaetter, 
Wolfgang Schmitt 


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


Re: SVG previews

2007-06-19 Thread Keenan Pepper

On 6/18/07, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:

Just upload the png. There are no SVG renderers that usefully handle
lily output for this case. Until firefox/inkscape gets proper SVG font
support, SVG files won't show music glyphs, except if you have the right
version of our music font already installed as OTF font.


"Just upload the png" is not an acceptable solution. I can eliminate
the font dependency by performing "Object to Path" in Inkscape, so I
guess I just have to crop it manually in Inkscape as well.

Still, I shouldn't getting Scheme syntax errors from running Lilypond
on a valid input file. Syntax errors indicate a bug that should be
fixed.

Keenan


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


Re: Decorated scores

2007-06-19 Thread Arjen Bax
Helge Kruse  gmx.net> writes:


> for some ornaments this sounds great. Even if this a bit offtopic, I dont 
> have a program to convert a bitmap graphic (TIFF, JPG,...) to EPS. Does 
> anbody knows any program that runs with Windows XP?

ImageMagick is a set of command-line image-manipulating tools. As you are using
lilypond, this should pose no problem to you. The binary distribution can be
downloaded here: http://www.imagemagick.org/script/binary-releases.php#windows .



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


Re: lyrics font size

2007-06-19 Thread Kieren MacMillan

Hello!


How can I set the size of the staves and the lyrics independently?


Use

\override Score.LyricText #'font-size = #0.8

and set the last number as you need (default is 1).

Hope this helps!
Kieren.




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


Downstroke and Upstroke symbol for guitar

2007-06-19 Thread joeyc

Hi,

Is it possible to insert downstroke and upstroke strum symbols with
Lilypond?

thanks,
jc
-- 
View this message in context: 
http://www.nabble.com/Downstroke-and-Upstroke-symbol-for-guitar-tf3946887.html#a11196283
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Double Staff Tablature - No Stems is the Norm

2007-06-19 Thread joeyc

Hi,

In the guitar section of the manual, all the examples of tab have stems with
the numbers.  In double staff guitar tab, where you have notation on top and
tab below, this is rarely if ever seen.  It is usually only the numbers on
the tab staff.

So my questions are ...
1.) Is it possible to remove the stems from the tab staff? 
2.) If possible, and since this is the norm, shouldn't the solution be added
to the guitar section of the manual?


thanks,
jc
-- 
View this message in context: 
http://www.nabble.com/Double-Staff-Tablature---No-Stems-is-the-Norm-tf3946846.html#a11196162
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: lyrics font size

2007-06-19 Thread vwf
On Tue, Jun 19, 2007 at 11:32:07AM -0400, Kieren MacMillan wrote:
> Hello!
> 
> >How can I set the size of the staves and the lyrics independently?
> 
> Use
> 
> \override Score.LyricText #'font-size = #0.8
> 
> and set the last number as you need (default is 1).

Unfortunately, this does not work with the pango-fonts, only with 
the default CM fonts.

Thanks anyway!


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


Re: lyrics font size

2007-06-19 Thread Mats Bengtsson

Quoting vwf <[EMAIL PROTECTED]>:


On Tue, Jun 19, 2007 at 11:32:07AM -0400, Kieren MacMillan wrote:

Hello!

>How can I set the size of the staves and the lyrics independently?

Use

\override Score.LyricText #'font-size = #0.8

and set the last number as you need (default is 1).


Unfortunately, this does not work with the pango-fonts, only with
the default CM fonts.


No! The default fonts are not CM but Century Schoolbook and it 
certainly should work with any pango-fonts. Try for example:


\paper  {
 myStaffSize = #20

 #(define fonts
   (make-pango-font-tree "Freestyle script"
 "Freestyle script"
 "Freestyle script"
  (/ myStaffSize 20)))
}

\relative c' {c d }
\addlyrics { ABCDE \override LyricText #'font-size = #+5 ABCDE }

I also noted that you had played around with several numbers. The idea
is that the value of myStaffSize should correspond to the staff size
used for the music, for example
#(set-global-staff-size 15)
\paper{
 myStaffSize = #15
 ...
}
and you shouldn't touch the last argument of make-pango-font-tree, 
where (/ myStaffSize 20) simply is Scheme syntax to calculate

the value of myStaffSize divided by 20, which normally will lead
to a good match between the music and the text fonts. Of course, if you 
find that the result is consistently too small or large for

a particular font, then you can change one of these values, but it
doesn't make sense to change both (I would change myStaffSize and
keep the division by 20).

  /Mats



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


Re: Double Staff Tablature - No Stems is the Norm

2007-06-19 Thread Mats Bengtsson

You can easily remove the stems:
\new TabStaff {
 \override Stem #'transparent = ##t
  a,4\5 c'\2 a\3 e'\1
  e\4 c'\2 a\3 e'\1
}

I no nothing about the notation practice for tab staff, but if you are 
certain that this is common enough to deserve a place in the 
documentation, please see 
http://lilypond.org/web/devel/participating/documentation-adding

or add an example to the LSR.

  /Mats

Quoting joeyc <[EMAIL PROTECTED]>:



Hi,

In the guitar section of the manual, all the examples of tab have stems with
the numbers.  In double staff guitar tab, where you have notation on top and
tab below, this is rarely if ever seen.  It is usually only the numbers on
the tab staff.

So my questions are ...
1.) Is it possible to remove the stems from the tab staff?
2.) If possible, and since this is the norm, shouldn't the solution be added
to the guitar section of the manual?


thanks,
jc
--
View this message in context: 
http://www.nabble.com/Double-Staff-Tablature---No-Stems-is-the-Norm-tf3946846.html#a11196162

Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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







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


Re: Double Staff Tablature - No Stems is the Norm

2007-06-19 Thread Joey Coyle

Thanks Mats,

In this example, where would you place the  \override Stem  
#'transparent = ##t, as I can't get it to work.  But I can get your  
example to create a single staff...


partition =  {
  \key e \major
  
  
  <>
  \5\4
}


\context StaffGroup <<
  \context Staff <<
\clef "G_8"
\partition
  >>
  \context TabStaff
 <<
\partition
  >>
>>

thanks,
joey



On Jun 19, 2007, at 2:27 PM, Mats Bengtsson wrote:


\new TabStaff {
 \override Stem #'transparent = ##t
  a,4\5 c'\2 a\3 e'\1
  e\4 c'\2 a\3 e'\1
}


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


hyphen, slur vs. lyrics

2007-06-19 Thread [EMAIL PROTECTED]

Hi allz,

I've a problem with the "attached" pics/souces.

Tried to find solving in the archive but couldn't find the exact
problem's solve.

notes:
#
|  << { e4( d~ d8) } \\ { g,2~ g8 } >> r8 r4 | r4 a\p-> |

lyrics
#1 http://koboldnet.hu/~pasic/lyrics_01.png
Play | on, Hal -- lelu
#2 http://koboldnet.hu/~pasic/lyrics_02.png
Play | on, Hal -- le -- lu

how can i solve it?

thanks,
--
Üdv: [EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Double Staff Tablature - No Stems is the Norm

2007-06-19 Thread Mats Bengtsson

Since you probably want to keep the stems in the ordinary
note staff, you could do it in
\context TabStaff
<<
   \override ...
   \partition
 >>

An alternative is to specify that you want this setting in all TabStaff 
contexts in your .ly file, by inserting

\layout{
 \context{
   \TabStaff
   \override ...
 }
}
somewhere at the top level of the file.

  /Mats

Quoting Joey Coyle <[EMAIL PROTECTED]>:


Thanks Mats,

In this example, where would you place the  \override Stem  
#'transparent = ##t, as I can't get it to work.  But I can get your  
example to create a single staff...


partition =  {
  \key e \major
  
  
  <>
  \5\4
}


\context StaffGroup <<
  \context Staff <<
\clef "G_8"
\partition
  >>
  \context TabStaff
 <<
\partition
  >>
>>

thanks,
joey



On Jun 19, 2007, at 2:27 PM, Mats Bengtsson wrote:


\new TabStaff {
 \override Stem #'transparent = ##t
  a,4\5 c'\2 a\3 e'\1
  e\4 c'\2 a\3 e'\1
}









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


Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Germain G. Ivanoff-Trinadtzaty
Thank you Rune,

Your trick is just ...fine !
It looks very promising. I'm not sure I understand its _exact_
behaviour, or LilyPond's behaviour towards text layout tweaks,
but I post hereby the results of my investigations, starting
with your snippet.
Please have a look at the following source : I ask some questions
in the comments.

Oh, this _text_ layout issue may not be "hot" for _music_ typesetters ?
Anyway, I hope someone (many!) is involved in these artistic
considerations.

Best regards,
Germain

%%% begin source %%%
\version "2.11.26" %(windows)
%%% Illustration to the thread "Re:[layout tweaks] 1. fill-line"
%%% Germain G.I.T. (19.06.2007)
%%% (better read with a fixed point font !)

\header

{
% First version :

myIndex = "№ 210"
myGap = #8.0
myTitle = "|AZERTYUIOP|"
mySubtitle = "|AZERTYUIOP|"

% Here, the 'title' is output _almost_ at the center of the page
% (with a little shift to the right) while the 'index' is put
% 'gap' spaces away from 'title', on the left side.
% => Is it possible to hit the _exact_ center for 'title' ?
% => By the way, how to specify 'gap' in millimeters ?

title = \markup \large \fill-line { \line {
% '\large' is only used to highlight 'title' position
% with respect to 'subtitle' pos.
\with-dimensions #'(0 . 0) #'(0 . 0)
\right-align \fromproperty #'header:myIndex
\hspace #myGap
\fromproperty #'header:myTitle
\hspace #myGap
% if the next line is missing, 'subtitle' (second version)
% will not  with 'title' (*)
\right-align " "
}}
 
% I pointed you at a strange ...feature(?)...
% in the first message of this thread :
% "[layout tweaks] 1. fill-line"
% Indeed, the next two lines are not equivalent.
% Here, the second line is better than the first,
% but still doesn't _center_ the 'subtitle' on the page
% (it puts it the same way as the 'title')

% exact center :
%   subtitle = #mySubtitle

% a bit shifted to the right ; hits the same "center point"
% than 'title' when (*) is inserted. (by chance ?)
subtitle = \markup \fill-line { \fromproperty #'header:mySubtitle }
}

%{
% Second version :

% This version produces _bad_ output.
% (uncomment the outside brackets to test it)
% (and don't forget to comment out the first version, above)
% => Is it possible to use "center-align" there ?

myIndex = "№ 210"
myGap = #8.0
myTitle = "|AZERTYUIOP|"
mySubtitle = "|AZERTYUIOP|"

title = \markup \large \fill-line { \line {
\with-dimensions #'(0 . 0) #'(0 . 0)
\right-align \fromproperty #'header:myIndex
\hspace #myGap
\center-align {
\fromproperty #'header:myTitle
\fromproperty #'header:mySubtitle
}
\hspace #myGap
}}
 
% highlight the _real_ center :
subtitle = #mySubtitle
%}

\score {c''} 
\layout{}
%%% end source %%%
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: hyphen, slur vs. lyrics

2007-06-19 Thread Mats Bengtsson

Read the section on "Explicitly instantiating voices" to realize
what the << {...} \\ {...} >> does exactly. Since it creates
two new Voice contexts, your \lyricsto will skip the full polyphonic
section. The simple workaround is to instantiate the extra Voice
yourself:

|  << { \voiceOne e4( d~ d8) } \new Voice { \voiceTwo g,2~ g8 } >>
\oneVoice r8 r4 | r4 a\p-> |

  /Mats

Quoting "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>:


Hi allz,

I've a problem with the "attached" pics/souces.

Tried to find solving in the archive but couldn't find the exact
problem's solve.

notes:
#
|  << { e4( d~ d8) } \\ { g,2~ g8 } >> r8 r4 | r4 a\p-> |

lyrics
#1 http://koboldnet.hu/~pasic/lyrics_01.png
Play | on, Hal -- lelu
#2 http://koboldnet.hu/~pasic/lyrics_02.png
Play | on, Hal -- le -- lu

how can i solve it?

thanks,
--
Üdv: [EMAIL PROTECTED]







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


Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Rune Zedeler

Germain G. Ivanoff-Trinadtzaty wrote:

Thank you Rune,


You are welcome.


% Here, the 'title' is output _almost_ at the center of the page
% (with a little shift to the right) while the 'index' is put
% 'gap' spaces away from 'title', on the left side.


Oh yeah, you are right.
This is caused by lilypond inserting "word-space" whitespace between 
objects even if you force them to zero width.


This title-definition gives the desired result.
The "myGap" is in staff spaces, that are 1/4 of the staff size. I.e. in 
20 pt staff, each unit is 5 pts. I am not sure, how the "right way" is 
to convert this to centimetres from within the header-block.


title = \markup {
  \override #`(word-space . ,myGap)
  \fill-line { \line {
\with-dimensions #'(0 . 0) #'(0 . 0)
  \right-align \fromproperty #'header:myIndex
\fromproperty #'header:myTitle
\with-dimensions #'(0 . 0) #'(0 . 0) \strut
}}}

-Rune


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


Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Germain G. Ivanoff-Trinadtzaty
Instant reply ! Well done !

I'll find a way to convert spaces to mm.
So \hspace disappeared. But \struts appeared !
Having a look at lily's help ; well it deals with _height_ of a box.
Here is probably the last improvement to be done.
Indeed, 'myTitle' and 'mySubtitle' are still misaligned...

Am I boring you with this insignificant detail ?
(well ...this programming challenge ?)

Germain

%%%

\version "2.11.26"
\header
{
myIndex = "№ 210"
myGap = #8.0
myTitle = "|AZERTYUIOP|"
mySubtitle = "|AZERTYUIOP|"

title = \markup \large {
\override #`(word-space . ,myGap)% what is it for a comma ?
\fill-line { \line {
\with-dimensions #'(0 . 0) #'(0 . 0)
\right-align \fromproperty #'header:myIndex
\fromproperty #'header:myTitle
%   \with-dimensions #'(0 . 0) #'(0 . 0) \strut% almost done
%   \with-dimensions #'(0 . ,myGap) #'(0 . 0) \strut   % doesn't compile
%   \with-dimensions #'(0 . 8) #'(0 . 0) \strut% bad
%   \with-dimensions #'(0 . 0) #'(0 . 0) ""% (myGap spaces) no
\with-dimensions #'(0 . 0) #'(0 . 0) " "   % still missing smthg
}}}

% exact center :
subtitle = #mySubtitle
}
\score {c''} 
\layout{}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Rune Zedeler

Germain G. Ivanoff-Trinadtzaty wrote:


So \hspace disappeared. But \struts appeared !


Yeah, a strut is just something that is invisible.
I don't understand why the with-dimension-thing in front of the strut is 
neccesary - it should be infinitely thin already.



Indeed, 'myTitle' and 'mySubtitle' are still misaligned...


I would consider this a bug.
I have reported it on the bug-list.


Am I boring you with this insignificant detail ?


No ofcourse not.
Part of typesetting music is typesetting the text that describes it.

-Rune


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


Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Rune Zedeler

Sorry I missed the simple solution.
This one REALLY should work :-)

\version "2.10.1"
\header
{
myIndex = "No 210"
myGap = #8.0
myTitle = "|AZERTYUIOP|"
mySubtitle = "|AZERTYUIOP|"


title = \markup {
  \override #`(word-space . ,myGap)
  \line \large {
\with-dimensions #'(0 . 0) #'(0 . 0)
  \right-align \fromproperty #'header:myIndex
\fromproperty #'header:myTitle
\with-dimensions #'(0 . 0) #'(0 . 0) \strut
}}

subtitle = #mySubtitle
}

\score {c''}
\layout{}


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


Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Germain G. Ivanoff-Trinadtzaty

Again, thank you for responsiveness, and sharing knowledge.


Part of typesetting music is typesetting the text that describes it.


Indeed. And I have (surprised ?) a couple of questions on this topic.
Starting with my past post/request : "[layout tweaks] 2. \justify, 
hyphenation, shift"

but not only.
(it will be question of diacritics rendering, Pango version, uniscribe, etc)

Germain 




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


Re: [layout tweaks] 1. fill-line

2007-06-19 Thread Germain G. Ivanoff-Trinadtzaty

SIMPLER IS BETTER !!!  :))

Challenge overcome.
I don't remember why I started to play with \fill-line.
By the way, I learned much more Lily syntax.

ciao,
Germain


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


Re: lyrics font size

2007-06-19 Thread vwf
On Tue, Jun 19, 2007 at 08:22:28PM +0200, Mats Bengtsson wrote:
> Quoting vwf <[EMAIL PROTECTED]>:
> 
> >On Tue, Jun 19, 2007 at 11:32:07AM -0400, Kieren MacMillan wrote:
> >>Hello!
> >>
> >>>How can I set the size of the staves and the lyrics independently?

> >>\override Score.LyricText #'font-size = #0.8

> >Unfortunately, this does not work with the pango-fonts, only with
> >the default CM fonts.
> 
> No! The default fonts are not CM but Century Schoolbook and it 
> certainly should work with any pango-fonts. 

Oh, didn't notice. I'm using two likypond versions: an old one for old
source I have, and the latest stable for music with lyrics.

> I also noted that you had played around with several numbers. The idea
> is that the value of myStaffSize should correspond to the staff size
> used for the music, for example
> #(set-global-staff-size 15)
> \paper{
>  myStaffSize = #15
>  ...
> }
> and you shouldn't touch the last argument of make-pango-font-tree, 
> where (/ myStaffSize 20) simply is Scheme syntax to calculate
> the value of myStaffSize divided by 20, which normally will lead
> to a good match between the music and the text fonts. Of course, if you 
> find that the result is consistently too small or large for
> a particular font, then you can change one of these values, but it
> doesn't make sense to change both (I would change myStaffSize and
> keep the division by 20).

I think I start to understand the system. If I make all three the same,
I do not like the result. By playing with the number I got a nice layout.

Thanks



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