Re: Again Fontsizes in stanzas

2007-06-16 Thread Sebastian Menge

On Sun, 17 Jun 2007, Mats Bengtsson wrote:

However, it's easy to adjust the font size used for Lyrics
in LilyPond, for example adding
\layout{
\context{
  \Lyrics
  \override LyricText #'font-size = #+3.5
}
}

Then, you can use trial and error to match the size to
your document.


Thanks for your precise answer. But im somehow unhappy with "trial and
error, when doing type-setting. To have one setting that controls all
the text (or music) of one kind, is the major strength of good type setting
systems.

So when I embed music into text, I somehow want to pass my text settings
to the music. Some things work already (indent, linewidth). But fontsize
would be a nice option for \lilypondfile, infact the whole set of
options should be "broadened" to use more latex settings inside
lilypond.

Ah, i'm getting into development stuff again... (always
happens to me when thinking about howto improve programs I only use :-)
)

Thanks, Sebastian.


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


Re: Again Fontsizes in stanzas

2007-06-16 Thread Mats Bengtsson

Sebastian Menge wrote:


Hi

I'm still looking for a way to fit latex fonts with lilypond fonts for
stanzas.

So heres what I do: include a lilypond snippet in my latex file, add
more stanzas below it with latex.

Someone here suggested to use newcent as latex font. I do that and the
fonts seem to to be the same, but not the sizes. :-/

I can enlarge the whole staff using the staffsize option, but i want the
_same_ fontsize as in latex. (e.g. \large)


The definition of \large in LaTeX depends on the main font size
used in your document. For example, you get different sizes if you
have
\documentclass[12pt]{article}
or
\documentclass[10pt]{article}
and to figure out exactly what size is used, you may have to
look into the source code of LaTeX.

Similarly, the font size used in LilyPond is determined relative
to the main staff size and again you may have to look into the
source code to figure out exactly what number is used in a
particular situation.

However, it's easy to adjust the font size used for Lyrics
in LilyPond, for example adding
\layout{
 \context{
   \Lyrics
   \override LyricText #'font-size = #+3.5
 }
}

Then, you can use trial and error to match the size to
your document.



How can I do that? If thats to complicated in lilypond, what is the font
lilypond uses, so i can change the latex font accordingly?


This is exactly what
\usepackage{newcent}
does! Of course, with the exception of the font size, as you
already have noticed.

Of course, an alternative solution for you is to typeset the
additional stanzas as standalone \markup blocks in your
LilyPond code. See the section "Printing stanzas at the end"
in the LilyPond manual. This is probably much easier.

  /Mats



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