[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a Lilypond-LaTeX font question
From: |
Dominic Neumann |
Subject: |
Re: a Lilypond-LaTeX font question |
Date: |
Mon, 14 Jan 2008 16:07:42 +0100 |
When I use Lilypond+LaTeX, both my TeX and ly files are written in
UTF-8 encoding. Therefore you should add the line
\usepackage[utf8]{inputenc}
into your LaTeX preamble. This works quite fine.
2008/1/14, Mats Bengtsson <address@hidden>:
> The main issue here is that LilyPond wants UTF-8 encoded input whereas
> standard LaTeX doesn't understand UTF-8. I know that there are packages to
> LaTeX, or maybe separate versions of the latex command that can handle
> UTF-8, but I don't know any details about these.
>
> One alternative, to handle this incompatibility with standard LaTeX is
> to use
> \lilypondfile{...} and write the LilyPond code in separate files that
> are saved in
> UTF-8 encoding, whereas the main LaTeX file is kept in Latin1 encoding or
> whatever you normally use for your LaTeX files.
>
> /Mats
>
> James E. Bailey wrote:
> > I'm new to LaTeX, but not lilypond. I'm using TeXShop, and I'm getting
> > some not really desired output.
> >
> > \begin{document}
> > \begin{lilypond}
> >
> > \version "2.11.36"
> > \include "deutsch.ly"
> > \header { title = "Beauty—be not caused—It Is—" instrument =
> > "Querflöte" }
> >
> > {c'2 fis'4 h'8 a'}
> >
> > \end{lilypond}
> >
> > \end{document}
> >
> >
> > I don't get the umlauts and I don't get the characters after my em
> > dashes. I'm assuming that LaTeX doesn't like getting em dashes input,
> > but how do I get lilypond to process the em dash inside of LaTeX? Same
> > thing for the umlaut?
> >
> > _______________________________________________
> > lilypond-user mailing list
> > address@hidden
> > http://lists.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/~mabe
> =============================================
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>