[This is a follow-up to a similar mail from July.]

Currently, it is not possible to directly use lilypond with CJK
lyrics -- I plan to fix this.

On the other hand, you can easily use CJK characters for lyrics with
lilypond-book.  The only drawback is that the syllable length for
lyrics is always based on the EC font metrics, even if the characters
are interpreted in a completely different way.  This will change in
the not too distant future.

Attached are the input files sakura-sakura.tex and
xiao-haizi-guai-guai.tex which demonstrate this.


    Werner
\documentclass[a4paper]{article}

\usepackage[cjkjis]{ucs}
\usepackage[C42,T1]{fontenc}
\usepackage[utf8]{inputenc}


\begin{document}

\fontfamily{min}

\begin{center}
\Large ããã ããã (Sakura, sakura)
\end{center}


\begin{lilypond}
\version "2.5.0"

melody = \relative c'' {
  a4 a b2 | a4 a b2 |
  a4 b c b | a4 b8[ a] f2 |
  e4 c e f | e4 e8[ c] b2 |
  a'4 b c b | a4 b8[ a] f2 |
  e4 c e f | e4 e8[ c] b2 |
  a'4 a b2 | a4 a b2 |
  d,4 e b'8[ a] f4 | e1 \bar "|."
}

text = \lyrics {
  ã ã ã ã ã ã
  ã ã ã ã ã ã ã
  ã ã ã ã ã ã ã
  ã ã ã ã ã ã ã
  ã ã ã ã ã ã ã
  ã ã ã ã ã ã
  ã ã ã ã ã
}

\score {
  <<
    \context Voice = one {
      \set Staff.autoBeaming = ##f
      \melody
    }
    \lyricsto "one" \new Lyrics \text
  >>
}
\end{lilypond}

\end{document}

% Local Variables:
% coding: utf-8
% End:

% EOF
\documentclass[a4paper]{article}

\usepackage{pinyin}
\usepackage[cjkbg5]{ucs}
\usepackage[C00,T1]{fontenc}
\usepackage[utf8]{inputenc}


\begin{document}

\fontfamily{bsmi}

\begin{center}
\Large åååää \fontfamily{cmr}(\Xiao3 \hai2\zi5 \guai1\guai1)
\end{center}

\begin{lilypond}
\version "2.5.0"

melody = \relative c'' {
  g4 c8 a g4 g |
  e4 g8 a g4 g |
  a4 g8 e d4 d |
  e4 g8[ e] d[ e] c4 |

  a'8 g a g e a g4 |
  e8 g e d c4 r |
  a8 c d e c4 r \bar "|."
}

text = \lyrics {
  å å å ä ä
  æ é å é é
  å é å é é
  æ è é ä

  ä é ä é ä è é
  ä æ å é ç
  ä è ä é ä
}

\score {
  <<
    \context Voice = one {
      \set Staff.autoBeaming = ##f
      \melody
    }
    \lyricsto "one" \new Lyrics \text
  >>
}
\end{lilypond}

\end{document}

% Local Variables:
% coding: utf-8
% End:

% EOF
_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to