%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/utf-8.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Snippet Repository
%% (http://lsr.di.unimi.it).
%%
%% Make any changes in the LSR itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.23.13"

\header {
%% Translation of GIT committish: f11513f36c131dab18338d6a3a729e24a927150d
  texidocja = "
タイトルや歌詞における特殊文字は、UTF-8 エンコーディングで入力し、@c
Pango ベースのバックエンドを用いることで使用できます。@c
インストールされているフォントが対応しているかによりますが、このスニペットは@c
ブルガリア語 (キリル文字), ヘブライ語, 日本語, ポルトガル語を表示します。
"
  doctitleja = "UTF-8"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  texidocfr = "
Différents éléments textuels peuvent s'ajouter à la notation, comme des
titres ou des paroles, dès lors qu'ils sont encodés en UTF-8, grâce à un
moteur de rendu reposant sur Pango. Selon les fontes disponibles
devraient apparaître quatre lignes de texte : en bulgare (en
cyrillique), en hébreux, en japonais et en portugais.
"

  doctitlefr = "UTF-8"

%% Translation of GIT committish: 0c00cd98e81b27325bed5891b950fe7f0f0ebe5d
  texidoces = "
Se pueden usar varios sistemas de escritura para textos (como títulos
o la letra de las canciones) si se introducen en la codificación
UTF-8, y utilizando un motor basado en Pango.  Dependiendo de las
tipografías instaladas, este fragmento compone textos en Búlgaro
(cirílico), hebreo, japonés y portugués.

"
  doctitlees = "UTF-8"

%% Translation of GIT committish: 9c379d799d81429fff6392c639dffef526bd5db9
  texidocca = "
Es poden usar diversos sistemes d'escriptura per a textos (com ara
títols o la lletra de les cançons) si s'introdueixen amb la
codificació UTF-8, i utilitzant un motor basat en el
Pango. Depenent dels tipus de lletra instal·lats, aquest fragment
compon textos en búlgar (ciríl·lic), hebreu, japonès i portuguès.

"
  doctitleca = "UTF-8"

  lsrtags = "text"

  texidoc = "
Various scripts may be used for texts (like titles and lyrics) by
entering them in UTF-8 encoding, and using a Pango based
backend.  Depending on the fonts installed, this fragment will render
Bulgarian (Cyrillic), Hebrew, Japanese and Portuguese.
"

  doctitle = "UTF-8"
} % begin verbatim


%{
You may have to install additional fonts.

Red Hat Fedora

  linux-libertine-fonts (Latin, Cyrillic, Hebrew)
  google-noto-serif-jp-fonts (Japanese)

Debian GNU/Linux, Ubuntu

  fonts-linuxlibertine (Latin, Cyrillic, Hebrew)
  fonts-noto-cjk (Japanese)
%}

% 'Linux Libertine' fonts also contain Cyrillic and Hebrew glyphs.
\paper {
  #(define fonts
    (set-global-fonts
     #:roman "Linux Libertine O, Noto Serif CJK JP, Noto Serif JP"
   ))
}

bulgarian = \lyricmode {
  Жълтата дюля беше щастлива, че пухът, който цъфна, замръзна като гьон.
}

hebrew = \lyricmode {
  זה כיף סתם לשמוע איך תנצח קרפד עץ טוב בגן.
}

japanese = \lyricmode {
  いろはにほへど ちりぬるを
  わがよたれぞ  つねならむ
  うゐのおくや  まけふこえて
  あさきゆめみじ ゑひもせず
}

% "a nice song for you"
portuguese = \lyricmode {
  à vo -- cê uma can -- ção le -- gal
}

\relative c' {
  c2 d
  e2 f
  g2 f
  e2 d
}
\addlyrics { \bulgarian }
\addlyrics { \hebrew }
\addlyrics { \japanese }
\addlyrics { \portuguese }



% ****************************************************************
% end ly snippet
% ****************************************************************
