lilypond-user
[Top][All Lists]
Advanced

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

Re: more Scandinavian


From: Mats Bengtsson
Subject: Re: more Scandinavian
Date: Mon, 25 Nov 2002 17:14:52 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

The problem is that the TeX code that Lilypond outputs uses low-level
TeX font selection commands, not the NFSS font selection scheme of
LaTeX2e. As long as you don't have any national characters in the
actual music (lyrics or text scripts), it will work fine to use
the fontenc package to specify the T1 encoding. If you have 8bit
characters in lyrics, say, that don't exist in the default OT1
encoding, you could manually tell Lilypond to use the T1 encoded
version of the font using
\paper{
  \translator{
    \ScoreContext
    LyricText  \override #'font-name = #"ecrm1000"
  }
}

The disadvantage of this solution is that you override the
normal font selection mechanism in Lilypond, so the size,
or weight of the font isn't set the ordinary way.
Also, ly2dvi will not give you the necessary
\usepackage[T1]{fontenc} line.

See also http://mail.gnu.org/pipermail/lilypond-user/2002-April/001078.html

  /Mats


David Bobroff wrote:
When I saw the "Scandinavian characters" subject line I thought I would
hear of a solution for my problem.  It didn't.  So I tried a search on
lilypond.org for "t1" and found this:

If you use lilypond-book or your own wrapper files, don't use
\usepackage[[T1]{fontenc} in the file header but don't forget
\usepackage[latin1]{inputenc} if you use any other non-anglosaxian
characters.
Now does that mean that I must use lilypond-book for my score and put,

\usepackage[latin1]{inputenc}

in the preamble?  The character I need to use is not simply an accented
vowel but is the Icelandic eth (ð), or \char240.  Is there not a switch in
Lilypond for using the latin1 charset or is it done only with LaTeX via
lilypond-book?

Thanks,

David Bobroff


_______________________________________________
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/~matsb
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]